aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-07-02 20:42:36 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-07-02 20:42:36 +0000
commit2fa43a7315d87ec9f55aa5cb716b65dcefa7ddf1 (patch)
treed81c4422c3ba20f7cd2a3a12ab54d219a5e46408 /test/CodeGen
parent19318fe1350530dd2d1fcfb80e489d24804d6858 (diff)
downloadexternal_llvm-2fa43a7315d87ec9f55aa5cb716b65dcefa7ddf1.zip
external_llvm-2fa43a7315d87ec9f55aa5cb716b65dcefa7ddf1.tar.gz
external_llvm-2fa43a7315d87ec9f55aa5cb716b65dcefa7ddf1.tar.bz2
FileCheck-ize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134339 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/dag-rauw-cse.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/X86/dag-rauw-cse.ll b/test/CodeGen/X86/dag-rauw-cse.ll
index edcfeb7..eca8c86 100644
--- a/test/CodeGen/X86/dag-rauw-cse.ll
+++ b/test/CodeGen/X86/dag-rauw-cse.ll
@@ -1,7 +1,11 @@
-; RUN: llc < %s -march=x86 | grep {orl \$1}
+; RUN: llc < %s -march=x86 | FileCheck %s
; PR3018
define i32 @test(i32 %A) nounwind {
+; CHECK: test:
+; CHECK-NOT: ret
+; CHECK: orl $1
+; CHECK: ret
%B = or i32 %A, 1
%C = or i32 %B, 1
%D = and i32 %C, 7057