File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -1675,17 +1675,8 @@ class VPWidenIntrinsicRecipe : public VPRecipeWithIRFlags {
16751675 VPWidenIntrinsicRecipe (Intrinsic::ID VectorIntrinsicID,
16761676 std::initializer_list<VPValue *> CallArguments,
16771677 Type *Ty, DebugLoc DL = {})
1678- : VPRecipeWithIRFlags(VPDef::VPWidenIntrinsicSC, CallArguments),
1679- VectorIntrinsicID(VectorIntrinsicID), ResultTy(Ty) {
1680- LLVMContext &Ctx = Ty->getContext ();
1681- AttributeList Attrs = Intrinsic::getAttributes (Ctx, VectorIntrinsicID);
1682- MemoryEffects ME = Attrs.getMemoryEffects ();
1683- MayReadFromMemory = ME.onlyWritesMemory ();
1684- MayWriteToMemory = ME.onlyReadsMemory ();
1685- MayHaveSideEffects = MayWriteToMemory ||
1686- Attrs.hasFnAttr (Attribute::NoUnwind) ||
1687- !Attrs.hasFnAttr (Attribute::WillReturn);
1688- }
1678+ : VPWidenIntrinsicRecipe(VectorIntrinsicID,
1679+ ArrayRef<VPValue *>(CallArguments), Ty, DL) {}
16891680
16901681 ~VPWidenIntrinsicRecipe () override = default ;
16911682
You can’t perform that action at this time.
0 commit comments