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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs