[PATCH] D117803: [PowerPC] Update handling of splat loads for v4i32/v4f32/v2i64 to require non-extending loads.

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 12:13:24 PST 2022


amyk updated this revision to Diff 402066.
amyk added a comment.

Address Nemanja's review comments:

- Add a comment as to why extending loads are allowed for i8/i16 types (because they're not legal types)
- Change the cast to LoadSDNode to dyn_cast, add early exits


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117803/new/

https://reviews.llvm.org/D117803

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/test/CodeGen/PowerPC/load-and-splat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117803.402066.patch
Type: text/x-patch
Size: 5341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220121/e90153ab/attachment.bin>


More information about the llvm-commits mailing list