[llvm] [Thumb1] LivePhysRegs to LiveRegUnits (PR #84474)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 18 11:55:15 PDT 2024
================
@@ -18,11 +18,10 @@ define <4 x i32> @f() local_unnamed_addr #0 {
; CHECK-V4T-NEXT: movs r2, #3
; CHECK-V4T-NEXT: movs r3, #4
; CHECK-V4T-NEXT: bl g
+; CHECK-V4T-NEXT: ldr r7, [sp, #4]
----------------
efriedma-quic wrote:
"Immediately after" isn't good enough when you're considering asynchronous access to the thread's registers/stack. An interrupt can trigger between the two instructions.
https://github.com/llvm/llvm-project/pull/84474
More information about the llvm-commits
mailing list