[PATCH] D69601: [Power9] Implement the vector extend sign instruction pattern match

Qing Shan Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 19:36:12 PDT 2019


steven.zhang created this revision.
steven.zhang added reviewers: nemanjai, jsji, hfinkel, PowerPC.
Herald added subscribers: wuzish, kbarton, hiraditya.
Herald added a project: LLVM.

Power9 has instructions to implement the semantics of SIGN_EXTEND_INREG for vector type. Mark it as legal and add the match pattern.


https://reviews.llvm.org/D69601

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCInstrVSX.td
  llvm/test/CodeGen/PowerPC/vector-extend-sign.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69601.227017.patch
Type: text/x-patch
Size: 8092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191030/27e078e4/attachment.bin>


More information about the llvm-commits mailing list