[llvm] [NVPTX] Vectorize and lower 256-bit global loads/stores for sm_100+/ptx88+ (PR #139292)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Fri May 9 10:24:31 PDT 2025


================
@@ -319,6 +319,9 @@ void NVPTXInstPrinter::printLdStCode(const MCInst *MI, int OpNum,
     case NVPTX::PTXLdStInstCode::V4:
       O << ".v4";
       return;
+    case NVPTX::PTXLdStInstCode::V8:
----------------
AlexMaclean wrote:

Why is this value stored in the instruction and printed via a flag? It seems like each instruction is only capable of representing one type of vector as the number of output operands is fixed. 

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


More information about the llvm-commits mailing list