17 Commits

Author SHA1 Message Date
Mircea Trofin
c49965b97e [mlgo] Fix post PR #76919
Relaxed a bit the opcode checks to make the test less sensitive to
changes resulting in opcode numbering.
2024-01-05 09:10:03 -08:00
Mircea Trofin
cda388c440 [mlgo] Fix test post PR #76697
Opcode values changed, trivial fix.
2024-01-03 19:38:03 -08:00
Mircea Trofin
dc1931a8c5 [mlgo] Fix post PR #76319
Some opcodes changed.
2023-12-28 08:28:51 -08:00
Mircea Trofin
7832a8582a [mlgo] Fix test post PR #73899
Opcode value change.
2023-12-01 09:05:22 -08:00
Mircea Trofin
06e113af4c [mlgo] Fix test post 42d484082cd190400e0e493a8d679762ce0efbba
The opcodes got bumped, and an expected 1299 became 1300.
2023-11-22 07:25:04 -08:00
AdityaK
b7669ed95f
Fix error message when regalloc eviction advisor analysis could not be created (#72165) 2023-11-14 11:17:17 -08:00
Mircea Trofin
840bf2a0bb [mlgo][regalloc] Fix tests post 9a091de7 2023-10-27 14:03:25 -07:00
Mircea Trofin
c362cc2705 [mlgo][regalloc] Fix reference file post e3cf80c 2023-10-25 11:23:15 -07:00
Mircea Trofin
ec0645939b Revert "[mlgo] Fix tests post 760e7d0"
This reverts commit ab91e05e48d9ea47b60858dc259bdbf00dfde7fa.

This is because 760e7d0 has been reverted in 3fb5b18.
2023-10-24 08:43:32 -07:00
Mircea Trofin
ab91e05e48 [mlgo] Fix tests post 760e7d0 2023-10-17 12:19:54 -07:00
Mircea Trofin
b6e568da66 [mlgo] fix test post #67826 2023-09-29 18:24:35 -07:00
Aiden Grossman
3dc2f2618b
[MLGO] Move MBB Profile Dump test to Generic (#66856)
This patch moves the MBB Profile Dump to ./llvm/test/CodeGen/Generic
from ./llvm/test/CodeGen/MlRegAlloc as the profile dump doesn't have
anything to do with the ML guided register allocation heuristic.
2023-09-20 11:50:33 -07:00
Mircea Trofin
d8873df4dc
[AsmPrint] Dump raw frequencies in -mbb-profile-dump (#66818)
We were losing the function entry count, which is useful to check profile quality. For the original cases where we want
entrypoint-relative MBB frequencies, the user would just need to divide these values by the entrypoint (first MBB, with ID=0) value.
2023-09-19 14:37:06 -07:00
Mircea Trofin
a21d4abc89 [mlgo] Fix tests post PR #66334 2023-09-19 07:34:20 -07:00
Mircea Trofin
0af95c3262 [mlgo] Fix regalloc tests
Post - D156491 or cbdccb3. Just re-based reference outputs.
2023-09-15 17:27:34 -04:00
Mircea Trofin
c1f8fdbb5c [mlgo] fix 2 regalloc tests post DAG change
The tests check against an expected output file - trivial change.

Reference: either D158068 or e6b85c3
2023-09-13 11:48:47 -04:00
Matt Arsenault
65b40f273f RegAlloc: Rename MLRegalloc* files to use consistent captalization
The other regalloc related files use RegAlloc, not Regalloc.
2023-09-03 09:00:27 -04:00