This revision was automatically updated to reflect the committed changes.
Closed by commit rGd96ea47c75fd: [AMDGPU][HIP] Improve opt-level handling
(authored by scott.linder).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70987/new/
https://reviews.
scott.linder updated this revision to Diff 232346.
scott.linder added a comment.
Update other toolchain tests I had missed, and address feedback.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70987/new/
https://reviews.llvm.org/D70987
Files:
cla
yaxunl accepted this revision.
yaxunl added a comment.
This revision is now accepted and ready to land.
LGTM
Comment at: clang/lib/Driver/ToolChains/HIP.cpp:153
+ // Pass optimization arg to llc.
+ addOptLevelArgs(Args, LlcArgs, true);
+ LlcArgs.push_back("-mtriple=amdgcn-am