Skip to content

Commit 752f017

Browse files
committed
AMDGPU: Fix broken XFAILed test for fat pointer null initializers
This was failing on the buffer fat pointer lowering error in the addrspace(7) case, not the expected asm printer breakage. Also remove the attempt at FileChecking the result, since that is dependent on the actual fix and we want the unexpected pass whenever the assert is fixed.
1 parent 6b81483 commit 752f017

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; 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
2+
; REQUIRES: asserts
3+
; RUN: llc -mtriple=amdgcn-- < %s
44

55
; This is a temporary xfail, as the assembly printer is broken when dealing with
66
; lowerConstant() trying to return a value of size greater than 8 bytes.
@@ -9,10 +9,10 @@
99
; The exact form of the GCN output depends on how the printer gets fixed.
1010
; GCN-NEXT: .zeroes 5
1111
; R600-NEXT: .long 0
12-
@nullptr7 = global ptr addrspace(7) addrspacecast (ptr null to ptr addrspace(7))
12+
; @nullptr7 = global ptr addrspace(7) addrspacecast (ptr null to ptr addrspace(7))
1313

1414
; CHECK-LABEL: nullptr8:
1515
; The exact form of the GCN output depends on how the printer gets fixed.
1616
; GCN-NEXT: .zeroes 4
1717
; R600-NEXT: .long 0
18-
@nullptr8 = global ptr addrspace(8) addrspacecast (ptr null to ptr addrspace(7))
18+
@nullptr8 = global ptr addrspace(8) addrspacecast (ptr null to ptr addrspace(8))

0 commit comments

Comments
 (0)