[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
Wed Jul 17 12:36:24 PDT 2024
================
@@ -2483,13 +2484,21 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
using OriginCombiner = Combiner<false>;
/// Propagate origin for arbitrary operation.
- void setOriginForNaryOp(Instruction &I) {
+ ///
+ /// Optionally skips n trailing operands.
+ void setOriginForNaryOp(Instruction &I, unsigned int skipLastOperands = 0) {
----------------
thurstond wrote:
> I prefer instead of extending this function we just to do
>
> ```
> OriginCombiner OC(this, IRB);
> for (args)
> OC.Add(I.getOperand(i));
> ```
>
> inside of handleNEONVectorStoreIntrinsic
Done in https://github.com/llvm/llvm-project/pull/99360/commits/1970568ab31879094666b20d6f09b39682c20864
https://github.com/llvm/llvm-project/pull/99360
More information about the llvm-commits
mailing list