Krzysztof Drewniak | f0415f2 | 2023-05-03 16:21:59 +0000 | [diff] [blame] | 1 | ; XFAIL: * |
Jay Foad | ceb68ee | 2023-09-15 11:29:24 +0100 | [diff] [blame] | 2 | ; RUN: llc < %s -mtriple=amdgcn-- -verify-machineinstrs | FileCheck -check-prefixes=CHECK,GCN %s |
Jay Foad | 2cbfe4a | 2024-05-09 10:59:25 +0100 | [diff] [blame] | 3 | ; RUN: llc < %s -mtriple=r600-- -verify-machineinstrs | FileCheck -check-prefixes=CHECK,R600 %s |
Krzysztof Drewniak | f0415f2 | 2023-05-03 16:21:59 +0000 | [diff] [blame] | 4 | |
| 5 | ; This is a temporary xfail, as the assembly printer is broken when dealing with |
| 6 | ; lowerConstant() trying to return a value of size greater than 8 bytes. |
| 7 | |
| 8 | ; CHECK-LABEL: nullptr7: |
| 9 | ; The exact form of the GCN output depends on how the printer gets fixed. |
| 10 | ; GCN-NEXT: .zeroes 5 |
| 11 | ; R600-NEXT: .long 0 |
| 12 | @nullptr7 = global ptr addrspace(7) addrspacecast (ptr null to ptr addrspace(7)) |
| 13 | |
| 14 | ; CHECK-LABEL: nullptr8: |
| 15 | ; The exact form of the GCN output depends on how the printer gets fixed. |
| 16 | ; GCN-NEXT: .zeroes 4 |
| 17 | ; R600-NEXT: .long 0 |
| 18 | @nullptr8 = global ptr addrspace(8) addrspacecast (ptr null to ptr addrspace(7)) |