[PATCH] D70771: [PowerPC] Replace the PPCISD:: SExtVElems with ISD::SIGN_EXTEND_INREG to leverage the combine rules
qshanz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 16 18:18:16 PST 2020
steven.zhang updated this revision to Diff 244908.
steven.zhang added a comment.
Rebase the patch. And I think the test case added by https://reviews.llvm.org/D34009 already cover my patch. We are combing the instructions into sext_inreg instead of Power specific node SExtVElems, and then, it is selected as hw instruction which is defined in the pattern td.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70771/new/
https://reviews.llvm.org/D70771
Files:
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.h
llvm/lib/Target/PowerPC/PPCInstrInfo.td
llvm/lib/Target/PowerPC/PPCInstrVSX.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70771.244908.patch
Type: text/x-patch
Size: 5398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/05cb934b/attachment.bin>
More information about the llvm-commits
mailing list