diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-03-11 11:49:03 -0400 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2020-03-11 15:34:11 -0400 |
commit | 1e0c540360e826d85e7f048d31895c4028e6499a (patch) | |
tree | bff42672bf3507916924c60e2dff6217932a4e6c /clang/lib/Lex/ModuleMap.cpp | |
parent | 8f997b4f0118a8f9cd5c1071b61bfbc35a7e7e85 (diff) | |
download | llvm-1e0c540360e826d85e7f048d31895c4028e6499a.zip llvm-1e0c540360e826d85e7f048d31895c4028e6499a.tar.gz llvm-1e0c540360e826d85e7f048d31895c4028e6499a.tar.bz2 |
AMDGPU: Don't hard error on LDS globals in functions
Instead, emit a trap and a warning. We force inlining of this
situation, so any function where this happens should be dead as
indirect or external calls are not yet supported. This should avoid
erroring on dead code.
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions