[PATCH] Add getSizeInBits function to the APFloat class

hfinkel at anl.gov hfinkel at anl.gov
Wed Mar 18 08:08:41 PDT 2015


================
Comment at: lib/Support/APFloat.cpp:3374
@@ +3373,3 @@
+  if (&Sem == (const llvm::fltSemantics*)&IEEEhalf)
+    return 16;
+
----------------
Why not just add this number to the fltSemantics structure itself?

http://reviews.llvm.org/D8413

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list