aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Target/LLVMIR/ModuleImport.cpp
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2025-03-05 14:02:39 -0500
committerGitHub <noreply@github.com>2025-03-05 14:02:39 -0500
commit6d4f8b1dbfd21811351bec205154992afddbc5ea (patch)
tree1d3a95ca9a30eed760d3a6b72ba7a5e580c9a7df /mlir/lib/Target/LLVMIR/ModuleImport.cpp
parente49180d84c4d8b25fa944e494f4f292479eec1f6 (diff)
downloadllvm-6d4f8b1dbfd21811351bec205154992afddbc5ea.zip
llvm-6d4f8b1dbfd21811351bec205154992afddbc5ea.tar.gz
llvm-6d4f8b1dbfd21811351bec205154992afddbc5ea.tar.bz2
[HLSL] Fix resource wrapper declaration (#129100)
The resource wrapper should have internal linkage because it contains a handle to the global resource, and it not the actual global. Makeing this changed exposed that we were zeroinitializing the resouce, which is a problem. The handle cannot be zeroinitialized. This is changed to use poison instead. Fixes https://github.com/llvm/llvm-project/issues/122767. --------- Co-authored-by: Helena Kotas <hekotas@microsoft.com>
Diffstat (limited to 'mlir/lib/Target/LLVMIR/ModuleImport.cpp')
0 files changed, 0 insertions, 0 deletions