[PATCH] D49643: [HIP] Add -target-cpu option for clang -cc1

2018-07-22 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl added a comment. In https://reviews.llvm.org/D49643#1171158, @rjmccall wrote: > The commit message here could be better. You're passing `-target-cpu` when > running the device-mode compiler. Right. Will fix. Thanks. https://reviews.llvm.org/D49643 _

[PATCH] D49643: [HIP] Add -target-cpu option for clang -cc1

2018-07-22 Thread John McCall via Phabricator via cfe-commits
rjmccall added a comment. The commit message here could be better. You're passing `-target-cpu` when running the device-mode compiler. https://reviews.llvm.org/D49643 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cg

[PATCH] D49643: [HIP] Add -target-cpu option for clang -cc1

2018-07-21 Thread Yaxun Liu via Phabricator via cfe-commits
yaxunl created this revision. yaxunl added reviewers: rjmccall, tra, b-sumner, scchan. https://reviews.llvm.org/D49643 Files: lib/Driver/ToolChains/HIP.cpp test/Driver/hip-toolchain.hip test/Driver/lit.local.cfg Index: test/Driver/lit.local.cfg