[PATCH] D82506: [HIP] Add missing options for lto

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 15:47:26 PDT 2020


yaxunl created this revision.
yaxunl added reviewers: tra, arsenm, ashi1.
Herald added subscribers: dexonsmith, inglorion, wdng.

Add -mcpu, -mattr, -mllvm, and -save-temps options for lto when necessary.


https://reviews.llvm.org/D82506

Files:
  clang/lib/Driver/ToolChains/HIP.cpp
  clang/test/Driver/hip-save-temps.hip
  clang/test/Driver/hip-toolchain-features.hip
  clang/test/Driver/hip-toolchain-mllvm.hip
  clang/test/Driver/hip-toolchain-rdc-separate.hip
  clang/test/Driver/hip-toolchain-rdc.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82506.273175.patch
Type: text/x-patch
Size: 8194 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200624/18c83fe1/attachment.bin>


More information about the cfe-commits mailing list