[llvm] [NVPTX] Basic support for fp128 as a storage type (PR #136006)

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 13:36:30 PDT 2025


================
@@ -1682,29 +1673,37 @@ void NVPTXAsmPrinter::bufferLEByte(const Constant *CPV, int Bytes,
 void NVPTXAsmPrinter::bufferAggregateConstant(const Constant *CPV,
                                               AggBuffer *aggBuffer) {
   const DataLayout &DL = getDataLayout();
-  int Bytes;
 
-  // Integers of arbitrary width
-  if (const ConstantInt *CI = dyn_cast<ConstantInt>(CPV)) {
-    APInt Val = CI->getValue();
+  auto BufferConstant = [&](APInt Val) {
----------------
AlexMaclean wrote:

Renamed.

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


More information about the llvm-commits mailing list