[llvm] [NVPTX] Vectorize loads when lowering of byval calls, misc. cleanup (PR #151070)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 22:10:39 PDT 2025


================
@@ -382,6 +382,51 @@ static void ComputePTXValueVTs(const TargetLowering &TLI, const DataLayout &DL,
   }
 }
 
+static EVT getVectorizedVT(EVT VT, unsigned N, LLVMContext &C) {
----------------
AlexMaclean wrote:

Nice. Switched to doing it like this.

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


More information about the llvm-commits mailing list