[all-commits] [llvm/llvm-project] 110340: [PowerPC][GIsel] Materialize i64 constants.

Kai Nacke via All-commits all-commits at lists.llvm.org
Thu Dec 15 13:23:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 110340c687ccdd894079e59e281bbee4191adbac
      https://github.com/llvm/llvm-project/commit/110340c687ccdd894079e59e281bbee4191adbac
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

  Changed paths:
    M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
    A llvm/test/CodeGen/PowerPC/GlobalISel/ppc-isel-constant.ll

  Log Message:
  -----------
  [PowerPC][GIsel] Materialize i64 constants.

Adds support for i64 constant. It uses the same pattern-based
approach as in SDAG (see PPCISelDAGToDAG::selectI64ImmDirect(),
PPCISelDAGToDAG::selectI64Imm()). It does not support the
prefixed instructions.

Reviewed By: arsenm, tschuett

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




More information about the All-commits mailing list