diff options
| author | Uriel Korach <uriel.korach@intel.com> | 2017-09-10 08:31:22 +0000 |
|---|---|---|
| committer | Uriel Korach <uriel.korach@intel.com> | 2017-09-10 08:31:22 +0000 |
| commit | 18972237a2b893062c877a7dc85e56864494d636 (patch) | |
| tree | 722ce24cd0cb15a4d7f1397ad5c5ba7cb3e795de /llvm/lib/Transforms/InstCombine | |
| parent | b714d6aaa6f97e682ed5c3f2aa4a25d3d6c6e25c (diff) | |
| download | bcm5719-llvm-18972237a2b893062c877a7dc85e56864494d636.tar.gz bcm5719-llvm-18972237a2b893062c877a7dc85e56864494d636.zip | |
Test commit
llvm-svn: 312878
Diffstat (limited to 'llvm/lib/Transforms/InstCombine')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp index 240a9c41b5f..b51d7bc4034 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp @@ -4468,7 +4468,7 @@ Instruction *InstCombiner::visitICmpInst(ICmpInst &I) { SQ.getWithInstruction(&I))) return replaceInstUsesWith(I, V); - // comparing -val or val with non-zero is the same as just comparing val + // Comparing -val or val with non-zero is the same as just comparing val // ie, abs(val) != 0 -> val != 0 if (I.getPredicate() == ICmpInst::ICMP_NE && match(Op1, m_Zero())) { Value *Cond, *SelectTrue, *SelectFalse; |

