On Feb 17, 2008, at 1:03 PM, Chris Lattner wrote: > Author: lattner > Date: Sun Feb 17 15:03:36 2008 > New Revision: 47244 > > URL: http://llvm.org/viewvc/llvm-project?rev=47244&view=rev > Log: > Fold (-x + -y) -> -(x+y) which promotes better association, fixing > the second half of PR2047
This is unsafe for IEEE floating point. Try x=0, y= -0. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits