[LLVMbugs] [Bug 15925] New: llvm-mc failed to calculate expressions like K*K-K*2-1
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 7 04:25:02 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15925
Bug ID: 15925
Summary: llvm-mc failed to calculate expressions like K*K-K*2-1
Product: tools
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: llvmc
Assignee: unassignedbugs at nondot.org
Reporter: lei.wang.left at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Constant expressions formed as K*K-K*2-1, where K is a Symbol standing for a
constant number, are evaluated incorrect by llvm-mc. Here is an example:
K=5
A=K*K-K*2-1
llvm-mc will output A = 16, which is incorrect.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130507/8b28c06b/attachment.html>
More information about the llvm-bugs
mailing list