19 lines · plain
1; XFAIL: *2; REQUIRES: asserts3; RUN: llc -mtriple=amdgcn-- < %s4 5; This is a temporary xfail, as the assembly printer is broken when dealing with6; 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 511; R600-NEXT: .long 012; @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 417; R600-NEXT: .long 018@nullptr8 = global ptr addrspace(8) addrspacecast (ptr null to ptr addrspace(8))19