diff options
author | Justin Lebar <jlebar@google.com> | 2016-06-15 23:46:11 +0000 |
---|---|---|
committer | Justin Lebar <jlebar@google.com> | 2016-06-15 23:46:11 +0000 |
commit | 4db224e199e9f0903cc1e80c5d3869346ea67b5f (patch) | |
tree | 2048aa303721db3e3da6faa05a8a90c3b0229c29 /lldb/packages/Python/lldbsuite/test | |
parent | 322f21908d63851668fe0f590659ceb93655575c (diff) | |
download | bcm5719-llvm-4db224e199e9f0903cc1e80c5d3869346ea67b5f.tar.gz bcm5719-llvm-4db224e199e9f0903cc1e80c5d3869346ea67b5f.zip |
[CUDA] Don't pass top-level -march down to device cc1 or ptxas.
Summary:
Previously if you did e.g.
$ clang -march=haswell -x cuda foo.cu
we would pass "-march=haswell -march=sm_20" down to the ptxas tool.
This causes it to assert, and rightly so!
Reviewers: tra
Subscribers: cfe-commits, echristo
Differential Revision: http://reviews.llvm.org/D21419
llvm-svn: 272857
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions