[llvm] [AArch64][PAC] Move emission of LR checks in tail calls to AsmPrinter (PR #110705)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 10 12:09:25 PST 2024
================
@@ -169,13 +169,13 @@ define i32 @test_tailcall_ib_var(ptr %arg0, ptr %arg1) #0 {
define void @test_tailcall_omit_mov_x16_x16(ptr %objptr) #0 {
; CHECK-LABEL: test_tailcall_omit_mov_x16_x16:
-; CHECK: ldr x16, [x0]
-; CHECK: mov x17, x0
-; CHECK: movk x17, #6503, lsl #48
-; CHECK: autda x16, x17
-; CHECK: ldr x2, [x16]
-; CHECK: movk x16, #54167, lsl #48
-; CHECK: braa x2, x16
+; CHECK-NEXT: ldr x16, [x0]
----------------
kovdan01 wrote:
It's a nice test enhancement, but it looks like that 1) it's unrelated to the PR and 2) there are many other test cases in this file to be enhanced in the same way. I suggest not to mix changes and to apply the enhancement to the whole file in a separate PR.
https://github.com/llvm/llvm-project/pull/110705
More information about the llvm-commits
mailing list