[PATCH] D106353: [PowerPC] use lfiwax/lfiwzx for scalar_to_vector + load at PWR7
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 20 22:27:03 PDT 2021
lkail added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:10522
+ // td files have pseudo instruction LIWZX for this case.
+ if (!Subtarget.hasVSX() || Subtarget.hasP8Vector())
+ return SDValue();
----------------
Is `!Subtarget.hasVSX()` a typo? It looks not consistent with the comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106353/new/
https://reviews.llvm.org/D106353
More information about the llvm-commits
mailing list