Page MenuHomePhabricator

[LV] Move code from widenGEP to VPWidenGEPRecipe (NFC).
Needs ReviewPublic

Authored by fhahn on Sat, Nov 20, 12:41 PM.

Details

Reviewers
Ayal
gilr
rengolin
Summary

The code in widenGEP has already been transitioned to only rely on
information provided by VPWidenGEPRecipe directly.

Moving the code directly to VPWidenGEPRecipe::execute completes
the transition for the recipe.

It provides the following advantages:

  1. Less indirection, easier to see what's going on.
  2. Removes accesses to fields of ILV.
  1. in particular ensures that no dependencies on

fields in ILV for GEP code generation are re-introduced.

Diff Detail

Event Timeline

fhahn created this revision.Sat, Nov 20, 12:41 PM
fhahn requested review of this revision.Sat, Nov 20, 12:41 PM
Herald added a project: Restricted Project. · View Herald TranscriptSat, Nov 20, 12:41 PM
fhahn updated this revision to Diff 388912.Mon, Nov 22, 7:15 AM

rebased after4348cd42c385

fhahn updated this revision to Diff 389797.Thu, Nov 25, 7:51 AM

Fix clang-format issues.