[llvm-branch-commits] [llvm] [AArch64][PAC] Eliminate excessive MOVs when computing blend (PR #115185)

Daniil Kovalev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 11 00:00:43 PST 2024


================
@@ -188,6 +188,33 @@ define void @test_tailcall_omit_mov_x16_x16(ptr %objptr) #0 {
   ret void
 }
 
+define i32 @test_call_omit_extra_moves(ptr %objptr) #0 {
----------------
kovdan01 wrote:

As far as I see, there are two places where `emitPtrauthDiscriminator` is called with `/*MayUseAddrAsScratch=*/true`: `emitPtrauthBranch` and `emitInstruction` for `AUTH_TCRETURN`/`AUTH_TCRETURN_BTI`. Are both cases tested? It looks like that this new test case is designed for signed tail call which covers only one of two code paths, doesn't it?

https://github.com/llvm/llvm-project/pull/115185


More information about the llvm-branch-commits mailing list