[compiler-rt] [llvm] [MSAN] support vpermilvar AVX instructions (PR #143053)

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 19:27:31 PDT 2025


================
@@ -4159,6 +4159,22 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
     setOrigin(&I, PtrSrcOrigin);
   }
 
+  // Instrument AVX permutation intrinsic.
+  // We apply the same permutation (argument index 1) to the shadow.
+  void handleAvxVpermilvar(IntrinsicInst &I) {
----------------
thurstond wrote:

Please capitalize "AVX" for consistency with the "handle.*(avx|sse|neon)" functions.

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


More information about the llvm-commits mailing list