[llvm] r267406 - Test commit: modified comment. NFC
Anna Thomas via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 25 06:58:06 PDT 2016
Author: annat
Date: Mon Apr 25 08:58:05 2016
New Revision: 267406
URL: http://llvm.org/viewvc/llvm-project?rev=267406&view=rev
Log:
Test commit: modified comment. NFC
Modified:
llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
Modified: llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp?rev=267406&r1=267405&r2=267406&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp Mon Apr 25 08:58:05 2016
@@ -1901,7 +1901,7 @@ isAllocSiteRemovable(Instruction *AI, Sm
ICmpInst *ICI = cast<ICmpInst>(I);
// We can fold eq/ne comparisons with null to false/true, respectively.
// We also fold comparisons in some conditions provided the alloc has
- // not escaped.
+ // not escaped (see isNeverEqualToUnescapedAlloc).
if (!ICI->isEquality())
return false;
unsigned OtherIndex = (ICI->getOperand(0) == PI) ? 1 : 0;
More information about the llvm-commits
mailing list