mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
e1bde51d63
Copy over the whole register machine operand instead of creating a new one with an incomplete set of flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191961 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
200 B
LLVM
8 lines
200 B
LLVM
; RUN: llc < %s -march=arm -mcpu=swift -verify-machineinstrs
|
|
define i32 @func(i32 %arg0, i32 %arg1) {
|
|
entry:
|
|
%cmp = icmp slt i32 %arg0, 10
|
|
%v = select i1 %cmp, i32 undef, i32 %arg1
|
|
ret i32 %v
|
|
}
|