[ValueTracking] Minor comment change in test
authorJames Molloy <james.molloy@arm.com>
Wed, 2 Sep 2015 17:29:54 +0000 (17:29 +0000)
committerJames Molloy <james.molloy@arm.com>
Wed, 2 Sep 2015 17:29:54 +0000 (17:29 +0000)
This test was updated in r246678 - fix a copypasta in a comment noticed post-commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246679 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Analysis/ValueTrackingTest.cpp

index 1512ad0fd868ec7758831fb49559f2cb7dfc1379..3af856ea2039cad6eb8ff6f13d9ed17b515b9e6d 100644 (file)
@@ -184,7 +184,6 @@ TEST_F(MatchSelectPatternTest, DoubleCastBad) {
       "  %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});
 }