[llvm-branch-commits] [llvm] [AArch64] Only create called thunks when hardening against SLS (PR #97472)

Kristof Beyls via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 3 05:44:11 PDT 2024


================
@@ -46,13 +40,5 @@ body:             |
 
 
 ...
----
-name:            __llvm_slsblr_thunk_x8
-tracksRegLiveness: true
-body:             |
-  bb.0.entry:
-    liveins: $x8
 
-    BR $x8
----------------
kbeyls wrote:

I think it is important to check that the body of the thunk inserted is as expected.
What is the motivation to remove that check, and only check that a thunk with the expected name was inserted, without checking its body?

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


More information about the llvm-branch-commits mailing list