diff options
author | Devang Patel <dpatel@apple.com> | 2007-09-10 18:33:42 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-09-10 18:33:42 +0000 |
commit | 4cebc343704c2a624a907f1283142b99817b27d8 (patch) | |
tree | d5316aa6894407ecf06fbffc1800bfb7dce6ae4f /lib/Transforms | |
parent | ed247aae2e2bec301043be1ebd8d2f50ceffcc4d (diff) | |
download | external_llvm-4cebc343704c2a624a907f1283142b99817b27d8.zip external_llvm-4cebc343704c2a624a907f1283142b99817b27d8.tar.gz external_llvm-4cebc343704c2a624a907f1283142b99817b27d8.tar.bz2 |
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/LoopIndexSplit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopIndexSplit.cpp b/lib/Transforms/Scalar/LoopIndexSplit.cpp index 4a6202e..3a04665 100644 --- a/lib/Transforms/Scalar/LoopIndexSplit.cpp +++ b/lib/Transforms/Scalar/LoopIndexSplit.cpp @@ -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; |