[LLVMbugs] [Bug 1721] Incorrect evaluation of expression containing bitfield items
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Oct 2 21:21:35 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1721
Chris Lattner <sabre at nondot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |neil at daikokuya.co.uk
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #2 from Chris Lattner <sabre at nondot.org> 2007-10-02 23:21:34 ---
Actually, neil, some language lawyering would be appreciated in this case. The
GCC tree in question does have the precision set to 33 bits for the PLUS_EXPR.
Should we emit this as a i33 add?
<plus_expr 0x4868de70
type <integer_type 0x4868eb00 public unsigned DI
size <integer_cst 0x48605930 constant invariant 64>
unit size <integer_cst 0x48605960 constant invariant 8>
align 64 symtab 1 alias set -1 precision 33 min <integer_cst 0x4868dc60
0> max <integer_cst 0x4868d240 8589934591>
LLVM: i64>
arg 0 <var_decl 0x48692180 D.1343 type <integer_type 0x4868eb00>
...
?
I will investigate a bit more.
-Chris
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list