1; XFAIL: * 2; RUN: llc < %s -mtriple=amdgcn-- -verify-machineinstrs | FileCheck -check-prefixes=CHECK,GCN %s 3; RUN: llc < %s -mtriple=r600-- -verify-machineinstrs | FileCheck -check-prefixes=CHECK,R600 %s 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)) 19