]> granicus.if.org Git - llvm/commit
[Loop Peeling] Fix silly bug in metadata update.
authorSerguei Katkov <serguei.katkov@azul.com>
Thu, 22 Aug 2019 10:06:46 +0000 (10:06 +0000)
committerSerguei Katkov <serguei.katkov@azul.com>
Thu, 22 Aug 2019 10:06:46 +0000 (10:06 +0000)
commit03e7d3ca93a6de90f8b1ce760a36fcb5667097b7
treed00310a9b20eb07929bd2174fda3d1a5f2d12192
parent046a919d62fc1b7646a589fb75045163ce35086e
[Loop Peeling] Fix silly bug in metadata update.

We must update loop metedata before we moved to parent loop if
it is present.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369637 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/LoopUnrollPeel.cpp
test/Transforms/LoopUnroll/peel-loop-inner.ll [new file with mode: 0644]