[PATCH] D140119: [PowerPC][GIsel] Materialize i64 constants.

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 10:18:30 PST 2022


Kai created this revision.
Kai added reviewers: nemanjai, shchenz, amyk, arsenm, aemerson.
Herald added subscribers: kbarton, hiraditya.
Herald added a project: All.
Kai requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D140119

Files:
  llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
  llvm/test/CodeGen/PowerPC/GlobalISel/ppc-isel-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140119.483226.patch
Type: text/x-patch
Size: 28167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221215/9f620bc8/attachment.bin>


More information about the llvm-commits mailing list