mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
AArch64: remove ConstantIsland pass & put literals in separate section.
This implements the review suggestion to simplify the AArch64 backend. If we later discover that we *really* need the extra complexity of the ConstantIslands pass for performance reasons it can be resurrected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175258 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -13,7 +13,7 @@ define void @check_float() {
|
||||
|
||||
%newval2 = fadd float %val, 128.0
|
||||
store volatile float %newval2, float* @varf32
|
||||
; CHECK: ldr {{s[0-9]+}}, .LCPI0_0
|
||||
; CHECK: ldr {{s[0-9]+}}, [{{x[0-9]+}}, #:lo12:.LCPI0_0
|
||||
|
||||
ret void
|
||||
}
|
||||
@@ -28,7 +28,7 @@ define void @check_double() {
|
||||
|
||||
%newval2 = fadd double %val, 128.0
|
||||
store volatile double %newval2, double* @varf64
|
||||
; CHECK: ldr {{d[0-9]+}}, .LCPI1_0
|
||||
; CHECK: ldr {{d[0-9]+}}, [{{x[0-9]+}}, #:lo12:.LCPI1_0
|
||||
|
||||
ret void
|
||||
}
|
||||
|
Reference in New Issue
Block a user