[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
Thu Nov 9 01:26:40 PST 2017
jonpa updated this revision to Diff 122208.
jonpa added a comment.
Functions inlined per review.
patch impact on risb/locr instruction counts on SPEC as of latest performance measurement:
risblg : 8624 8442 -182
locrhe : 926 999 +73
risbhg : 2057 1995 -62
locrl : 1626 1658 +32
locrle : 453 482 +29
locre : 1039 1064 +25
...
Spill|Reload : 165135 165218 +83
--stats:
1 systemz-II - Number of LOCRMux jump-sequences (lower is better)
(one LOCRMux not handled with patch, I think this is due to a regalloc eviction, which would be more complex to handle)
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
test/CodeGen/SystemZ/cond-move-04.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36795.122208.patch
Type: text/x-patch
Size: 14543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171109/09579059/attachment.bin>
More information about the llvm-commits
mailing list