1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-22 20:52:02 +00:00
Ryujinx/ARMeilleure/CodeGen/Optimizations
FICTURE7 fbf40424f4
Add an early TailMerge pass (#2721)
* Add an early `TailMerge` pass

Some translations can have a lot of guest calls and since for each guest
call there is a call guard which may return. This can produce a lot of
epilogue code for returns. This pass merges the epilogue into a single
block.

```
Using filter 'hcq'.
Using metric 'code size'.

Total diff: -1648111 (-7.19 %) (bytes):
  Base: 22913847
  Diff: 21265736

Improved: 4567, regressed: 14, unchanged: 144
```

* Set PTC version

* Address feedback

* Handle `void` returning functions

* Actually handle `void` returning functions

* Fix `RegisterToLocal` logging
2021-10-18 19:51:22 -03:00
..
BlockPlacement.cs Add an early TailMerge pass (#2721) 2021-10-18 19:51:22 -03:00
ConstantFolding.cs Reduce JIT GC allocations (#2515) 2021-08-17 15:08:34 -03:00
Optimizer.cs Reduce JIT GC allocations (#2515) 2021-08-17 15:08:34 -03:00
Simplification.cs Fix type mismatch in BitwiseAnd simplification (#2571) 2021-08-20 14:42:00 -03:00
TailMerge.cs Add an early TailMerge pass (#2721) 2021-10-18 19:51:22 -03:00