[PATCH] D17002: [lanai] Add Lanai backend to clang driver

Jacques Pienaar via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 28 10:58:54 PDT 2016


jpienaar added a comment.

Updated, thanks


================
Comment at: lib/CodeGen/TargetInfo.cpp:6622-6626
@@ +6621,7 @@
+
+  if (const BuiltinType *BT = T->getAs<BuiltinType>()) {
+    BuiltinType::Kind K = BT->getKind();
+    if (K == BuiltinType::Float || K == BuiltinType::Double)
+      return Float;
+  }
+  return Integer;
----------------
majnemer wrote:
> Is floating point supported?
No, good point. I think we can remove this and introduce it again if floating point is supported.


http://reviews.llvm.org/D17002





More information about the cfe-commits mailing list