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 | 9c7a9f186c583f375ad29ffd740d98b42f966874 (patch) | |
tree | d5316aa6894407ecf06fbffc1800bfb7dce6ae4f /lib/Transforms | |
parent | cf6af30feb4c2d1b10723a859f01ce3776d8a4a0 (diff) | |
download | external_llvm-9c7a9f186c583f375ad29ffd740d98b42f966874.zip external_llvm-9c7a9f186c583f375ad29ffd740d98b42f966874.tar.gz external_llvm-9c7a9f186c583f375ad29ffd740d98b42f966874.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; |