This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Reject values for --cuda-gpu-arch that are not of the form /sm_\d+/.
ClosedPublic

Authored by jlebar on Jan 11 2016, 1:18 PM.

Diff Detail

Event Timeline

jlebar updated this revision to Diff 44540.Jan 11 2016, 1:18 PM
jlebar retitled this revision from to [CUDA] Reject values for --cuda-gpu-arch that are not of the form /sm_\d+/..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added subscribers: echristo, jhen, cfe-commits.
echristo accepted this revision.Jan 11 2016, 2:31 PM
echristo added a reviewer: echristo.

LGTM.

-eric

This revision is now accepted and ready to land.Jan 11 2016, 2:31 PM
jlebar updated this revision to Diff 44564.Jan 11 2016, 3:04 PM
jlebar edited edge metadata.

Add missing change to DiagnosticDriverKinds.td.

Oops, I added the new error to the generated file in my objdir, rather than in the source tree. It worked fine until I rebuilt...

Eric, please have a look at the change to DiagnosticDriverKinds.td.

Yep it's fine. Thanks!

-eric

This revision was automatically updated to reflect the committed changes.