This is an archive of the discontinued LLVM Phabricator instance.

[NFC][AMDGPULowerModuleLDSPass] Use shorter APIs in markUsedByKernel
ClosedPublic

Authored by jmmartinez on Jul 18 2023, 5:50 AM.

Details

Diff Detail

Event Timeline

jmmartinez created this revision.Jul 18 2023, 5:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2023, 5:50 AM
jmmartinez requested review of this revision.Jul 18 2023, 5:50 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 18 2023, 5:50 AM
This revision is now accepted and ready to land.Jul 18 2023, 6:04 AM
foad added inline comments.Jul 18 2023, 6:10 AM
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
303

Don't need , ""

These use annotations are a property of how PromoteAlloca is currently implemented, not essential to the lowering process. I'm hoping to get rid of them at some point in the future. Cleaner implementation until then is good.

  • Remove "" from CreateCall
jmmartinez marked an inline comment as done.Jul 18 2023, 7:55 AM
JonChesterfield accepted this revision.Jul 18 2023, 7:56 AM
This revision was landed with ongoing or failed builds.Jul 19 2023, 12:55 AM
This revision was automatically updated to reflect the committed changes.