Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/68...@github.com>


================
@@ -134,6 +141,10 @@ class Floating final {
 
     return Floating(APFloat(Sem, API));
   }
+  void bitcastToMemory(std::byte *Buff) {
+    llvm::APInt API = F.bitcastToAPInt();
+    llvm::StoreIntToMemory(API, (uint8_t *)Buff, bitWidth() / 8);
----------------
cor3ntin wrote:

Should that use `getCharWidth()` ?

https://github.com/llvm/llvm-project/pull/68288
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to