http://llvm.org/bugs/show_bug.cgi?id=8862

Chris Lattner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Chris Lattner <[email protected]> 2011-02-09 23:39:33 CST 
---
This is now implemented in a series of patches leading up to r125267.

We now have get:

$ opt -instcombine -S 
define i32 @test(i32 %X) {
  %A = sdiv exact i32 %X, 4
  %B = mul i32 %A, 4
  ret i32 %B
}
^D
; ModuleID = '<stdin>'

define i32 @test(i32 %X) {
  ret i32 %X
}

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

Reply via email to