blob: 6556f07c73504c48f43fb21d90e73f79e686ceda [file] [log] [blame]
Krzysztof Drewniakf0415f22023-05-03 16:21:59 +00001; XFAIL: *
Jay Foadceb68ee2023-09-15 11:29:24 +01002; RUN: llc < %s -mtriple=amdgcn-- -verify-machineinstrs | FileCheck -check-prefixes=CHECK,GCN %s
Jay Foad2cbfe4a2024-05-09 10:59:25 +01003; RUN: llc < %s -mtriple=r600-- -verify-machineinstrs | FileCheck -check-prefixes=CHECK,R600 %s
Krzysztof Drewniakf0415f22023-05-03 16:21:59 +00004
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))