[llvm-dev] [VPlan] Dead instructions are invariant to VFs when build vplan

Shixiong Xu via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 1 02:56:43 PDT 2018


Hi,

I noticed that the dead instructions collected when build vplan are invariant to different ranges of VFs since the original loop is not changed. Maybe DeadInstructions should be treated as a data member of LoopVectorizationPlanner and initialized by collectTriviallyDeadInstructions() in plan()?

Cheers,

Shixiong (Jason) Xu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180601/69f28841/attachment.html>


More information about the llvm-dev mailing list