aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/generate-sbapi-dwarf-enum.py
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2025-10-01 09:54:30 -0700
committerGitHub <noreply@github.com>2025-10-01 09:54:30 -0700
commit240b73e10f5c6549776cfd3847db2be14dc42776 (patch)
tree73e39e4a32f5a91907ec85c8d33e6cbec84885cc /lldb/scripts/generate-sbapi-dwarf-enum.py
parent8907b6d39371d439461cdd3475d5590f87821377 (diff)
downloadllvm-240b73e10f5c6549776cfd3847db2be14dc42776.zip
llvm-240b73e10f5c6549776cfd3847db2be14dc42776.tar.gz
llvm-240b73e10f5c6549776cfd3847db2be14dc42776.tar.bz2
[SimplifyCFG][PGO] Reuse existing `setBranchWeights` (#160629)
The main difference between SimplifyCFG's `setBranchWeights`​ and the ProfDataUtils' is that the former doesn't propagate all-zero weights. That seems like a sensible thing to do, so updated the latter accordingly, and added a flag to control the behavior. Also moved to ProfDataUtils the logic fitting 64-bit weights to 32-bit. As side-effect, this fixes some profcheck failures.
Diffstat (limited to 'lldb/scripts/generate-sbapi-dwarf-enum.py')
0 files changed, 0 insertions, 0 deletions