Matt Arsenault
5d567dc137
AMDGPU: Enable function calls by default
...
Fixes some crashes on illegal call situations which are unfortunately
still valid IR.
llvm-svn: 355051
2019-02-28 00:40:32 +00:00
Matt Arsenault
9de2fb58fa
AMDGPU: Fix some outdated datalayouts in tests
...
llvm-svn: 342131
2018-09-13 11:56:28 +00:00
Matt Arsenault
a680199a96
Reapply "AMDGPU: Force inlining if LDS global address is used"
...
This reverts commit r336623
llvm-svn: 336675
2018-07-10 14:03:41 +00:00
Vlad Tsyrklevich
688e752207
Revert "AMDGPU: Force inlining if LDS global address is used"
...
This reverts commit r336587, it was causing test failures on the
sanitizer bots.
llvm-svn: 336623
2018-07-10 00:46:07 +00:00
Matt Arsenault
40cb6cab56
AMDGPU: Force inlining if LDS global address is used
...
These won't work for the forseeable future. These aren't allowed
from OpenCL, but IPO optimizations can make them appear.
Also directly set the attributes on functions, regardless
of the linkage rather than cloning functions like before.
llvm-svn: 336587
2018-07-09 19:22:22 +00:00