This is an archive of the discontinued LLVM Phabricator instance.

[NewPM][CodeGen] Add NPM support to llc
Needs ReviewPublic

Authored by ychen on Jul 10 2020, 7:25 PM.

Details

Reviewers
aeubanks
asbirlea

Diff Detail

Event Timeline

ychen created this revision.Jul 10 2020, 7:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 10 2020, 7:25 PM
ychen updated this revision to Diff 282750.Aug 3 2020, 3:45 PM
  • update
arsenm added a subscriber: arsenm.Feb 28 2022, 10:17 AM
arsenm added inline comments.
llvm/lib/CodeGen/TargetPassConfig.cpp
608

Why not use a reference?

llvm/tools/llc/NewPMDriver.cpp
50

Can't these be shared? Plus "2" isn't ideal naming

arsenm added inline comments.Feb 28 2022, 10:32 AM
llvm/tools/llc/llc.cpp
554

Braces

Herald added a project: Restricted Project. · View Herald TranscriptNov 10 2022, 1:55 PM

I think this patch looks good as all comments are minor nits. @ychen any interest in getting it in?

llvm/tools/llc/NewPMDriver.cpp
86

Nit: Last two could be references

99

Nit: Assertions should have messages.

hliao added a subscriber: hliao.Jan 12 2023, 12:57 PM

Hi @ychen! From what I can understand I believe only a couple of these patches are remaining to fully enable the new pass manager support for target backends.

  1. Do you plan to check in these changes soon, it would be great as the AMDGPU backend would like to port to the new pass manager.
  2. Since Github PRs are now the standard for code reviews is there an equivalent pull request on GitHub for these remaining patches?