mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 01:42:09 +00:00
convert to filecheck syntax
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81267 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d842962e27
commit
8429837a94
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user