summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/dollar-name.ll
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
commit8429837a94bad081b261091187b7e576b6a48df4 (patch)
tree8b75bc766873a0adf3665bec81bb6bbceac012d4 /test/CodeGen/X86/dollar-name.ll
parentd842962e27b10b6831c2421fa257e3fd58a85b18 (diff)
downloadllvm-8429837a94bad081b261091187b7e576b6a48df4.tar.gz
llvm-8429837a94bad081b261091187b7e576b6a48df4.tar.bz2
llvm-8429837a94bad081b261091187b7e576b6a48df4.tar.xz
convert to filecheck syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/dollar-name.ll')
-rw-r--r--test/CodeGen/X86/dollar-name.ll7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/CodeGen/X86/dollar-name.ll b/test/CodeGen/X86/dollar-name.ll
index 885700ef82..3b263194a5 100644
--- a/test/CodeGen/X86/dollar-name.ll
+++ b/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