We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb6ca6 commit 7ca313eCopy full SHA for 7ca313e
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -2124,7 +2124,8 @@ static void licm(VPlan &Plan) {
2124
// Return true if we do not know how to (mechanically) hoist a given recipe
2125
// out of a loop region.
2126
auto CannotHoistRecipe = [](VPRecipeBase &R) {
2127
- // Assumes don't alias anything or throw.
+ // Assumes don't alias anything or throw; as long as they're guaranteed to
2128
+ // execute, they're safe to hoist.
2129
if (match(&R, m_Intrinsic<Intrinsic::assume>()))
2130
return false;
2131
0 commit comments