Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1617)

Unified Diff: test/CodeGen/target-data.c

Issue 1022123003: clang: add support for asmjs arch and Emscripten OS (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Patch Set: Address comments. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/CodeGen/emscripten-regparm.c ('k') | test/CodeGenCXX/member-function-pointers.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/CodeGen/target-data.c
diff --git a/test/CodeGen/target-data.c b/test/CodeGen/target-data.c
index 242fded3c48b2a4be064f1edd46a40fd643d1ee4..32ea9a78cea331b3731a0ea5f238c9e0651769af 100644
--- a/test/CodeGen/target-data.c
+++ b/test/CodeGen/target-data.c
@@ -78,6 +78,10 @@
// RUN: FileCheck %s -check-prefix=LE32-NACL
// LE32-NACL: target datalayout = "e-p:32:32-i64:64-n32"
+// RUN: %clang_cc1 -triple asmjs-emscripten -o - -emit-llvm %s | \
+// RUN: FileCheck %s -check-prefix=ASMJS-EMSCRIPTEN
+// ASMJS-EMSCRIPTEN: target datalayout = "e-p:32:32-i64:64-v128:32:128-n32-S128"
+
// RUN: %clang_cc1 -triple powerpc-unknown -o - -emit-llvm %s | \
// RUN: FileCheck %s -check-prefix=PPC
// PPC: target datalayout = "E-m:e-p:32:32-i64:64-n32"
« no previous file with comments | « test/CodeGen/emscripten-regparm.c ('k') | test/CodeGenCXX/member-function-pointers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698