Ronak Chauhan
528057c197
[AMDGPU] Support disassembly for AMDGPU kernel descriptors
...
Decode AMDGPU Kernel descriptors as assembler directives.
Reviewed By: scott.linder, jhenderson, kzhuravl
Differential Revision: https://reviews.llvm.org/D80713
2020-10-07 20:39:43 +05:30
Ronak Chauhan
f078577f31
Revert "[AMDGPU] Support disassembly for AMDGPU kernel descriptors"
...
This reverts commit 487a805310
.
Tests fail on big endian machines.
2020-09-09 18:01:28 +05:30
Ronak Chauhan
487a805310
[AMDGPU] Support disassembly for AMDGPU kernel descriptors
...
Decode AMDGPU Kernel descriptors as assembler directives.
Reviewed By: scott.linder, jhenderson, kzhuravl
Differential Revision: https://reviews.llvm.org/D80713
2020-09-08 21:26:11 +05:30
Ronak Chauhan
fdf71d486c
Revert "[AMDGPU] Support disassembly for AMDGPU kernel descriptors"
...
This reverts commit cacfb02d28
.
Reverting due to buildbot failures.
2020-08-19 13:12:29 +05:30
Ronak Chauhan
cacfb02d28
[AMDGPU] Support disassembly for AMDGPU kernel descriptors
...
Decode AMDGPU Kernel descriptors as assembler directives.
Reviewed By: scott.linder
Differential Revision: https://reviews.llvm.org/D80713
2020-08-19 08:49:07 +05:30
Fangrui Song
ecd6d7254e
[test] llvm/test/: change llvm-objdump single-dash long options to double-dash options
...
As announced here: http://lists.llvm.org/pipermail/llvm-dev/2019-April/131786.html
Grouped option syntax (POSIX Utility Conventions) does not play well with -long-option
A subsequent change will reject -long-option.
2020-03-15 17:46:23 -07:00
Fangrui Song
71e2ca6e32
[llvm-objdump] -d: print `00000000 <foo>:` instead of `00000000 foo:`
...
The new behavior matches GNU objdump. A pair of angle brackets makes tests slightly easier.
`.foo:` is not unique and thus cannot be used in a `CHECK-LABEL:` directive.
Without `-LABEL`, the CHECK line can match the `Disassembly of section`
line and causes the next `CHECK-NEXT:` to fail.
```
Disassembly of section .foo:
0000000000001634 .foo:
```
Bdragon: <> has metalinguistic connotation. it just "feels right"
Reviewed By: rupprecht
Differential Revision: https://reviews.llvm.org/D75713
2020-03-05 18:05:28 -08:00
Fangrui Song
291e11ea02
[llvm-objdump] Tidy up AMDGCNPrettyPrinter
...
llvm-svn: 363650
2019-06-18 06:35:18 +00:00
Konstantin Zhuravlyov
a25e0524c0
AMDGPU: Enable code object v3 for AMDHSA only
...
Differential Revision: https://reviews.llvm.org/D54186
llvm-svn: 346923
2018-11-15 02:32:43 +00:00
Konstantin Zhuravlyov
2d22d24ac4
Revert r345542: AMDGPU: Enable code object v3 by default
...
It breaks mesa.
llvm-svn: 345662
2018-10-30 22:02:40 +00:00
Konstantin Zhuravlyov
5cb950200c
AMDGPU: Enable code object v3 by default
...
Differential Revision: https://reviews.llvm.org/D53525
llvm-svn: 345542
2018-10-29 21:07:27 +00:00
Matt Arsenault
72d27f5525
AMDGPU: Fix tests using old number for constant address space
...
llvm-svn: 341770
2018-09-10 02:54:25 +00:00
Matt Arsenault
dd8fd9dcfd
AMDGPU: Actually write nops for writeNopData
...
Before this was just writing 0s, which ends up looking like a
v_cndmask_b32 v0, s0, v0, vcc. Write out an encoded s_nop instead.
llvm-svn: 299816
2017-04-08 21:28:38 +00:00