[LLVMbugs] [Bug 3354] apparent bad interaction between math and short-circuit

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Jan 19 13:56:28 PST 2009


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


Chris Lattner <clattner at apple.com> changed:

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




--- Comment #3 from Chris Lattner <clattner at apple.com>  2009-01-19 15:56:27 ---
Fixed here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090119/072366.html

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.


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