[all-commits] [llvm/llvm-project] 9ca9fe: [SystemZ] Don't shrink 64-bit FP constants.

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Thu Jan 27 14:15:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ca9fee6e8440d31b121773c9aa9513296a3ca26
      https://github.com/llvm/llvm-project/commit/9ca9fee6e8440d31b121773c9aa9513296a3ca26
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2022-01-27 (Thu, 27 Jan 2022)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.h
    M llvm/test/CodeGen/SystemZ/args-07.ll
    M llvm/test/CodeGen/SystemZ/fp-const-04.ll
    M llvm/test/CodeGen/SystemZ/fp-conv-10.ll
    M llvm/test/CodeGen/SystemZ/fp-conv-12.ll
    M llvm/test/CodeGen/SystemZ/fp-strict-conv-10.ll
    M llvm/test/CodeGen/SystemZ/fp-strict-conv-12.ll
    M llvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll

  Log Message:
  -----------
  [SystemZ] Don't shrink 64-bit FP constants.

Return false from ShouldShrinkFPConstant(), so that these constants are stored
in their full size on the constant pool, even if they could have been shrunk
and used with an extending load.

This is better since LD is faster than LDE, and it also enables reg/mem opcodes.

Review: Ulrich Weigand

Differential Revision: https://reviews.llvm.org/D117927




More information about the All-commits mailing list