<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">This broke buildbots:<div><br></div><div><a href="http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/259">http://lab.llvm.org:8013/builders/clang-x86_64-darwin11-nobootstrap-RAincremental/builds/259</a></div><div><br><div><div>On Apr 10, 2013, at 3:10 PM, Jack Carter <<a href="mailto:jack.carter@imgtec.com">jack.carter@imgtec.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Author: jacksprat<br>Date: Wed Apr 10 17:10:45 2013<br>New Revision: 179229<br><br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project?rev=179229&view=rev">http://llvm.org/viewvc/llvm-project?rev=179229&view=rev</a><br>Log:<br>Mips specific inline asm memory operand modifier test case<br><br>These changes are based on commit responses for r179135.<br><br><br>Added:<br>   cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c<br><br>Added: cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c<br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c?rev=179229&view=auto">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c?rev=179229&view=auto</a><br>==============================================================================<br>--- cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c (added)<br>+++ cfe/trunk/test/CodeGen/mips-inline-asm-modifiers.c Wed Apr 10 17:10:45 2013<br>@@ -0,0 +1,35 @@<br>+// RUN: %clang -target mipsel-unknown-linux -S -o - -emit-llvm %s \<br>+// RUN: | FileCheck %s<br>+<br>+// This checks that the frontend will accept inline asm operand modifiers<br>+<br>+#include "stdio.h"<br>+<br>+  // CHECK: %{{[0-9]+}} = call i32 asm ".set noreorder;\0Alw    $0,$1;\0A.set reorder;\0A", "=r,*m"(i32* getelementptr inbounds ([8 x i32]* @b, i32 {{[0-9]+}}, i32 {{[0-9]+}})) #2, !srcloc !0<br>+  // CHECK: %{{[0-9]+}} = call i32 asm "lw    $0,${1:D};\0A", "=r,*m"(i32* getelementptr inbounds ([8 x i32]* @b, i32 {{[0-9]+}}, i32 {{[0-9]+}})) #2, !srcloc !1<br>+int b[8] = {0,1,2,3,4,5,6,7};<br>+int  main()<br>+{<br>+  int i;<br>+<br>+  // The first word. Notice, no 'D'<br>+  {asm (<br>+  ".set noreorder;\n"<br>+  "lw    %0,%1;\n"<br>+  ".set reorder;\n"<br>+  : "=r" (i)<br>+  : "m" (*(b+4)));}<br>+<br>+  printf("%d\n",i);<br>+<br>+  // The second word<br>+  {asm (<br>+  "lw    %0,%D1;\n"<br>+  : "=r" (i)<br>+  : "m" (*(b+4))<br>+  );}<br>+<br>+  printf("%d\n",i);<br>+<br>+  return 1;<br>+}<br><br><br>_______________________________________________<br>cfe-commits mailing list<br><a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a></div></blockquote></div><br></div></body></html>