mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +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:
@@ -83,7 +83,7 @@ define i32 @return_int() {
|
||||
define double @return_double() {
|
||||
; CHECK: return_double:
|
||||
ret double 3.14
|
||||
; CHECK: ldr d0, .LCPI
|
||||
; CHECK: ldr d0, [{{x[0-9]+}}, #:lo12:.LCPI
|
||||
}
|
||||
|
||||
; This is the kind of IR clang will produce for returning a struct
|
||||
|
||||
Reference in New Issue
Block a user