[all-commits] [llvm/llvm-project] f09b89: [SystemZ] Improve foldMemoryOperandImpl()
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Wed Mar 25 08:29:10 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f09b891d4a3f1446f561f3287705fe29ddfe1432
https://github.com/llvm/llvm-project/commit/f09b891d4a3f1446f561f3287705fe29ddfe1432
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2020-03-25 (Wed, 25 Mar 2020)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp
A llvm/test/CodeGen/SystemZ/foldmemop-imm-01.ll
A llvm/test/CodeGen/SystemZ/foldmemop-imm-02.mir
Log Message:
-----------
[SystemZ] Improve foldMemoryOperandImpl()
A spilled load of an immediate can use MVHI/MVGHI instead.
A compare of a spilled register against an immediate can use CHSI/CGHSI.
A logical compare can use CLFHSI/CLGHSI.
Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D76055
More information about the All-commits
mailing list