mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
Fix a test test llvm.exp found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36006 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a43b3f2693
commit
608266b2f5
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | notcast
|
||||
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | notcast
|
||||
|
||||
uint %testAdd(int %X, int %Y) {
|
||||
%tmp = add int %X, %Y
|
||||
%tmp.l = sext int %tmp to uint
|
||||
ret uint %tmp.l
|
||||
define i32 @testAdd(i32 %X, i32 %Y) {
|
||||
%tmp = add i32 %X, %Y
|
||||
%tmp.l = bitcast i32 %tmp to i32
|
||||
ret i32 %tmp.l
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user