[all-commits] [llvm/llvm-project] 6333e5: [BOLT][NFC] Use colors in CFG dumps
Amir Ayupov via All-commits
all-commits at lists.llvm.org
Thu Jun 2 00:27:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6333e5dde9872ae56d7979432a76f83cf7ac6820
https://github.com/llvm/llvm-project/commit/6333e5dde9872ae56d7979432a76f83cf7ac6820
Author: Amir Ayupov <aaupov at fb.com>
Date: 2022-06-02 (Thu, 02 Jun 2022)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT][NFC] Use colors in CFG dumps
Use color coding to distinguish nodes:
- Entry nodes have bold border
- Scalar (non-loopy) code is milk white
- Outer loops are light yellow
- Innermost loops are light blue
`-print-loops` needs to be enabled to provide BinaryLoopInfo.
Examples:
{F23170673}
{F23170680}
Reviewed By: rafauler
Differential Revision: https://reviews.llvm.org/D126248
More information about the All-commits
mailing list