mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
remove an execution test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3efa1a77b2
commit
8d88dbcbae
@ -1,17 +0,0 @@
|
||||
|
||||
; RUN: llvm-as < %s | llc -march=c > %t1.cbe.c
|
||||
; RUN: gcc -B/usr/bin/ %t1.cbe.c -o %t1.cbe
|
||||
; RUN: ./%t1.cbe
|
||||
|
||||
define i1 @doTest(i8 %x) {
|
||||
%dec.0 = add i8 %x, -1 ; <i8> [#uses=1]
|
||||
%tmp.1001 = trunc i8 %dec.0 to i1 ; <i1> [#uses=1]
|
||||
ret i1 %tmp.1001
|
||||
}
|
||||
|
||||
define i32 @main() {
|
||||
%result = call i1 @doTest( i8 1 ) ; <i1> [#uses=1]
|
||||
%p = zext i1 %result to i32 ; <i32> [#uses=1]
|
||||
ret i32 %p
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user