aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/call-inlined.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-07 20:23:54 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2020-11-08 02:29:17 +0100
commit29c405153720add05185351a13dcc68a5f39d3ff (patch)
treebd0f0a340bde51cfd9375a45619aa51062672bab /validation/optim/call-inlined.c
parent467fce3048571227e49beee068f783fb1c76a1e7 (diff)
downloadsparse-dev-29c405153720add05185351a13dcc68a5f39d3ff.tar.gz
select: simplify handling of select(x, 0, x) --> 0
This simplification is already handled but explicitly kills it's 2 operands while this is done automatically when killing the instruction. Also, it uses replace_with_value(0) which needs to recreate the pseudo for 0 while it's already available via its operands. So, changes to use replace_with_pseudo() and without the unneeded kills. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim/call-inlined.c')
0 files changed, 0 insertions, 0 deletions