[clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion
Separates detection of deprecated or invalid code object version from
returning the version. Written to avoid any behaviour change.
Precursor to a revision of D98746.
Paths
| Differential D101077
[clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion ClosedPublic Authored by JonChesterfield on Apr 22 2021, 9:00 AM.
Details Summary [clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion Separates detection of deprecated or invalid code object version from Precursor to a revision of D98746.
Diff Detail
Event TimelineHerald added subscribers: kerbowa, tpr, dstuttard and 2 others. · View Herald TranscriptApr 22 2021, 9:00 AM
This revision is now accepted and ready to land.Apr 22 2021, 4:11 PM This revision was landed with ongoing or failed builds.Apr 22 2021, 4:25 PM Closed by commit rG2cdb9873b210: [clang][nfc] Split getOrCheckAMDGPUCodeObjectVersion (authored by JonChesterfield). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 339817 clang/lib/Driver/ToolChains/AMDGPU.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/CommonArgs.h
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/HIP.cpp
|
The logic to pick which of multiple arguments wins seems an important thing to keep in one place. I think this is an improvement on the first draft and on D101117