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


Eli Friedman <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #4 from Eli Friedman <[email protected]>  2009-01-19 16:05:51 
---
(In reply to comment #3)
> Reassociate was moving a constant expression to a different block under the
> assumption that constants can't have side effects.  I think that this is a
> reasonable expectation, so I changed x/0 to constant fold into undef as is
> allowed by langref.

That's only a workaround... what if the denominator is an unfoldable constant?


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