[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
parent
f39b4726
Please register or sign in to comment