aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2023-09-29 18:06:53 -0700
committerGitHub <noreply@github.com>2023-09-29 18:06:53 -0700
commitf179486204135b67af53dcdd45c4b4f16dce2801 (patch)
treeae15c43f3b5ecab22ad4282ad41f5526319985b1 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent0c63122713c2d719789aef4bdfaf4e0b29c3b79e (diff)
downloadllvm-f179486204135b67af53dcdd45c4b4f16dce2801.zip
llvm-f179486204135b67af53dcdd45c4b4f16dce2801.tar.gz
llvm-f179486204135b67af53dcdd45c4b4f16dce2801.tar.bz2
[AsmPrint] Correctly factor function entry count when dumping MBB frequencies (#67826)
The goal in #66818 was to capture function entry counts, but those are not the same as the frequency of the entry (machine) basic block. This fixes that, and adds explicit profiles to the test. We also increase the precision of `MachineBlockFrequencyInfo::getBlockFreqRelativeToEntryBlock` to double. Existing code uses it as float so should be unaffected.
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions