summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/select-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/select-2.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/select-2.ll5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InstCombine/select-2.ll b/llvm/test/Transforms/InstCombine/select-2.ll
index a76addc9942..5b9deb4515a 100644
--- a/llvm/test/Transforms/InstCombine/select-2.ll
+++ b/llvm/test/Transforms/InstCombine/select-2.ll
@@ -1,4 +1,7 @@
-; RUN: opt < %s -instcombine -S | grep select | count 2
+; RUN: opt < %s -instcombine -S | FileCheck %s
+
+; CHECK: select
+; CHECK: select
; Make sure instcombine don't fold select into operands. We don't want to emit
; select of two integers unless it's selecting 0 / 1.
OpenPOWER on IntegriCloud