<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: Verdana, sans-serif; -webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><pre class="bz_comment_text" id="comment_text_0" style="font-size: medium; font-family: monospace; white-space: pre-wrap; width: 50em; ">
Could someone review the patch in <a href="http://llvm.org/bugs/show_bug.cgi?id=7221">http://llvm.org/bugs/show_bug.cgi?id=7221</a>?</pre><pre class="bz_comment_text" id="comment_text_0" style="font-size: medium; font-family: monospace; white-space: pre-wrap; width: 50em; ">
--- lib/Target/ARM/ARMCodeEmitter.cpp
+++ lib/Target/ARM/ARMCodeEmitter.cpp
       break;
     ++NumRegs;
   }
-  Binary |= NumRegs * 2;
+  // bit 8 will be set if <list> is consecutive 64-bit registers (e.g., d0)
+  if(Binary & 0x100)
+    Binary |= NumRegs * 2;
+  else
+    Binary |= NumRegs;

   emitWordLE(Binary);
 }</pre><pre class="bz_comment_text" id="comment_text_0" style="font-size: medium; font-family: monospace; white-space: pre-wrap; width: 50em; ">Thanks.</pre></span>