This is an archive of the discontinued LLVM Phabricator instance.

[NFC][AMDGPULowerKernelAttributes] Factorize repeated code into function
ClosedPublic

Authored by jmmartinez on Oct 5 2022, 6:49 AM.

Diff Detail

Event Timeline

jmmartinez created this revision.Oct 5 2022, 6:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2022, 6:49 AM
jmmartinez requested review of this revision.Oct 5 2022, 6:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2022, 6:49 AM
jdoerfert accepted this revision.Oct 5 2022, 6:58 AM

LG

llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
79

This is not a great variable name as it clashes with the class name, e.g., IntrinsicID

This revision is now accepted and ready to land.Oct 5 2022, 6:58 AM
This revision was landed with ongoing or failed builds.Oct 5 2022, 7:34 AM
This revision was automatically updated to reflect the committed changes.
jmmartinez marked an inline comment as done.Oct 5 2022, 7:34 AM
jmmartinez added inline comments.
llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
79

Changed to IntrinsicID

arsenm added inline comments.Oct 5 2022, 7:48 AM
llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
77

static