HomePhabricator

Fix for PR15623 (corrected r290413 reverted at 290415). The patch eliminates…

Description

Fix for PR15623 (corrected r290413 reverted at 290415). The patch eliminates unwanted ProgramState checker data propagation from an operand of the logical operation to operation result.
The patch also simplifies an assume of a constraint of the form: "(exp comparison_op expr) != 0" to true into an assume of "exp comparison_op expr" to true. (And similarly, an assume of the form "(exp comparison_op expr) == 0" to true as an assume of exp comparison_op expr to false.) which improves precision overall.
https://reviews.llvm.org/D22862

Details

Committed
ayartsevDec 24 2016, 4:57 PM
Parents
rL290504: Add range iterator for blocks in MemoryPhi
Branches
Unknown
Tags
Unknown