Skip to content
Commit ba4d0871 authored by Richard Trieu's avatar Richard Trieu
Browse files

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.

This fixes PR12318.

llvm-svn: 153226
parent 39fb408f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment