[LLVMbugs] [Bug 3921] dominator optimizer/gvn fails to recognize identical tests

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Mar 31 18:22:52 PDT 2009


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


Owen Anderson <resistor at mac.com> changed:

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




--- Comment #4 from Owen Anderson <resistor at mac.com>  2009-03-31 20:22:52 ---
This is fixed in r68172.

Note that GVN doesn't handle his case very generally, since it's not a constant
propagator.  For instance, if you pass in the IR Eric posted, the GVN will not
be able to simplify it.  If you start from the original IR, where it re-does
the comparison, then it will successfully simplify it.


-- 
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