[LLVMbugs] [Bug 5768] Invalid codegen for shifts
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sat Dec 12 13:13:04 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5768
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sharparrow1 at yahoo.com
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> 2009-12-12 15:13:03 ---
C99 6.5.7p3: "The integer promotions are performed on each of the operands."
The extensions are required by the standard.
The optimizers can't remove them because "lshr i8 %a, %cnt" is undefined if
%cnt is in the range 8-15.
--
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