aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2025-07-02 09:25:24 +0200
committerGitHub <noreply@github.com>2025-07-02 09:25:24 +0200
commit647aa6616fa5fee8770e3ea041b7df391050fa51 (patch)
treeb4305d0dba2d5a589935963fc55bb9697c90c3f7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent83272a48493948c5190be00e7e734a0335be86f8 (diff)
downloadllvm-647aa6616fa5fee8770e3ea041b7df391050fa51.zip
llvm-647aa6616fa5fee8770e3ea041b7df391050fa51.tar.gz
llvm-647aa6616fa5fee8770e3ea041b7df391050fa51.tar.bz2
[mlir][SPIRVToLLVM] Set valid insertion point after op erasure (#146551)
Erasing/replacing an op, which is also the current insertion point, invalidates the insertion point. Explicitly set the insertion point, so that `copy` does not crash after the One-Shot Dialect Conversion refactoring. (`ConversionPatternRewriter` will start behaving more like a "normal" rewriter.)
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions