<div dir="ltr"><div>Hi guys, I'm working on: <a href="http://llvm.org/bugs/show_bug.cgi?id=19117">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 class="" style="white-space:pre"> </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>