[PATCH] D33225: [PowerPC] Fix a performance bug for PPC::XXSLDWI.

Tony Jiang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 08:47:38 PDT 2017


jtony closed this revision.
jtony marked 7 inline comments as done.
jtony added inline comments.


================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:1668
+bool PPC::isXXSLDWIShuffleMask(ShuffleVectorSDNode *N, unsigned &ShiftElts,
+                               bool &Swap, bool IsLE) {
+  if (N->getValueType(0) != MVT::v16i8)
----------------
echristo wrote:
> I'd like to try to pull out the bool operands from these routines. If not in this patch, but in a follow up patch if possible.
An issue is created for pulling out the bool operands,  here is the link:  https://github.ibm.com/llvm/llvm-on-power/issues/392


https://reviews.llvm.org/D33225





More information about the llvm-commits mailing list