5 Commits

Author SHA1 Message Date
Mircea Trofin
4afb1ee7bc Specify target triple for bb-prefix-dump.ll
Differential Revision: https://reviews.llvm.org/D143815
2023-02-11 14:02:44 -08:00
Aiden Grossman
5ba3960113 [MLGO] Disable BB Profile Dump Test on NVPTX 2023-02-11 03:05:11 -08:00
Aiden Grossman
09e0f48c0a [MLGO] Enable BB Profile Dump Test without TFLite
In the very initial version of the patch that introduced this test I had
it only being conditionally compiled when in MLGO development mode (ie
when HAVE_TFLITE is true), but after some revision it is enabled all the
time and thus should be tested all the time. This patch fixes this
leftover behavior that should've been fixed in the original change set.
2023-02-11 02:38:37 -08:00
Aiden Grossman
08b1708084 [MLGO] Update test for MBB Profile Dump
This patch updates the test for the MBB profile dump to include a
function that has multiple basic blocks so that we can test the
numbering of multiple basic blocks within an individual function.
2023-02-09 17:51:07 +00:00
Aiden Grossman
a95aa86b53 [MLGO] Add BB Profile Dump in AsmPrinter
This patch adds a basic block profile dump option within the AsmPrinter
and dumps basic block profile information so that cost models can use
the data for downstream analysis.

Differential Revision: https://reviews.llvm.org/D143311
2023-02-08 23:13:42 +00:00