mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
For PR1319:
Changes necessary to run this with the "llvm.exp" version of llvm_runtest. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35995 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
520b487984
commit
ff0f877ca4
@ -24,6 +24,6 @@ define i32 @main(i32 %argc, i8** %argv) {
|
|||||||
%result = sext i17 %X to i32
|
%result = sext i17 %X to i32
|
||||||
%fmt = getelementptr [4 x i8]* @FORMAT, i32 0, i32 0
|
%fmt = getelementptr [4 x i8]* @FORMAT, i32 0, i32 0
|
||||||
call i32 (i8*,...)* @printf(i8* %fmt, i32 %result)
|
call i32 (i8*,...)* @printf(i8* %fmt, i32 %result)
|
||||||
ret i32 %result
|
ret i32 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
load_lib llvm-dg.exp
|
load_lib llvm.exp
|
||||||
|
|
||||||
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
; RUN: llvm-as < %s | llvm-dis > %t1.ll
|
; RUN: llvm-as < %s | llvm-dis > %t1.ll
|
||||||
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
|
||||||
; RUN: diff %t1.ll %t2.ll &&
|
; RUN: diff %t1.ll %t2.ll
|
||||||
; RUN: not grep cast %t2.ll &&
|
; RUN: not grep cast %t2.ll
|
||||||
; RUN: grep "<{" %t2.ll
|
; RUN: grep '\<{' %t2.ll
|
||||||
|
; END.
|
||||||
|
|
||||||
%struct.anon = type <{ i8, i35, i35, i35 }>
|
%struct.anon = type <{ i8, i35, i35, i35 }>
|
||||||
@foos = external global %struct.anon
|
@foos = external global %struct.anon
|
||||||
|
Loading…
Reference in New Issue
Block a user