mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
ca0f4dc4f0
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
18 lines
562 B
LLVM
18 lines
562 B
LLVM
; RUN: llc -mtriple=aarch64-linux-gnu -verify-machineinstrs -o - %s | FileCheck %s
|
|
declare void @bar(i8*, i8*, i32*)
|
|
|
|
; SelectionDAG used to try to fold some fp128 operations using the ppc128 type,
|
|
; which is not supported.
|
|
|
|
define fp128 @test_folding() {
|
|
; CHECK-LABEL: test_folding:
|
|
%l = alloca i32
|
|
store i32 42, i32* %l
|
|
%val = load i32* %l
|
|
%fpval = sitofp i32 %val to fp128
|
|
; If the value is loaded from a constant pool into an fp128, it's been folded
|
|
; successfully.
|
|
; CHECK: ldr {{q[0-9]+}}, [{{x[0-9]+}}, {{#?}}:lo12:.LCPI
|
|
ret fp128 %fpval
|
|
}
|