[PATCH] D27872: [APFloat] Switch from (PPCDoubleDoubleImpl, IEEEdouble) layout to (IEEEdouble, IEEEdouble)

Akira Hatanaka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 16:36:10 PST 2016


ahatanak added inline comments.


================
Comment at: llvm/include/llvm/ADT/APFloat.h:773
+      return U.IEEE.makeZero(Neg);
+    } else if (usesLayout<DoubleAPFloat>(getSemantics())) {
+      return U.Double.makeZero(Neg);
----------------
You don't need else after return.


https://reviews.llvm.org/D27872





More information about the llvm-commits mailing list