aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-07-15 16:07:48 +0200
committerGitHub <noreply@github.com>2024-07-15 16:07:48 +0200
commite73cf2f0c5b437f944e9a796d96d550d6ae3d8cf (patch)
treed460d58148bfe53a25d7e1adeafddd9bb2ace486 /clang/lib/CodeGen/CodeGenModule.cpp
parent075f7542f1b55695b871fb5d6359c2350af474f8 (diff)
downloadllvm-e73cf2f0c5b437f944e9a796d96d550d6ae3d8cf.zip
llvm-e73cf2f0c5b437f944e9a796d96d550d6ae3d8cf.tar.gz
llvm-e73cf2f0c5b437f944e9a796d96d550d6ae3d8cf.tar.bz2
[flang] Remove materialization workaround in type converter (#98743)
This change is in preparation of #97903, which adds extra checks for materializations: it is now enforced that they produce an SSA value of the correct type, so the current workaround no longer works. The original workaround avoided target materializations by directly returning the to-be-converted SSA value from the materialization callback. This can be avoided by initializing the lowering patterns that insert the materializations without a type converter. For `cg::XEmboxOp`, the existing workaround that skips `unrealized_conversion_cast` ops is still in place. Also remove the lowering pattern for `unrealized_conversion_cast`. This pattern has no effect because `unrealized_conversion_cast` ops that are inserted by the dialect conversion framework are never matched by the pattern driver.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions