On 22.03.2012 00:30, Richard Trieu wrote:
> Author: rtrieu
> Date: Wed Mar 21 18:30:30 2012
> New Revision: 153226
>
> URL: http://llvm.org/viewvc/llvm-project?rev=153226&view=rev
> Log:
> Change the binary operator data recursive evaluator to not stop at the first
> non-constant value encountered.  This allows the evaluator to deduce that
> expressions like (x<  5 || true) is equal to true.  Previously, it would visit
> x and determined that the entire expression is could not evaluated to a
> constant.
>
It should still stop evaluating if the LHS has side effects. Does that 
work correctly?

Sebastian
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to