[all-commits] [llvm/llvm-project] b85a9b: [PowerPC] Try to use less instructions to material...

Esme via All-commits all-commits at lists.llvm.org
Thu Sep 7 10:03:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b85a9b3093a9c29604fdf5a03d049e5c85d0b92d
      https://github.com/llvm/llvm-project/commit/b85a9b3093a9c29604fdf5a03d049e5c85d0b92d
  Author: esmeyi <esme.yi at ibm.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
    M llvm/test/CodeGen/PowerPC/constants-i64.ll

  Log Message:
  -----------
  [PowerPC] Try to use less instructions to materialize 64-bit constant when High32=Low32.

Summary: Materialization a 64-bit constant with High32=Low32 only requires 2 instructions instead of 3 when Low32 can be materialized in 1 instruction.

Reviewed By: qiucf

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




More information about the All-commits mailing list