summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-08 23:16:26 +0000
committerChris Lattner <sabre@nondot.org>2009-09-08 23:16:26 +0000
commitdae3e56cb75d668a77981d170215179083ca66af (patch)
tree818686b6a31a95188cb5cb21443ef3e897114488 /llvm/test/CodeGen
parente819cfbc71f042d71cae445dacaea162878f33c8 (diff)
downloadbcm5719-llvm-dae3e56cb75d668a77981d170215179083ca66af.tar.gz
bcm5719-llvm-dae3e56cb75d668a77981d170215179083ca66af.zip
convert to filecheck syntax
llvm-svn: 81267
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/dollar-name.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/X86/dollar-name.ll b/llvm/test/CodeGen/X86/dollar-name.ll
index 885700ef82a..3b263194a5a 100644
--- a/llvm/test/CodeGen/X86/dollar-name.ll
+++ b/llvm/test/CodeGen/X86/dollar-name.ll
@@ -1,12 +1,13 @@
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$bar)} | count 1
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$qux)} | count 1
-; RUN: llvm-as < %s | llc -march=x86 -mtriple=i386-linux | grep {(\$hen)} | count 1
+; RUN: llc < %s -march=x86 -mtriple=i386-linux | FileCheck %s
; PR1339
@"$bar" = global i32 zeroinitializer
@"$qux" = external global i32
define i32 @"$foo"() nounwind {
+; CHECK: movl ($bar),
+; CHECK: addl ($qux),
+; CHECK: call ($hen)
%m = load i32* @"$bar"
%n = load i32* @"$qux"
%t = add i32 %m, %n
OpenPOWER on IntegriCloud