mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +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
527 B
LLVM
18 lines
527 B
LLVM
; RUN: llc -march=arm64 -verify-machineinstrs < %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]+}},
|
|
ret fp128 %fpval
|
|
}
|