aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2022-12-07 21:05:58 +0000
committerKrzysztof Drewniak <Krzysztof.Drewniak@amd.com>2022-12-12 19:43:31 +0000
commit392cc842c26bfc301ea622792a456e9d83aa7dca (patch)
tree63c7eb4a5dd008657165a67e0ac024b6444cb81e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf39b47264edda30b90ea9cc435fc1434a2e06edc (diff)
downloadllvm-392cc842c26bfc301ea622792a456e9d83aa7dca.zip
llvm-392cc842c26bfc301ea622792a456e9d83aa7dca.tar.gz
llvm-392cc842c26bfc301ea622792a456e9d83aa7dca.tar.bz2
[mlir][LLVMIR target] Fix llvm.freeze builder to prevent crashes
The freeze builder did not assign the result of creating the freeze operation to $res, which meant that when subsequent translations (such as a sext) tried to use that result or query its type, mlir-translate would crash. This fixes the issue and adds a test for it. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D139574
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions