[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 Aug 22 06:08:25 PDT 2017
jonpa updated this revision to Diff 112161.
jonpa added a comment.
updateRegAllocHint() updated per off-line discussion, which indeed gave better results than before:
New runs after improving updateRegAllocHint() to do a better job regarding physregs. (Basically it was unnecessary to check if the old reg was a physreg; all we need to know is if the NewReg is a low/high regclass...)
BUILD Number of LOCRs_lo Number of LOCRs_hi Number of RISBs Number of spilled live ranges
LOCRCONSTRAIN + UPDATEHINT 6532 3 76 48970
LOCRHINTS + LOCRCONSTRAIN + UPDATEHINT 6576 26 9 48972
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/SystemZISelLowering.cpp
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.112161.patch
Type: text/x-patch
Size: 16192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170822/ab1fb8f5/attachment.bin>
More information about the llvm-commits
mailing list