[llvm-branch-commits] [llvm] [LV] Mask off possibly aliasing vector lanes (PR #100579)

Sander de Smalen via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 8 09:05:16 PDT 2025


================
@@ -482,11 +482,14 @@ bool RuntimePointerChecking::tryToCreateDiffCheck(
     }
   }
 
+  bool WriteAfterRead = isa<LoadInst>(SrcInsts[0]);
----------------
sdesmalen-arm wrote:

I'd suggest writing this as: `bool WriteAfterRead = !Src->IsWritePtr && Sink->IsWritePtr`.

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


More information about the llvm-branch-commits mailing list