File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -1700,26 +1700,6 @@ void LoopVectorizationPlanner::updateLoopMetadataAndProfileInfo(
17001700 LoopVectorizeHints Hints (VectorLoop, true , *ORE);
17011701 Hints.setAlreadyVectorized ();
17021702 }
1703-
1704- // Check if it's EVL-vectorized and mark the corresponding metadata.
1705- bool IsEVLVectorized =
1706- llvm::any_of (*HeaderVPBB, [](const VPRecipeBase &Recipe) {
1707- // Looking for the ExplictVectorLength VPInstruction.
1708- if (const auto *VI = dyn_cast<VPInstruction>(&Recipe))
1709- return VI->getOpcode () == VPInstruction::ExplicitVectorLength;
1710- return false ;
1711- });
1712- if (IsEVLVectorized) {
1713- LLVMContext &Context = VectorLoop->getHeader ()->getContext ();
1714- MDNode *LoopID = VectorLoop->getLoopID ();
1715- auto *IsEVLVectorizedMD = MDNode::get (
1716- Context,
1717- {MDString::get (Context, " llvm.loop.isvectorized.tailfoldingstyle" ),
1718- MDString::get (Context, " evl" )});
1719- MDNode *NewLoopID = makePostTransformationMetadata (Context, LoopID, {},
1720- {IsEVLVectorizedMD});
1721- VectorLoop->setLoopID (NewLoopID);
1722- }
17231703 }
17241704 TargetTransformInfo::UnrollingPreferences UP;
17251705 TTI.getUnrollingPreferences (VectorLoop, *PSE.getSE (), UP, ORE);
You can’t perform that action at this time.
0 commit comments