[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #120716)
    via llvm-branch-commits 
    llvm-branch-commits at lists.llvm.org
       
    Mon Jun  2 07:18:53 PDT 2025
    
    
  
================
@@ -1904,6 +1904,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:
The tests that use them must also have the changes from AtomicExpand.
https://github.com/llvm/llvm-project/pull/120716
    
    
More information about the llvm-branch-commits
mailing list