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

Eli Bendersky via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 16 09:52:11 PST 2016


eliben added inline comments.

================
Comment at: lib/CodeGen/TargetInfo.cpp:6498
@@ +6497,3 @@
+
+  Class classify(QualType Ty) const;
+
----------------
jpienaar wrote:
> We only had one DefaultNumRegisterParameters that we supported (DefaultNumRegisterParameters=4) so I just propagated the constant, removed the member variable and added a comment at its use.
SG, thanks

================
Comment at: test/CodeGen/lanai-arguments.c:1
@@ +1,2 @@
+// RUN: %clang_cc1 -triple wasm32-unknown-unknown %s -emit-llvm -o - \
+// RUN:   | FileCheck %s -check-prefix=LANAI
----------------
why wasm triple?


http://reviews.llvm.org/D17002





More information about the cfe-commits mailing list