[PATCH] D94454: [PowerPC] Exploit the vinsw, vinsd, and vins[wd][lr]x instructions on P10
Baptiste Saleil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 14:42:07 PST 2021
bsaleil marked 2 inline comments as done.
bsaleil added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1235
+
+ if (Subtarget.hasP10Vector()) {
+ setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2i64, Custom);
----------------
Conanap wrote:
> should we be using `Subtarget.isISA3_1()` instead?
You're right, I changed that.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94454/new/
https://reviews.llvm.org/D94454
More information about the llvm-commits
mailing list