[llvm] [msan] Check mask and rounding mode in handleAVX512VectorConvertFPToInt (PR #147782)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 9 10:34:45 PDT 2025


================
@@ -4406,8 +4406,10 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
 
     assert(Mask->getType()->isIntegerTy());
     assert(Mask->getType()->getScalarSizeInBits() == ANumElements);
+    insertCheckShadowOf(Mask, &I);
 
     assert(RoundingMode->getType()->isIntegerTy());
+    insertCheckShadowOf(RoundingMode, &I);
----------------
fmayer wrote:

Just confirming that the implementation doesn't just look at a few bits of this?

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


More information about the llvm-commits mailing list