<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I just fixed this with r181366.<div>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=181366&view=rev">http://llvm.org/viewvc/llvm-project?rev=181366&view=rev</a><div><br></div><div>Kev</div><div><br><div><div>On May 3, 2013, at 5:23 AM, Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 3 May 2013 01:37, 杨勇勇 <<a href="mailto:triple.yang@gmail.com">triple.yang@gmail.com</a>> wrote:<br><blockquote type="cite">Hi, developers,<br><br>I notice following asm symbol definitions are eveluated improperly:<br><br>A = 9<br>B = 3*A - 2 * A + 1<br><br>the value of B should be 10 instead of 8.<br><br>It seems asm parser treat "B = 3*A - 2 * A + 1" as "B = 3*A - (2 * A + 1)"<br>because the second "*" has higher precedence than "-", and evaluation just<br>performs simple recursion within AsmParser::ParseBinOpRHS (which resides in<br>file lib/MC/MCParser/AsmParser.cpp).<br><br>Can some one make a fixup?<br></blockquote><br>This is a horrible bug :-(<br><br>Can you please report it in <a href="http://llvm.org/bugs?">llvm.org/bugs?</a><br><br>Thanks,<br>Rafael<br><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></div></div></body></html>