[PATCH] D126485: [SystemZ] Use SystemZVectorConstantInfo for more immediate stores.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 09:38:22 PDT 2022


jonpa added inline comments.


================
Comment at: llvm/lib/Target/SystemZ/SystemZISelLowering.cpp:6446
     auto FindReplicatedImm = [&](ConstantSDNode *C, unsigned TotBytes) {
       // Some constants are better handled with a scalar store.
+      if (C->getAPIntValue().getBitWidth() > 64 || C->isAllOnes() ||  // XXX
----------------
XXX is for maybe using isSupportedByScalarStore() here as well


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

https://reviews.llvm.org/D126485



More information about the llvm-commits mailing list