[LLVMbugs] [Bug 10769] code with shl and bitwise or instructions optimizes wrong

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 26 00:17:47 PDT 2011


Yuri <yuri at tsoft.com> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |
           Severity|release blocker             |enhancement

--- Comment #2 from Yuri <yuri at tsoft.com> 2011-08-26 02:17:47 CDT ---
Logically, shl i8 1, 8 should evaluate to 0. That's what happens without
optimization in any CPU.
Computed by optimizer value should follow what CPUs normally do. It's cleaner
and less ambiguous way of doing this.

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