[PATCH] D34032: [Power9] Exploit vector extract with variable index

Zaara Syeda via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 13 10:29:38 PDT 2017


syzaara updated this revision to Diff 102365.
syzaara added a comment.

1. Added patterns for each immediate element value so the LI doesn't need to be multiplied/shifted.
2. Clear the upper bits with the correct mask for rlwinm


https://reviews.llvm.org/D34032

Files:
  lib/Target/PowerPC/PPCInstrVSX.td
  test/CodeGen/PowerPC/vec_extract_p9.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34032.102365.patch
Type: text/x-patch
Size: 10066 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/3d5243ac/attachment.bin>


More information about the llvm-commits mailing list