[llvm] r312878 - Test commit

Uriel Korach via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 10 01:31:22 PDT 2017


Author: uriel.k
Date: Sun Sep 10 01:31:22 2017
New Revision: 312878

URL: http://llvm.org/viewvc/llvm-project?rev=312878&view=rev
Log:
Test commit

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp?rev=312878&r1=312877&r2=312878&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCompares.cpp Sun Sep 10 01:31:22 2017
@@ -4468,7 +4468,7 @@ Instruction *InstCombiner::visitICmpInst
                                   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;




More information about the llvm-commits mailing list