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-07-14 14:50:35 +00:00
2016-06-10 02:18:02 +00:00
2016-07-05 22:06:56 +00:00
2016-07-11 14:23:53 +00:00
2016-01-26 21:29:08 +00:00
2016-06-23 14:13:06 +00:00
2016-08-10 16:45:40 +00:00
2016-07-01 23:03:44 +00:00
2016-05-10 20:23:24 +00:00
2016-06-06 20:03:31 +00:00
2016-04-25 22:23:44 +00:00
2016-07-28 23:18:47 +00:00
2016-07-16 05:09:21 +00:00
2016-06-18 05:15:53 +00:00
2016-04-14 19:09:28 +00:00
2016-04-14 19:09:28 +00:00
2016-08-10 16:45:40 +00:00
2016-06-24 06:30:11 +00:00
2016-07-09 18:11:15 +00:00
2016-07-09 18:11:15 +00:00
2016-07-09 18:11:15 +00:00
2016-06-22 20:15:28 +00:00
2016-07-28 23:29:33 +00:00
2016-08-10 16:45:40 +00:00
2016-08-10 16:45:40 +00:00
2016-07-18 20:03:22 +00:00
2016-07-12 08:12:16 +00:00
2016-07-15 21:27:13 +00:00
2016-07-14 05:23:08 +00:00
2016-07-01 10:00:58 +00:00
2016-07-01 10:00:58 +00:00
2016-07-13 14:23:33 +00:00
2016-03-11 08:00:27 +00:00
2016-04-18 09:17:29 +00:00
2016-07-28 23:12:00 +00:00
2016-07-09 18:11:15 +00:00
2016-07-09 18:11:15 +00:00
2015-07-30 17:03:11 +00:00
2016-07-16 05:09:21 +00:00
2016-07-01 23:03:44 +00:00
2016-07-01 23:03:44 +00:00
2016-08-10 16:45:40 +00:00
2016-06-27 20:48:03 +00:00
2016-05-05 17:03:33 +00:00
2016-05-05 17:03:33 +00:00
2016-07-01 00:56:27 +00:00
2016-07-06 17:30:56 +00:00
2016-07-08 19:16:05 +00:00
2016-02-24 10:54:25 +00:00
2016-07-05 00:12:51 +00:00
2016-06-09 23:42:54 +00:00
2016-07-14 05:47:17 +00:00
2016-07-18 20:03:22 +00:00
2016-06-24 06:30:11 +00:00
2016-06-24 06:30:11 +00:00
2016-07-09 07:54:27 +00:00
2016-06-02 18:37:16 +00:00
2016-07-08 19:16:05 +00:00
2016-07-08 19:16:05 +00:00
2016-03-11 08:00:27 +00:00
2016-07-08 19:16:05 +00:00
2016-06-30 00:01:54 +00:00
2016-06-24 06:30:11 +00:00
2016-06-24 06:30:11 +00:00
2015-06-13 03:28:10 +00:00
2016-07-15 21:26:46 +00:00
2016-07-15 21:26:46 +00:00
2016-07-15 21:27:08 +00:00
2016-07-15 21:27:08 +00:00
2016-07-28 23:29:33 +00:00
2016-07-28 23:29:33 +00:00
2015-06-13 03:28:10 +00:00
2016-04-18 09:17:29 +00:00
2016-06-30 00:01:54 +00:00
2016-06-24 06:30:11 +00:00
2016-07-08 19:16:05 +00:00
2016-06-30 00:01:54 +00:00
2016-07-09 18:11:15 +00:00
2016-07-09 18:11:15 +00:00
2015-06-13 03:28:10 +00:00
2016-06-10 02:18:02 +00:00
2015-06-13 03:28:10 +00:00
2016-07-09 17:18:39 +00:00
2016-06-24 06:30:11 +00:00
2016-08-03 18:13:01 +00:00
2016-07-09 17:18:39 +00:00
2016-07-09 17:18:39 +00:00
2016-06-30 00:01:54 +00:00
2016-06-25 03:11:28 +00:00
2016-06-25 03:11:28 +00:00
2016-07-08 19:16:05 +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-08-10 16:45:40 +00:00
2016-06-27 20:32:13 +00:00
2016-07-15 00:58:15 +00:00
2016-06-24 06:30:11 +00:00
2016-07-28 23:31:17 +00:00
2016-07-13 17:35:15 +00:00
2016-07-20 14:09:21 +00:00
2016-03-11 08:00:27 +00:00
2016-07-28 23:31:17 +00:00
2016-07-28 23:31:17 +00:00
2016-05-21 03:55:07 +00:00
2016-06-24 23:52:11 +00:00
2016-06-30 00:01:54 +00:00
2016-04-06 19:40:20 +00:00
2016-11-29 03:41:28 +00:00
2016-07-01 09:59:21 +00:00
2016-06-16 16:50:04 +00:00