[llvm] [Intrinsics][AArch64] Add intrinsics for masking off aliasing vector lanes (PR #117007)
    Sander de Smalen via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep  1 05:38:03 PDT 2025
    
    
  
================
@@ -24212,8 +24216,8 @@ The element of the result mask is active when storing to %ptrA then loading from
 %ptrB is safe and doesn't result in aliasing, meaning that:
 
 * abs(ptrB - ptrA) >= elementSize * lane (guarantees that the store of this lane
-  occurs before loading from this address)
-* ptrA == ptrB doesn't introduce any new hazards and is safe
+  occurs before loading from this address), or
+* ptrA == ptrB, doesn't introduce any new hazards
----------------
sdesmalen-arm wrote:
```suggestion
* ptrA == ptrB (doesn't introduce any new hazards that weren't present in scalar code)
```
https://github.com/llvm/llvm-project/pull/117007
    
    
More information about the llvm-commits
mailing list