aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-06-28 16:46:56 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-06-28 18:55:34 +0200
commitaaefea2b1e2f1c6ce1682e6b8cbc68985d51bf38 (patch)
treea1eaca40296abeaf691854327609243708e7c80a /validation/optim
parent9d7af9cf62124b09e0d4cdf8791fc41081959c65 (diff)
downloadsparse-dev-aaefea2b1e2f1c6ce1682e6b8cbc68985d51bf38.tar.gz
bool: fix add missing check in simplify_seteq_setne()
In simplify_seteq_setne, the defining instruction of the first operand is used but this is only meaningful if the pseudo is a PSEUDO_REG one. Fix this by adding the missing check. Fixes: e5f70312b ("simplify comparisons followed by an equality test against 0 or 1") Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
0 files changed, 0 insertions, 0 deletions