HomePhabricator

[HIP] Add missing options for lto

Authored by yaxunl on Jun 24 2020, 2:34 PM.

Description

[HIP] Add missing options for lto

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

Differential Revision: https://reviews.llvm.org/D82506

Details

Committed
yaxunlJun 25 2020, 9:26 PM
Differential Revision
D82506: [HIP] Add missing options for lto
Parents
rG471c806a45bb: [hip] Refine `clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu`
Branches
Unknown
Tags
Unknown