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 @@ -1704,17 +1704,8 @@ class VPWidenIntrinsicRecipe : public VPRecipeWithIRFlags {
1704
1704
VPWidenIntrinsicRecipe (Intrinsic::ID VectorIntrinsicID,
1705
1705
std::initializer_list<VPValue *> CallArguments,
1706
1706
Type *Ty, DebugLoc DL = {})
1707
- : VPRecipeWithIRFlags(VPDef::VPWidenIntrinsicSC, CallArguments),
1708
- VectorIntrinsicID(VectorIntrinsicID), ResultTy(Ty) {
1709
- LLVMContext &Ctx = Ty->getContext ();
1710
- AttributeList Attrs = Intrinsic::getAttributes (Ctx, VectorIntrinsicID);
1711
- MemoryEffects ME = Attrs.getMemoryEffects ();
1712
- MayReadFromMemory = ME.onlyWritesMemory ();
1713
- MayWriteToMemory = ME.onlyReadsMemory ();
1714
- MayHaveSideEffects = MayWriteToMemory ||
1715
- Attrs.hasFnAttr (Attribute::NoUnwind) ||
1716
- !Attrs.hasFnAttr (Attribute::WillReturn);
1717
- }
1707
+ : VPWidenIntrinsicRecipe(VectorIntrinsicID,
1708
+ ArrayRef<VPValue *>(CallArguments), Ty, DL) {}
1718
1709
1719
1710
~VPWidenIntrinsicRecipe () override = default ;
1720
1711
You can’t perform that action at this time.
0 commit comments