[PATCH] D116463: [SPIRV 4/6] Add target lowering, TargetMachine and AsmPrinter

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 28 14:04:15 PDT 2022


arsenm added inline comments.


================
Comment at: llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp:23
+  // Avoid fail on v3i1 argument. Maybe we need to return 1 for all types.
+  if (VT.isVector() && VT.getVectorNumElements() == 3 &&
+      (VT.getVectorElementType() == MVT::i1 ||
----------------
Do you need either of these hacks anymore? The support for odd sized vectors has improved in recent years


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

https://reviews.llvm.org/D116463



More information about the llvm-commits mailing list