[PATCH] D142499: [Clang][AMDGPU] Set LTO CG opt level based on Clang option

Scott Linder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 24 12:59:19 PST 2023


scott.linder added reviewers: arsenm, yaxunl, scchan, pcc, MaskRay, mehdi_amini, respindola, ruiu, aheejin, sbc100.
scott.linder added a comment.

(Just adding everyone from the parent review, feel free to remove yourself as reviewer if you aren't interested!)

It isn't ideal, but as only AMDGCN wants the 1:1 mapping for LTO->CG opt level to be the default I implemented it here. Thoughts?

I can move the missing `claim` call to another patch, it just seemed like a small enough change to include inline.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142499/new/

https://reviews.llvm.org/D142499



More information about the cfe-commits mailing list