diff options
| author | Morris Hafner <mmha@users.noreply.github.com> | 2025-10-21 00:18:43 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 00:18:43 +0700 |
| commit | babecd41a84e182584da240d49f3405c25fbac8c (patch) | |
| tree | 7f5f1377da9ec9e078d6b84de507026ce3b2a647 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 725a2971762a82d4b1213185570f5e3e8701b2bc (diff) | |
| download | llvm-babecd41a84e182584da240d49f3405c25fbac8c.zip llvm-babecd41a84e182584da240d49f3405c25fbac8c.tar.gz llvm-babecd41a84e182584da240d49f3405c25fbac8c.tar.bz2 | |
[CIR] Add support for ternary operator as lvalue (#163580)
Added support for ConditionalOperator, BinaryConditionalOperator and
OpaqueValueExpr as lvalue.
Implemented support for ternary operators with one branch being a throw
expression. This required weakening the requirement that the true and
false regions of the ternary operator must terminate with a `YieldOp`.
Instead the true and false regions are now allowed to terminate with an
`UnreachableOp` and no `YieldOp` gets emitted when the block throws.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
