[PATCH] D11950: [CUDA] Check register names on appropriate side of cuda compilation only.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 11:08:06 PDT 2015


tra created this revision.
tra added reviewers: eliben, echristo.
tra added a subscriber: cfe-commits.

The patch makes sure that register names in named register variables and inline assembly are checked only on appropriate side of CUDA compilation.

http://reviews.llvm.org/D11950

Files:
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaStmtAsm.cpp
  test/SemaCUDA/asm-constraints-mixed.cu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11950.31832.patch
Type: text/x-patch
Size: 5477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150811/bc8e8642/attachment-0001.bin>


More information about the cfe-commits mailing list