Files
llvm-project/llvm/test/CodeGen/DirectX/global-variable.ll
Harald van Dijk 4f3bed19b0 [DirectX] Emit unresolved ptr as i8* (#192086)
We cannot use dxilOpaquePtrReservedName in this test as that is the
wrong type for the null initializer.
2026-04-27 17:17:59 +01:00

7 lines
247 B
LLVM

; RUN: llc -mtriple=dxil-pc-shadermodel6.3-library --filetype=obj -o %t.dxbc %s
; RUN: llvm-objcopy --dump-section=DXIL=%t.bc %t.dxbc
; RUN: llvm-dis -o - %t.bc | FileCheck %s
; CHECK: @foo = common global ptr null
@foo = common global ptr null