[LLVMbugs] [Bug 11449] instcombine can introduce wrapping into a nuw/nsw operation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 30 14:13:01 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=11449

Matthias Braun <matze at braunis.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |matze at braunis.de
         Resolution|---                         |FIXED

--- Comment #1 from Matthias Braun <matze at braunis.de> ---
This is fixed in llvm trunk:

define i32 @_Z1gi(i32 %c) #0 {
entry:
  %add.i = add i32 -2147483648, %c
  %and.i = and i32 %add.i, 2147483647
  ret i32 %and.i
}

-- 
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/20150430/832e05fb/attachment.html>


More information about the llvm-bugs mailing list