mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
Remove test. Execution tests are slow and generally not worth it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86434 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1,19 +0,0 @@
|
|||||||
; RUN: llvm-as < %s | lli -force-interpreter
|
|
||||||
; Extending a value due to zeroext/signext will leave it the wrong size
|
|
||||||
; causing problems later, such as a crash if you try to extend it again.
|
|
||||||
|
|
||||||
define void @zero(i8 zeroext %foo) {
|
|
||||||
zext i8 %foo to i32
|
|
||||||
ret void
|
|
||||||
}
|
|
||||||
|
|
||||||
define void @sign(i8 signext %foo) {
|
|
||||||
sext i8 %foo to i32
|
|
||||||
ret void
|
|
||||||
}
|
|
||||||
|
|
||||||
define i32 @main() {
|
|
||||||
call void @zero(i8 0)
|
|
||||||
call void @sign(i8 0)
|
|
||||||
ret i32 0
|
|
||||||
}
|
|
Reference in New Issue
Block a user