[llvm] [AArch64] Implement -fno-plt for SelectionDAG/GlobalISel (PR #78890)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 19:59:08 PST 2024
================
@@ -201,17 +201,27 @@ define dso_local void @rv_marker_3() personality ptr @__gxx_personality_v0 {
; GISEL-NEXT: bl _objc_object
; GISEL-NEXT: Ltmp1:
; GISEL-NEXT: ; %bb.1: ; %invoke.cont
-; GISEL-NEXT: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
+; GISEL-NEXT: Lloh0:
+; GISEL-NEXT: adrp x1, _objc_release at GOTPAGE
; GISEL-NEXT: mov x0, x19
+; GISEL-NEXT: Lloh1:
+; GISEL-NEXT: ldr x1, [x1, _objc_release at GOTPAGEOFF]
+; GISEL-NEXT: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
; GISEL-NEXT: ldp x20, x19, [sp], #32 ; 16-byte Folded Reload
-; GISEL-NEXT: b _objc_release
+; GISEL-NEXT: br x1
----------------
MaskRay wrote:
Ping:) @fhahn @TNorthover
https://github.com/llvm/llvm-project/pull/78890
More information about the llvm-commits
mailing list