[llvm] [NVPTX] Generalize and extend upsizing when lowering 8/16-bit-element vector loads/stores (PR #119622)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 11:58:25 PST 2024


================
@@ -3211,14 +3236,17 @@ NVPTXTargetLowering::LowerSTOREVector(SDValue Op, SelectionDAG &DAG) const {
     EVT EltVT = ValVT.getVectorElementType();
     unsigned NumElts = ValVT.getVectorNumElements();
 
+    if (UpsizeElementTypes) {
----------------
Artem-B wrote:

Stype nit: no need for `{}` around single statement bodies.

https://github.com/llvm/llvm-project/pull/119622


More information about the llvm-commits mailing list