[PATCH] D36795: [SystemZ] Increase number of LOCRs emitted by passing regalloc hints

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 19 06:42:10 PDT 2017


jonpa updated this revision to Diff 115834.
jonpa added a comment.

Experiments with mixed GRX32 allocation order (%R0-%R5) as well as trying to get more high-high LOCRMux allocations whenever possible have been removed. Benchmarking has shown that the first version (without these two extras) is still the best version, it seems. The idea was to get more high-high allocations.

There is a great unbalance between low-low and high-high allocations (nearly all become low-low), but the important thing is that all the mixed allocations have been eliminated.

No test regressions.


https://reviews.llvm.org/D36795

Files:
  include/llvm/Target/TargetRegisterInfo.h
  lib/CodeGen/AllocationOrder.cpp
  lib/CodeGen/AllocationOrder.h
  lib/CodeGen/TargetRegisterInfo.cpp
  lib/Target/ARM/ARMBaseRegisterInfo.cpp
  lib/Target/ARM/ARMBaseRegisterInfo.h
  lib/Target/SystemZ/SystemZInstrInfo.cpp
  lib/Target/SystemZ/SystemZRegisterInfo.cpp
  lib/Target/SystemZ/SystemZRegisterInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36795.115834.patch
Type: text/x-patch
Size: 13182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/121d2429/attachment.bin>


More information about the llvm-commits mailing list