Files
archived-llvm/lib/Target/AMDGPU
Tom Stellard c95a7375b1 Merging r287339:
------------------------------------------------------------------------
r287339 | nhaehnle | 2016-11-18 03:55:52 -0800 (Fri, 18 Nov 2016) | 20 lines

AMDGPU: Fix legalization of MUBUF instructions in shaders

Summary:
The addr64-based legalization is incorrect for MUBUF instructions with idxen
set as well as for BUFFER_LOAD/STORE_FORMAT_* instructions.  This affects
e.g.  shaders that access buffer textures.

Since we never actually need the addr64-legalization in shaders, this patch
takes the easy route and keys off the calling convention.  If this ever
affects (non-OpenGL) compute, the type of legalization needs to be chosen
based on some TSFlag.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98664

Reviewers: arsenm, tstellarAMD

Subscribers: kzhuravl, wdng, yaxunl, tony-tye, llvm-commits

Differential Revision: https://reviews.llvm.org/D26747

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@288106 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-29 03:41:29 +00:00
..
2016-01-26 21:29:08 +00:00
2016-08-10 16:45:40 +00:00
2016-07-28 23:18:47 +00:00
2016-07-28 23:29:33 +00:00
2016-07-18 20:03:22 +00:00
2016-07-14 05:23:08 +00:00
2016-07-28 23:12:00 +00:00
2016-06-09 23:42:54 +00:00
2016-07-18 20:03:22 +00:00
2015-06-13 03:28:10 +00:00
2016-07-15 21:26:46 +00:00
2016-07-28 23:29:33 +00:00
2016-07-28 23:29:33 +00:00
2016-04-18 09:17:29 +00:00
2015-06-13 03:28:10 +00:00
2015-06-13 03:28:10 +00:00
2016-08-03 18:13:01 +00:00
2016-08-03 18:13:01 +00:00
2016-11-29 03:41:29 +00:00
2016-08-03 18:13:01 +00:00
2016-08-03 18:13:01 +00:00
2016-11-29 03:41:28 +00:00
2016-08-10 16:45:40 +00:00
2016-08-10 16:45:40 +00:00
2016-07-28 23:31:17 +00:00
2016-07-20 14:09:21 +00:00
2016-07-28 23:31:17 +00:00
2016-07-28 23:31:17 +00:00
2016-11-29 03:41:28 +00:00