[clang] [llvm] [msan] Implement support for Arm NEON vst{2,3,4} instructions (PR #99360)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 18 15:36:13 PDT 2024


================
@@ -2498,6 +2499,15 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
         MSV->setOrigin(I, Origin);
       }
     }
+
+    /// Store the current combined value at the specified origin
+    /// location.
+    void DoneAndStoreOrigin(TypeSize TS, Value *OriginPtr) {
+      if (MSV->MS.TrackOrigins) {
+        assert(Origin);
+        MSV->paintOrigin(IRB, Origin, OriginPtr, TS, Align(1));
----------------
vitalybuka wrote:

I guess LGTM, if we don't know Ptr Alignment

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


More information about the cfe-commits mailing list