aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorCongzhe Cao <congzhe.cao@huawei.com>2022-01-06 15:46:48 -0500
committerCongzheUalberta <congzhecao@gmail.com>2022-01-06 15:56:32 -0500
commitc251bfc3b9de2b18abbb9c34762e08d2ee3975f8 (patch)
treeee8ca6af022a6643070d0a0b448f76e4f8209022 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent9b1d27b2fa727a3a6f53a803d75beed50a1be999 (diff)
downloadllvm-c251bfc3b9de2b18abbb9c34762e08d2ee3975f8.zip
llvm-c251bfc3b9de2b18abbb9c34762e08d2ee3975f8.tar.gz
llvm-c251bfc3b9de2b18abbb9c34762e08d2ee3975f8.tar.bz2
[LoopInterchange] Remove a limitation in LoopInterchange legality
There was a limitation in legality that in the original inner loop latch, no instruction was allowed between the induction variable increment and the branch instruction. This is because we used to split the inner latch at the induction variable increment instruction. Since now we have split at the inner latch branch instruction and have properly duplicated instructions over to the split block, we remove this limitation. Please refer to the test case updates to see how we now interchange loops where instructions exist between the induction variable increment and the branch instruction. Reviewed By: bmahjour Differential Revision: https://reviews.llvm.org/D115238
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions