mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
f6c8e8c84a
Another batch with no code changes. llvm-svn: 206381
19 lines
593 B
LLVM
19 lines
593 B
LLVM
; RUN: llc -mtriple=aarch64-none-linux-gnu -verify-machineinstrs < %s
|
|
; RUN: llc -mtriple=arm64-linux-gnu -verify-machineinstrs -o - %s
|
|
|
|
; Regression test for NZCV reg live-in not being added to fp128csel IfTrue BB,
|
|
; causing a crash during live range calc.
|
|
define void @fp128_livein(i64 %a) {
|
|
%tobool = icmp ne i64 %a, 0
|
|
%conv = zext i1 %tobool to i32
|
|
%conv2 = sitofp i32 %conv to fp128
|
|
%conv6 = sitofp i32 %conv to double
|
|
%call3 = tail call i32 @g(fp128 %conv2)
|
|
%call8 = tail call i32 @h(double %conv6)
|
|
ret void
|
|
}
|
|
|
|
declare i32 @f()
|
|
declare i32 @g(fp128)
|
|
declare i32 @h(double)
|