aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Transforms/LoopFusion.cpp
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2021-08-16 14:17:43 -0700
committerHongtao Yu <hoy@fb.com>2021-08-16 17:22:30 -0700
commitf27fee623d0124c64a73374d0256819396647864 (patch)
tree1be8dc7e5d503afa9f515ae9603e3dd67798bec2 /mlir/lib/Transforms/LoopFusion.cpp
parent9ed4a94d6451046a51ef393cd62f00710820a7e8 (diff)
downloadllvm-f27fee623d0124c64a73374d0256819396647864.zip
llvm-f27fee623d0124c64a73374d0256819396647864.tar.gz
llvm-f27fee623d0124c64a73374d0256819396647864.tar.bz2
[SamplePGO][NFC] Dump function profiles in order
Sample profiles are stored in a string map which is basically an unordered map. Printing out profiles by simply walking the string map doesn't enforce an order. I'm sorting the map in the decreasing order of total samples to enable a more stable dump, which is good for comparing two dumps. Reviewed By: wenlei, wlei Differential Revision: https://reviews.llvm.org/D108147
Diffstat (limited to 'mlir/lib/Transforms/LoopFusion.cpp')
0 files changed, 0 insertions, 0 deletions