[PATCH] D12148: [ARM] Allow passing/returning of __fp16 arguments

Renato Golin via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 24 03:34:34 PDT 2015


rengolin added inline comments.

================
Comment at: lib/Driver/Tools.cpp:4254
@@ -4253,2 +4253,3 @@
   if (getToolChain().getArch() == llvm::Triple::aarch64 ||
-      getToolChain().getArch() == llvm::Triple::aarch64_be)
+      getToolChain().getArch() == llvm::Triple::aarch64_be ||
+      getToolChain().getArch() == llvm::Triple::arm ||
----------------
This could use the TargetParser to match the arch. If it's not invalid, it's ARM. Or a switch, maybe.


Repository:
  rL LLVM

http://reviews.llvm.org/D12148





More information about the cfe-commits mailing list