summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll b/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
index 23b606779e6..6588a918bae 100644
--- a/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
+++ b/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
@@ -1,5 +1,7 @@
; Ignore stderr, we expect warnings there
-; RUN: opt < %s -instcombine 2> /dev/null -S | not grep bitcast
+; RUN: opt < %s -instcombine 2> /dev/null -S | FileCheck %s
+
+; CHECK-NOT: bitcast
define void @a() {
ret void
OpenPOWER on IntegriCloud