mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
0a63b6ac79
test cases require fixes to fast-isel before the verifier can be enabled. Part of rdar://12594152 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168233 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
217 B
LLVM
10 lines
217 B
LLVM
; RUN: llc < %s -O0 -verify-machineinstrs -mtriple=thumbv7-apple-darwin
|
|
; rdar://9515076
|
|
; (Make sure this doesn't crash.)
|
|
|
|
define i32 @test(i32 %i) {
|
|
%t = trunc i32 %i to i4
|
|
%r = sext i4 %t to i32
|
|
ret i32 %r
|
|
}
|