[llvm] [AArch64][BTI] Add BTI at EH entries. (PR #155308)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 13:59:24 PDT 2025


================
@@ -29,9 +29,9 @@ lbl4:
 
 ; CHECK-LABEL: func:
 ; CHECK-NEXT: .seh_proc func
-; CHECK-NEXT: // %bb.0:
-; CHECK-NEXT: hint #34
-; CHECK-NEXT: .seh_nop
+; CHECK:       // %bb.0: // %entry
+; CHECK-NEXT:  .seh_nop
----------------
efriedma-quic wrote:

Please rearrange the code so it inserts the seh_nop directive after the bti instruction.

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


More information about the llvm-commits mailing list