diff options
author | Mircea Trofin <mtrofin@google.com> | 2025-10-03 21:05:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-03 21:05:25 -0700 |
commit | 5fe6479bf2dbd008d9e300c0ea2d1c1ff30ebe58 (patch) | |
tree | fec92cf80d77c9eeb5cbe1a9ce805db37328ad30 /mlir/lib/Bindings/Python/MainModule.cpp | |
parent | 5ec11900e5df2cb8abcd8626609d38c2a26f0940 (diff) | |
download | llvm-5fe6479bf2dbd008d9e300c0ea2d1c1ff30ebe58.zip llvm-5fe6479bf2dbd008d9e300c0ea2d1c1ff30ebe58.tar.gz llvm-5fe6479bf2dbd008d9e300c0ea2d1c1ff30ebe58.tar.bz2 |
[SimplifyCFG][profcheck] Handle branch weights in `simplifySwitchLookup` (#161739)
The switch becomes a conditional branch, one edge going to what was the default target of the switch, the other to a BB that performs a lookup in a table. The branch weights are accurately determinable from the ones of the switch.
Issue #147390
Diffstat (limited to 'mlir/lib/Bindings/Python/MainModule.cpp')
0 files changed, 0 insertions, 0 deletions