[PATCH] D128033: [LoopVectorize] Uninitialized phi node leads to a crash in SSAUpdater.

Ayal Zaks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 01:08:05 PDT 2022


Ayal added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3151
       Value *Step =
           CreateStepValue(II.getStep(), *PSE.getSE(), &*B.GetInsertPoint());
       EndValue = emitTransformedIndex(B, VTC, II.getStartValue(), Step, II);
----------------
@fhahn - worth leaving behind a TODO to ensure CreateStepValue() is called "before modifying the CFG at all"?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128033/new/

https://reviews.llvm.org/D128033



More information about the llvm-commits mailing list