aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2025-10-22 10:32:34 -0700
committerGitHub <noreply@github.com>2025-10-22 10:32:34 -0700
commit0e807a4261913f73ce68052cb2707b4e7ae89e7b (patch)
tree5c13ae31fd01d1edaac16df5497e406a9a5c41e0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente2ad55499197db540d09e7201b9b80366a0908c3 (diff)
downloadllvm-0e807a4261913f73ce68052cb2707b4e7ae89e7b.zip
llvm-0e807a4261913f73ce68052cb2707b4e7ae89e7b.tar.gz
llvm-0e807a4261913f73ce68052cb2707b4e7ae89e7b.tar.bz2
[SPIRV][HLSL] Fix assert with cbuffers through constexpr (#164555)
The comment here pointed out that RAUW would fall over given a constantexpr, but then proceeded to just do what RAUW does by hand, which falls over in the same way. Instead, convert constantexprs involving cbuffer globals to instructions before processing them. The test update just modifies the existing cbuffer test, since it implied it was trying to test this exact case anyways.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions