Page MenuHomePhabricator

[LV] Move code from widenInstruction to VPWidenRecipe. (NFC)
Needs ReviewPublic

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

Details

Reviewers
Ayal
gilr
rengolin
Summary

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

Moving the code directly to VPWidenRecipe::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 vector code generation are re-introduced.

Diff Detail

Event Timeline

fhahn created this revision.Sat, Nov 20, 12:44 PM
fhahn requested review of this revision.Sat, Nov 20, 12:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptSat, Nov 20, 12:44 PM
fhahn retitled this revision from [LV] Move code from widenInstruction to VPWidenRecipe. to [LV] Move code from widenInstruction to VPWidenRecipe. (NFC).Sat, Nov 20, 12:48 PM