[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Oct 20 14:48:45 PDT 2025
================
@@ -1933,6 +1933,20 @@ def atomic_load_64 :
let MemoryVT = i64;
}
+def atomic_load_128_v2i64 :
+ PatFrag<(ops node:$ptr),
+ (atomic_load node:$ptr)> {
+ let IsAtomic = true;
+ let MemoryVT = v2i64;
+}
+
+def atomic_load_128_v4i32 :
+ PatFrag<(ops node:$ptr),
+ (atomic_load node:$ptr)> {
+ let IsAtomic = true;
+ let MemoryVT = v4i32;
+}
----------------
jofrn wrote:
They are needed to match the patterns introduced within the atomic_vec2_ptr_align test when enabling SSE.
https://github.com/llvm/llvm-project/pull/148900
More information about the llvm-branch-commits
mailing list