summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Analysis
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-09-02 17:29:54 +0000
committerJames Molloy <james.molloy@arm.com>2015-09-02 17:29:54 +0000
commit687a8448f426aa554f0cbc866a470362ede595fc (patch)
tree0d9a02b919f8dc4f9eef97d151bb1ea13d5991ab /llvm/unittests/Analysis
parent569cea65f0a4ee83c19f6989635f5fab06791f12 (diff)
downloadbcm5719-llvm-687a8448f426aa554f0cbc866a470362ede595fc.tar.gz
bcm5719-llvm-687a8448f426aa554f0cbc866a470362ede595fc.zip
[ValueTracking] Minor comment change in test
This test was updated in r246678 - fix a copypasta in a comment noticed post-commit. llvm-svn: 246679
Diffstat (limited to 'llvm/unittests/Analysis')
-rw-r--r--llvm/unittests/Analysis/ValueTrackingTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/unittests/Analysis/ValueTrackingTest.cpp b/llvm/unittests/Analysis/ValueTrackingTest.cpp
index 1512ad0fd86..3af856ea203 100644
--- a/llvm/unittests/Analysis/ValueTrackingTest.cpp
+++ b/llvm/unittests/Analysis/ValueTrackingTest.cpp
@@ -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});
}
OpenPOWER on IntegriCloud