Test commit

llvm-svn: 312878
This commit is contained in:
Uriel Korach 2017-09-10 08:31:22 +00:00
parent b714d6aaa6
commit 18972237a2
1 changed files with 1 additions and 1 deletions

View File

@ -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;