[llvm] r246679 - [ValueTracking] Minor comment change in test
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 10:29:54 PDT 2015
Author: jamesm
Date: Wed Sep 2 12:29:54 2015
New Revision: 246679
URL: http://llvm.org/viewvc/llvm-project?rev=246679&view=rev
Log:
[ValueTracking] Minor comment change in test
This test was updated in r246678 - fix a copypasta in a comment noticed post-commit.
Modified:
llvm/trunk/unittests/Analysis/ValueTrackingTest.cpp
Modified: llvm/trunk/unittests/Analysis/ValueTrackingTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Analysis/ValueTrackingTest.cpp?rev=246679&r1=246678&r2=246679&view=diff
==============================================================================
--- llvm/trunk/unittests/Analysis/ValueTrackingTest.cpp (original)
+++ llvm/trunk/unittests/Analysis/ValueTrackingTest.cpp Wed Sep 2 12:29:54 2015
@@ -184,7 +184,6 @@ TEST_F(MatchSelectPatternTest, DoubleCas
" %A = select i1 %1, i32 %2, i32 %3\n"
" ret i32 %A\n"
"}\n");
- // We should be able to look through the situation where we cast both operands
- // to the select.
+ // The cast types here aren't the same, so we cannot match an UMIN.
expectPattern({SPF_UNKNOWN, SPNB_NA, false});
}
More information about the llvm-commits
mailing list