Matt Arsenault
456b93b4c2
AMDGPU: Convert tests away from llvm.SI.load.const
...
llvm-svn: 351494
2019-01-17 22:47:26 +00:00
Matt Arsenault
7c525903ef
AMDGPU: Remove SITypeRewriter
...
This was an old workaround for using v16i8 in some old intrinsics
for resource descriptors.
llvm-svn: 306603
2017-06-28 21:38:50 +00:00
Matt Arsenault
3ea06336fc
AMDGPU: Remove some uses of llvm.SI.export in tests
...
Merge some of the old, smaller tests into more complete versions.
llvm-svn: 295792
2017-02-22 00:02:21 +00:00
Matt Arsenault
7aad8fd8f4
Enable FeatureFlatForGlobal on Volcanic Islands
...
This switches to the workaround that HSA defaults to
for the mesa path.
This should be applied to the 4.0 branch.
Patch by Vedran Miletić <vedran@miletic.net>
llvm-svn: 292982
2017-01-24 22:02:15 +00:00
Matt Arsenault
45f8216cee
AMDGPU: Remove superfluous string attributes from tests
...
Also fix v_mac.ll not testing right thing for fneg
llvm-svn: 275129
2016-07-11 23:35:48 +00:00
Nicolai Haehnle
df3a20cd80
AMDGPU: Add a shader calling convention
...
This makes it possible to distinguish between mesa shaders
and other kernels even in the presence of compute shaders.
Patch By: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Differential Revision: http://reviews.llvm.org/D18559
llvm-svn: 265589
2016-04-06 19:40:20 +00:00
Tom Stellard
bc4497b13c
AMDGPU/SI: Detect uniform branches and emit s_cbranch instructions
...
Reviewers: arsenm
Subscribers: mareko, MatzeB, qcolombet, arsenm, llvm-commits
Differential Revision: http://reviews.llvm.org/D16603
llvm-svn: 260765
2016-02-12 23:45:29 +00:00
Matt Arsenault
7713162c32
AMDGPU: Remove more unused intrinsics
...
Replace tests with lrp with basic IR expansion
llvm-svn: 258612
2016-01-23 05:42:38 +00:00
Matt Arsenault
0cbaa1762b
AMDGPU: Remove AMDGPU.fract intrinsic
...
Mesa doesn't use this, and this is pattern matched already
from fsub x, (ffloor x)
llvm-svn: 258513
2016-01-22 18:42:38 +00:00
Matt Arsenault
15fbe49daf
AMDGPU: Remove AMDIL.fraction intrinsic
...
llvm-svn: 258347
2016-01-20 21:05:49 +00:00
Tom Stellard
45bb48ea19
R600 -> AMDGPU rename
...
llvm-svn: 239657
2015-06-13 03:28:10 +00:00