[llvm] [LV] Check if the VF is scalar by VFRange instead of VPlan in `handleUncountableEarlyExit` NFC. (PR #135294)
Elvis Wang via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 11 02:09:47 PDT 2025
================
@@ -2436,7 +2438,7 @@ void VPlanTransforms::handleUncountableEarlyExit(
ExitIRI->extractLastLaneOfOperand(MiddleBuilder);
}
// Add the incoming value from the early exit.
- if (!IncomingFromEarlyExit->isLiveIn() && !Plan.hasScalarVFOnly()) {
+ if (!IncomingFromEarlyExit->isLiveIn() && !Range.Start.isScalar()) {
----------------
ElvisWang123 wrote:
Done, thanks!
https://github.com/llvm/llvm-project/pull/135294
More information about the llvm-commits
mailing list