mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +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
28 lines
605 B
LLVM
28 lines
605 B
LLVM
; RUN: llc < %s -O0 -fast-isel-abort -mtriple=arm64-apple-darwin | FileCheck %s
|
|
|
|
; Materialize using fmov
|
|
define void @float_(float* %value) {
|
|
; CHECK: @float_
|
|
; CHECK: fmov s0, #1.25000000
|
|
store float 1.250000e+00, float* %value, align 4
|
|
ret void
|
|
}
|
|
|
|
define void @double_(double* %value) {
|
|
; CHECK: @double_
|
|
; CHECK: fmov d0, #1.25000000
|
|
store double 1.250000e+00, double* %value, align 8
|
|
ret void
|
|
}
|
|
|
|
; Materialize from constant pool
|
|
define float @float_cp() {
|
|
; CHECK: @float_cp
|
|
ret float 0x400921FB60000000
|
|
}
|
|
|
|
define double @double_cp() {
|
|
; CHECK: @double_cp
|
|
ret double 0x400921FB54442D18
|
|
}
|