<div dir="ltr">Replied here: <a href="http://llvm.org/bugs/show_bug.cgi?id=19117#c3">http://llvm.org/bugs/show_bug.cgi?id=19117#c3</a></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 13, 2014 at 2:24 PM, JB Feldman <span dir="ltr"><<a href="mailto:jb.feldman@kyrus-tech.com" target="_blank">jb.feldman@kyrus-tech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi guys, I'm working on: <a href="http://llvm.org/bugs/show_bug.cgi?id=19117" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=19117</a></div>
<div><br></div><div>I've already gotten it to the point where it properly handles the '.' operator in the inline asm, thankfully that one already had a function implemented for it. Now I'm getting a new error about invalid operands. To test, I have modified the code from the PR to the following:</div>
<div><br></div><div><div>int foo (LARGE_INTEGER LargeInteger, int x )</div><div>{</div><div> __asm {</div><div> mov eax, LargeInteger.LowPart </div><div><span style="white-space:pre-wrap"> </span> mov eax, x</div>
<div> }</div><div>}</div></div><div><br></div><div>The first asm line crashes, because it cannot find a match. The second one works without issue. I'm currently poking around in the depths of validateOperandClass in x86GenAsmMatcher.inc. Any help or pointers would be appreciated.</div>
<div><br></div><div>Thanks,<br>JB</div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br></div>