[llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #83068)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 13:51:04 PST 2024
================
@@ -346,7 +366,8 @@ Value *VPInstruction::generateInstruction(VPTransformState &State,
Value *Step =
createStepForVF(Builder, ScalarTC->getType(), State.VF, State.UF);
Value *Sub = Builder.CreateSub(ScalarTC, Step);
- Value *Cmp = Builder.CreateICmp(CmpInst::Predicate::ICMP_UGT, ScalarTC, Step);
+ Value *Cmp =
+ Builder.CreateICmp(CmpInst::Predicate::ICMP_UGT, ScalarTC, Step);
----------------
fhahn wrote:
undone, thanks!
https://github.com/llvm/llvm-project/pull/83068
More information about the llvm-commits
mailing list