Filter exit conditions which are not yet handled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41800 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2007-09-10 18:33:42 +00:00
parent cf6af30feb
commit 9c7a9f186c
2 changed files with 53 additions and 1 deletions

View File

@@ -332,7 +332,9 @@ void LoopIndexSplit::findLoopConditionals() {
if (CI->getPredicate() == ICmpInst::ICMP_SGT
|| CI->getPredicate() == ICmpInst::ICMP_UGT
|| CI->getPredicate() == ICmpInst::ICMP_SGE
|| CI->getPredicate() == ICmpInst::ICMP_UGE)
|| CI->getPredicate() == ICmpInst::ICMP_UGE
|| CI->getPredicate() == ICmpInst::ICMP_EQ
|| CI->getPredicate() == ICmpInst::ICMP_NE)
return;
ExitCondition = CI;