summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorUriel Korach <uriel.korach@intel.com>2017-09-10 08:31:22 +0000
committerUriel Korach <uriel.korach@intel.com>2017-09-10 08:31:22 +0000
commit18972237a2b893062c877a7dc85e56864494d636 (patch)
tree722ce24cd0cb15a4d7f1397ad5c5ba7cb3e795de /llvm/lib
parentb714d6aaa6f97e682ed5c3f2aa4a25d3d6c6e25c (diff)
downloadbcm5719-llvm-18972237a2b893062c877a7dc85e56864494d636.tar.gz
bcm5719-llvm-18972237a2b893062c877a7dc85e56864494d636.zip
Test commit
llvm-svn: 312878
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp2
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;
OpenPOWER on IntegriCloud