Extracted from D117246. This reflects the march value used by the
compile back into the toolchain arguments, letting downstream processes
such as LTO rely on it being present. Subsequent patches should also be able
to remove the two other calls to checkSystemForAMDGPU.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, with this you should be able to replace calls for the AMDGPU arch with querying the ToolChain args, e.g. TCArgs.getLastArgValue(options::OPT_march_EQ)
Comment Actions
Landed with you as author and me as reviewer as that seems a more accurate statement than the default. Thanks!