forked from OSchip/llvm-project
8c26ea663d
Currently, when there is a global register variable in a program that is bound to an invalid register, clang/llvm prints an error message that is not very user-friendly. This commit improves the diagnostic and moves the check that used to be in the backend to Sema. In addition, it makes changes to error out if the size of the register doesn't match the declared variable size. e.g., volatile register int B asm ("rbp"); rdar://problem/23084219 Differential Revision: http://reviews.llvm.org/D13834 llvm-svn: 253405 |
||
---|---|---|
.. | ||
Inputs | ||
amdgpu-num-gpr-attr.cu | ||
asm-constraints-device.cu | ||
asm-constraints-mixed.cu | ||
attributes.cu | ||
builtins.cu | ||
config-type.cu | ||
cuda-builtin-vars.cu | ||
function-overload.cu | ||
function-target-disabled-check.cu | ||
function-target-hd.cu | ||
function-target.cu | ||
implicit-copy.cu | ||
implicit-intrinsic.cu | ||
implicit-member-target-collision-cxx11.cu | ||
implicit-member-target-collision.cu | ||
implicit-member-target.cu | ||
kernel-call.cu | ||
launch_bounds.cu | ||
lit.local.cfg | ||
method-target.cu | ||
qualifiers.cu |