[llvm] [VPlan] Explicitly handle scalar pointer inductions. (PR #83068)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 25 12:49:11 PDT 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:
Should be undone now, need to be careful to avoid clang-format from undoing the change.
https://github.com/llvm/llvm-project/pull/83068
More information about the llvm-commits
mailing list