This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Pass optimization level to SelectionDAGISel
ClosedPublic

Authored by kzhuravl on Sep 28 2016, 4:19 PM.

Details

Diff Detail

Event Timeline

kzhuravl updated this revision to Diff 72925.Sep 28 2016, 4:19 PM
kzhuravl retitled this revision from to [AMDGPU] Pass optimization level to SelectionDAGISel.
kzhuravl updated this object.
kzhuravl added a reviewer: tstellarAMD.
kzhuravl added a subscriber: llvm-commits.
arsenm requested changes to this revision.Oct 3 2016, 2:36 AM
arsenm added a reviewer: arsenm.

Why does this have the opt level parameter at all instead of getting it from the TM like here? It looks like AArch64DAGToDAGISel only defines one constructor which also has the opt level. This should probably do the same thing and pass the opt level from the pass config

This revision now requires changes to proceed.Oct 3 2016, 2:36 AM
kzhuravl updated this revision to Diff 73281.Oct 3 2016, 7:44 AM
kzhuravl edited edge metadata.

Address review feedback

arsenm accepted this revision.Oct 3 2016, 7:57 AM
arsenm edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 3 2016, 7:57 AM
kzhuravl closed this revision.Oct 3 2016, 11:56 AM

r283133