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 | f8ab0a9acc97fdb2648c3a467f2c93a008a1c395 (patch) | |
| tree | e1463c143395e5882ef81eae433908dacd117a1c /llvm/lib | |
| parent | c24099ac82a03e8fec4c5c8e42a54c6f95399c02 (diff) | |
| download | bcm5719-llvm-f8ab0a9acc97fdb2648c3a467f2c93a008a1c395.tar.gz bcm5719-llvm-f8ab0a9acc97fdb2648c3a467f2c93a008a1c395.zip | |
Filter exit conditions which are not yet handled.
llvm-svn: 41800
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp b/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp index 4a6202e7836..3a046655d5e 100644 --- a/llvm/lib/Transforms/Scalar/LoopIndexSplit.cpp +++ b/llvm/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; |

