mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-28 22:58:17 +00:00

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
|
|
}
|