[PATCH] D105596: [PowerPC] Custom Lowering BUILD_VECTOR for v2i64 for P7 as well

Jinsong Ji via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 7 14:59:34 PDT 2021


jsji created this revision.
jsji added reviewers: PowerPC, nemanjai, shchenz.
Herald added subscribers: kbarton, hiraditya, qcolombet.
jsji requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The lowering for v2i64 is now guarded with hasDirectMove,
however, the current lowering can handle the pattern correctly,
only lowering it when there is efficient patterns and corresponding
instructions.

The original guard was added in D21135 <https://reviews.llvm.org/D21135>, and was for Legal action.
The code has evloved now, this guard is not necessary anymore.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105596

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/aix-vec-arg-spills-mir.ll
  llvm/test/CodeGen/PowerPC/aix-vec-arg-spills.ll
  llvm/test/CodeGen/PowerPC/build-vector-allones.ll
  llvm/test/CodeGen/PowerPC/load-and-splat.ll
  llvm/test/CodeGen/PowerPC/vector-popcnt-128-ult-ugt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105596.357086.patch
Type: text/x-patch
Size: 22712 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210707/caf752df/attachment.bin>


More information about the llvm-commits mailing list