[llvm] [SME] Stop RA from coalescing COPY instructions that transcend beyond smstart/smstop. (PR #78294)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 05:55:45 PST 2024


================
@@ -249,11 +249,15 @@ define double @call_to_intrinsic_without_chain(double %x) nounwind "aarch64_psta
 ; CHECK-NEXT:    str x30, [sp, #80] // 8-byte Folded Spill
 ; CHECK-NEXT:    str d0, [sp, #8] // 8-byte Folded Spill
 ; CHECK-NEXT:    smstart sm
+; CHECK-NEXT:    ldr d0, [sp, #8] // 8-byte Folded Reload
----------------
david-arm wrote:

I guess we might be able to improve these over time, but for now it's important to have functional correctness.

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


More information about the llvm-commits mailing list