@@ -2615,7 +2615,8 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
26152615
26162616 FixedVectorType *ParamType =
26172617 cast<FixedVectorType>(I.getArgOperand (0 )->getType ());
2618- assert ((I.arg_size () != 2 ) || (ParamType == cast<FixedVectorType>(I.getArgOperand (1 )->getType ())));
2618+ assert ((I.arg_size () != 2 ) ||
2619+ (ParamType == cast<FixedVectorType>(I.getArgOperand (1 )->getType ())));
26192620 [[maybe_unused]] FixedVectorType *ReturnType =
26202621 cast<FixedVectorType>(I.getType ());
26212622 assert (ParamType->getNumElements () * I.arg_size () ==
@@ -2660,16 +2661,17 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
26602661 // / conceptually operates on
26612662 // / (<4 x i16> [[VAR1]], <4 x i16> [[VAR2]])
26622663 // / and can be handled with ReinterpretElemWidth == 16.
2663- void
2664- handlePairwiseShadowOrIntrinsic (IntrinsicInst &I, int ReinterpretElemWidth) {
2664+ void handlePairwiseShadowOrIntrinsic (IntrinsicInst &I,
2665+ int ReinterpretElemWidth) {
26652666 assert (I.arg_size () == 1 || I.arg_size () == 2 );
26662667
26672668 assert (I.getType ()->isVectorTy ());
26682669 assert (I.getArgOperand (0 )->getType ()->isVectorTy ());
26692670
26702671 FixedVectorType *ParamType =
26712672 cast<FixedVectorType>(I.getArgOperand (0 )->getType ());
2672- assert ((I.arg_size () != 2 ) || (ParamType == cast<FixedVectorType>(I.getArgOperand (1 )->getType ())));
2673+ assert ((I.arg_size () != 2 ) ||
2674+ (ParamType == cast<FixedVectorType>(I.getArgOperand (1 )->getType ())));
26732675
26742676 [[maybe_unused]] FixedVectorType *ReturnType =
26752677 cast<FixedVectorType>(I.getType ());
@@ -2710,8 +2712,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
27102712 Value *OddShadow;
27112713 if (I.arg_size () == 2 ) {
27122714 Value *SecondArgShadow = getShadow (&I, 1 );
2713- SecondArgShadow =
2714- IRB.CreateBitCast (SecondArgShadow, ReinterpretShadowTy);
2715+ SecondArgShadow = IRB.CreateBitCast (SecondArgShadow, ReinterpretShadowTy);
27152716
27162717 EvenShadow =
27172718 IRB.CreateShuffleVector (FirstArgShadow, SecondArgShadow, EvenMask);
0 commit comments