[PATCH] D93937: [PowerPC] [NFC] Remove dead code in BUILD_VECTOR peephole

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 02:48:02 PST 2020


RKSimon accepted this revision.
RKSimon added a comment.
This revision is now accepted and ready to land.

LGTM - cheers.



================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:9583
     // t = vsplti c, result = vsldoi t, t, 3
     if (SextVal == (int)(((unsigned)i << 24) | (i < 0 ? 0xFFFFFF : 0))) {
       SDValue T = getCanonicalConstSplat(i, SplatSize, MVT::v16i8, DAG, dl);
----------------
Have you been able to look at these at all? PR47942 mentions that we have no code coverage for the vsldoi 2/3 cases


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93937/new/

https://reviews.llvm.org/D93937



More information about the llvm-commits mailing list