Page MenuHomePhabricator

[NewPM][NVPTX] Port NVPTX opt passes

Authored by aeubanks on Tue, Dec 29, 9:00 PM.



There are only two used in the IR optimization pipeline.
Port these and add them to the default pipeline.

Similar to

I added -mtriple to some tests since under the new PM, the passes are
only available when the TargetMachine is specified.

Diff Detail

Event Timeline

aeubanks created this revision.Tue, Dec 29, 9:00 PM
aeubanks requested review of this revision.Tue, Dec 29, 9:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptTue, Dec 29, 9:00 PM
aeubanks edited the summary of this revision. (Show Details)Tue, Dec 29, 9:05 PM
rnk accepted this revision.Thu, Jan 7, 2:33 PM

lgtm with nit



This revision is now accepted and ready to land.Thu, Jan 7, 2:33 PM
aeubanks updated this revision to Diff 315257.Thu, Jan 7, 3:11 PM

make function static

This revision was landed with ongoing or failed builds.Thu, Jan 7, 3:14 PM
This revision was automatically updated to reflect the committed changes.