Files
clang-p2996/llvm/test/CodeGen/AVR
Guozhi Wei 6599961c17 [TwoAddressInstructionPass] Improve the SrcRegMap and DstRegMap computation
This patch contains following enhancements to SrcRegMap and DstRegMap:

  1 In findOnlyInterestingUse not only check if the Reg is two address usage,
    but also check after commutation can it be two address usage.

  2 If a physical register is clobbered, remove SrcRegMap entries that are
    mapped to it.

  3 In processTiedPairs, when create a new COPY instruction, add a SrcRegMap
    entry only when the COPY instruction is coalescable. (The COPY src is
    killed)

With these enhancements isProfitableToCommute can do better commute decision,
and finally more register copies are removed.

Differential Revision: https://reviews.llvm.org/D108731
2021-10-11 15:28:31 -07:00
..
2021-05-30 23:44:43 +08:00
2021-03-03 15:36:05 +01:00
2021-01-26 17:50:56 +08:00
2021-03-03 15:36:05 +01:00
2021-07-24 14:03:26 +02:00
2021-02-14 11:54:55 +08:00