<div dir="ltr">Why is it tested in clang?<br><br>FYI, update CLANG_TEST_DEPS in clang/test/CMakeLists.txt, if it would remain in clang/test.</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 14, 2015 at 8:24 PM Simon Atanasyan via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: atanasyan<br>
Date: Mon Sep 14 06:23:02 2015<br>
New Revision: 247548<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=247548&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=247548&view=rev</a><br>
Log:<br>
[mips] Add test case to check ABI flag emissions in case of inline assembler<br>
<br>
Follow up to r247546. The test case reproduces the problem fixed by this commit.<br>
<br>
Added:<br>
    cfe/trunk/test/CodeGen/mips-inline-asm-abi.c<br>
<br>
Added: cfe/trunk/test/CodeGen/mips-inline-asm-abi.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mips-inline-asm-abi.c?rev=247548&view=auto" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mips-inline-asm-abi.c?rev=247548&view=auto</a><br>
==============================================================================<br>
--- cfe/trunk/test/CodeGen/mips-inline-asm-abi.c (added)<br>
+++ cfe/trunk/test/CodeGen/mips-inline-asm-abi.c Mon Sep 14 06:23:02 2015<br>
@@ -0,0 +1,12 @@<br>
+// REQUIRES: mips-registered-target<br>
+// RUN: %clang_cc1 -triple mips-linux-gnu -emit-obj -o - %s | \<br>
+// RUN:   llvm-readobj -h - | FileCheck %s<br>
+<br>
+// CHECK: EF_MIPS_ABI_O32<br>
+<br>
+__asm__(<br>
+"bar:\n"<br>
+"  nop\n"<br>
+);<br>
+<br>
+void foo() {}<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>