Alex MacLean 48b19912ca
[NVPTX][test] Use 'not' to switch an XFAIL test to PASS (#130839)
Use 'not' to confirm the test has the desired behavior and move it to
passing.
2025-03-12 09:20:48 -07:00

6 lines
271 B
LLVM

; RUN: not --crash llc < %s -mtriple=nvptx -mcpu=sm_20 2>&1 | FileCheck %s
; Error out if initializer is given for address spaces that do not support initializers
; CHECK: LLVM ERROR: initial value of 'g0' is not allowed in addrspace(3)
@g0 = addrspace(3) global i32 42