[PATCH] D140069: [DAGCombiner] Scalarize vectorized loads that are splatted

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 04:30:07 PST 2023


luke added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/canonical-merge-shuffles.ll:1149-1162
+; P8-AIX-32-LABEL: testSplati64_1:
+; P8-AIX-32:       # %bb.0: # %entry
+; P8-AIX-32-NEXT:    lwz r4, L..C4(r2) # %const.0
+; P8-AIX-32-NEXT:    lwz r5, 12(r3)
+; P8-AIX-32-NEXT:    lwz r3, 8(r3)
+; P8-AIX-32-NEXT:    stw r5, -16(r1)
+; P8-AIX-32-NEXT:    stw r3, -32(r1)
----------------
RKSimon wrote:
> luke wrote:
> > These extra lines replace the old `P8-AIX` prefixed checks that must have been left behind
> Aren't the P8-AIX/P8-AIX-32/P8-AIX-64 checks still used? There's more likely an issue with aix-32 having a legal <2 x i64> type but no the i64 type
Sorry you're right, not sure why I believed that. So if I'm understanding this correctly now, `P8-AIX-NEXT` checks are generated whenever aix-32 and aix-64 have the same lines.
Will take a look


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140069



More information about the llvm-commits mailing list