aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAndres-Salamanca <andrealebarbaritos@gmail.com>2025-05-22 12:27:23 -0500
committerGitHub <noreply@github.com>2025-05-22 10:27:23 -0700
commit3eb9e7715ea520d56ab0d8009111fd08ab4d4b03 (patch)
tree9ca49d15e1a0b4389ccaa18936b6f18f40a63093 /clang/lib/Frontend/CompilerInvocation.cpp
parent35434f2cd9b0920df93bda743eff99fbcf9de3b7 (diff)
downloadllvm-3eb9e7715ea520d56ab0d8009111fd08ab4d4b03.zip
llvm-3eb9e7715ea520d56ab0d8009111fd08ab4d4b03.tar.gz
llvm-3eb9e7715ea520d56ab0d8009111fd08ab4d4b03.tar.bz2
[CIR] Implement switch case simplify (#140649)
This PR introduces a new **CIR simplify for `switch` cases**, which folds multiple **cascading `Equal` cases** (that contain only a `YieldOp`) into a single `CaseOp` of kind `AnyOf`. This logic is based on the suggestion from this discussion: https://github.com/llvm/llvm-project/pull/138003#discussion_r2070564458
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions