[all-commits] [llvm/llvm-project] 62ff99: [SystemZ] Improve foldMemoryOperandImpl().
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Tue Mar 10 07:56:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 62ff9960d337cd24d633d7dd38b49baaee05cf26
https://github.com/llvm/llvm-project/commit/62ff9960d337cd24d633d7dd38b49baaee05cf26
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2020-03-10 (Tue, 10 Mar 2020)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/SystemZ/SystemZInstrFormats.td
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
M llvm/lib/Target/SystemZ/SystemZInstrInfo.h
M llvm/lib/Target/SystemZ/SystemZInstrInfo.td
A llvm/test/CodeGen/SystemZ/cond-move-10.ll
A llvm/test/CodeGen/SystemZ/int-cmp-56.mir
Log Message:
-----------
[SystemZ] Improve foldMemoryOperandImpl().
Swap the compare operands if LHS is spilled while updating the CCMask:s of
the CC users. This is relatively straight forward since the live-in lists for
the CC register can be assumed to be correct during register allocation
(thanks to 659efa2).
Also fold a spilled operand of an LOCR/SELR into an LOC(G).
Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D67437
More information about the All-commits
mailing list