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

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 16:21:11 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));
----------------
thurstond wrote:

Changed back to 1-byte alignment in https://github.com/llvm/llvm-project/pull/99360/commits/af86d86e1d00f09c4e8c8f425a5bca6522636820 per offline discussion

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


More information about the llvm-commits mailing list