1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/CodeGen/AArch64/arm64-2011-04-21-CPSRBug.ll
Tim Northover ca0f4dc4f0 AArch64/ARM64: move ARM64 into AArch64's place
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.

llvm-svn: 209577
2014-05-24 12:50:23 +00:00

27 lines
779 B
LLVM

; RUN: llc < %s -mtriple=arm64-apple-iOS5.0
; CPSR is not allocatable so fast allocatable wouldn't mark them killed.
; rdar://9313272
define hidden void @t() nounwind {
entry:
%cmp = icmp eq i32* null, undef
%frombool = zext i1 %cmp to i8
store i8 %frombool, i8* undef, align 1
%tmp4 = load i8* undef, align 1
%tobool = trunc i8 %tmp4 to i1
br i1 %tobool, label %land.lhs.true, label %if.end
land.lhs.true: ; preds = %entry
unreachable
if.end: ; preds = %entry
br i1 undef, label %land.lhs.true14, label %if.end33
land.lhs.true14: ; preds = %if.end
unreachable
if.end33: ; preds = %if.end
unreachable
}