mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
29f94c7201
This commit starts with a "git mv ARM64 AArch64" and continues out from there, renaming the C++ classes, intrinsics, and other target-local objects for consistency. "ARM64" test directories are also moved, and tests that began their life in ARM64 use an arm64 triple, those from AArch64 use an aarch64 triple. Both should be equivalent though. This finishes the AArch64 merge, and everyone should feel free to continue committing as normal now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209577 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
525 B
LLVM
18 lines
525 B
LLVM
; RUN: llc -mtriple=aarch64-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)
|