summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
diff options
context:
space:
mode:
authorMichael Zolotukhin <mzolotukhin@apple.com>2016-06-10 22:03:56 +0000
committerMichael Zolotukhin <mzolotukhin@apple.com>2016-06-10 22:03:56 +0000
commitb98294d006c97d5f7908e9b24f4fcf28b3195564 (patch)
tree9828468e0d3ffd4fe9720dff3caca7ee77e804a8 /llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp
parente5d2d71a60fbe4cddcb7a070f0eed1648b3d40c6 (diff)
downloadbcm5719-llvm-b98294d006c97d5f7908e9b24f4fcf28b3195564.tar.gz
bcm5719-llvm-b98294d006c97d5f7908e9b24f4fcf28b3195564.zip
Don't try to rotate a loop more than once - we never do this anyway.
Summary: I can't find a case where we can rotate a loop more than once, and it looks like we never do this. To rotate a loop following conditions should be met: 1) its header should be exiting 2) its latch shouldn't be exiting But after the first rotation the header becomes the new latch, so this condition can never be true any longer. Tested on with an assert on LNT testsuite and make check. Reviewers: hfinkel, sanjoy Subscribers: sebpop, sanjoy, llvm-commits, mzolotukhin Differential Revision: http://reviews.llvm.org/D20181 llvm-svn: 272439
Diffstat (limited to 'llvm/unittests/DebugInfo/PDB/MappedBlockStreamTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud