Matt Arsenault
ca675427d2
AMDGPU: Produce error on dynamic_stackalloc
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246048 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-26 18:37:13 +00:00
Craig Topper
84bbcfe200
De-constify pointers to Type since they can't be modified. NFC
...
This was already done in most places a while ago. This just fixes the ones that crept in over time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243842 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-01 22:20:21 +00:00
Matt Arsenault
03b49c843a
AMDGPU: Don't try to use LDS/vector for private if pointer value stored
...
If the pointer is the store's value operand, this would produce
a broken module. Make sure the use is actually for the pointer operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243462 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-28 18:47:00 +00:00
Matt Arsenault
7a1c02d1f7
AMDGPU: Fix crash if called function is a bitcast
...
getCalledFunction() is null, so this would crash. Replace
crash with an error on unsupported call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243461 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-28 18:29:14 +00:00
Tom Stellard
953c681473
R600 -> AMDGPU rename
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239657 91177308-0d34-0410-b5e6-96231b3b80d8
2015-06-13 03:28:10 +00:00