[PATCH] D37899: [SystemZ] Implement shouldCoalesce() to help regalloc to avoid running out of registers with GR128 regs

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


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

Test cases updated. As expected, there are now more register moves whenever the coalescer is disabled by this patch.


https://reviews.llvm.org/D37899

Files:
  lib/Target/SystemZ/SystemZRegisterInfo.cpp
  lib/Target/SystemZ/SystemZRegisterInfo.h
  test/CodeGen/SystemZ/atomic-load-05.ll
  test/CodeGen/SystemZ/atomic-store-05.ll
  test/CodeGen/SystemZ/cmpxchg-06.ll
  test/CodeGen/SystemZ/int-div-01.ll
  test/CodeGen/SystemZ/int-div-02.ll
  test/CodeGen/SystemZ/int-div-03.ll
  test/CodeGen/SystemZ/int-div-04.ll
  test/CodeGen/SystemZ/int-div-05.ll
  test/CodeGen/SystemZ/int-div-06.ll
  test/CodeGen/SystemZ/int-mul-08.ll
  test/CodeGen/SystemZ/int-mul-10.ll
  test/CodeGen/SystemZ/pr32372.ll
  test/CodeGen/SystemZ/regalloc-GR128.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37899.115832.patch
Type: text/x-patch
Size: 35578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170919/7b5df224/attachment.bin>


More information about the llvm-commits mailing list