OSDN Git Service

[IRCE] Be resilient in the face of non-simplified loops
authorSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 13 Aug 2016 23:36:35 +0000 (23:36 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Sat, 13 Aug 2016 23:36:35 +0000 (23:36 +0000)
commitc56bea66ca6baf988559d97b2ba49c331dedf5ed
tree58ba343a854d669d3c996d58757012be45f7974c
parentc5432bdac59045fae393f01258ec6972c539904d
[IRCE] Be resilient in the face of non-simplified loops

Loops containing `indirectbr` may not be in simplified form, even after
running LoopSimplify.  Reject then gracefully, instead of tripping an
assert.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278611 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
test/Transforms/IRCE/unhandled.ll