We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d599c commit 48b1991Copy full SHA for 48b1991
llvm/test/CodeGen/NVPTX/gvar-init.ll
@@ -1,5 +1,5 @@
1
-; RUN: llc < %s -mtriple=nvptx -mcpu=sm_20 | FileCheck %s
+; RUN: not --crash llc < %s -mtriple=nvptx -mcpu=sm_20 2>&1 | FileCheck %s
2
3
; Error out if initializer is given for address spaces that do not support initializers
4
-; XFAIL: *
+; CHECK: LLVM ERROR: initial value of 'g0' is not allowed in addrspace(3)
5
@g0 = addrspace(3) global i32 42
0 commit comments