[llvm] [AArch64] Add ISel patterns for LDAPURS* instructions (PR #171788)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 12 00:56:36 PST 2026
================
@@ -222,6 +374,24 @@ define i32 @load_atomic_i32_aligned_acquire(ptr %ptr) {
ret i32 %r
}
+define i64 @load_atomic_i32_aligned_acquire_sext_i64(ptr %ptr) {
+; GISEL-LABEL: load_atomic_i32_aligned_acquire_sext_i64:
+; GISEL: ldapur w8, [x0, #16]
+; GISEL: ldapursw x0, [x0, #16]
----------------
davemgreen wrote:
It doesn't look like GISel will correctly remove the node that should be folded in to the pattern. That sounds like something we need to fix.
https://github.com/llvm/llvm-project/pull/171788
More information about the llvm-commits
mailing list