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

Alex MacLean via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 07:32:54 PDT 2025


================
@@ -125,6 +125,12 @@ class LLVM_LIBRARY_VISIBILITY NVPTXAsmPrinter : public AsmPrinter {
       return curpos;
     }
 
+    void addByte(uint8_t Byte) {
+      assert((curpos + 1) <= size);
+      buffer[curpos] = Byte;
+      curpos++;
+    }
+
     unsigned addZeros(int Num) {
       assert((curpos + Num) <= size);
       for (int i = 0; i < Num; ++i) {
----------------
AlexMaclean wrote:

Fixed.

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


More information about the llvm-commits mailing list