aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bindings/Python/MainModule.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-10-03 20:00:58 -0700
committerGitHub <noreply@github.com>2025-10-03 20:00:58 -0700
commit910e536fb09f39493906005b9a8d7d1fbcc20e28 (patch)
treec98afce1b9a52a312e90e9edbf55798f73bb687c /mlir/lib/Bindings/Python/MainModule.cpp
parent1b30e49b9b37673a1e8437b54c077611789f60a3 (diff)
downloadllvm-910e536fb09f39493906005b9a8d7d1fbcc20e28.zip
llvm-910e536fb09f39493906005b9a8d7d1fbcc20e28.tar.gz
llvm-910e536fb09f39493906005b9a8d7d1fbcc20e28.tar.bz2
[SimplifyCFG][profcheck] Synthesize profile for `br (X == 0 | X == 1), T, F1 -> switch` (#161549)
We cannot calculate the weights of the switch precisely, but we do know the probability of the default branch. We then split equally the remaining probability over the rest of the cases. If we did nothing, the static estimation could be considerably poorer. Issue #147390
Diffstat (limited to 'mlir/lib/Bindings/Python/MainModule.cpp')
0 files changed, 0 insertions, 0 deletions