aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-08-29 22:41:25 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-09-01 22:53:30 +0200
commit9bcea8b22d8a40523ecac8786e3b651e351f2663 (patch)
tree9c47388fc25e694cde14707959ea2b6568e995c6 /validation/optim
parent2da84a231ad09cc7ec5b1c8caa9174ef3d6b957a (diff)
downloadsparse-dev-9bcea8b22d8a40523ecac8786e3b651e351f2663.tar.gz
trivial-phi: directly return the unique value
In trivial_phi(), the fact that the phi-node is trivial or not is returned as an int and, if trivial, the unique value is returned via the pointer given as first argument. But these two results can easily be combined in a single one by returning the unique value if trivial and NULL otherwise. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
0 files changed, 0 insertions, 0 deletions