aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim/call-inlined.c
AgeCommit message (Collapse)AuthorFilesLines
2020-11-08select: simplify select(x, x, 0) --> xLuc Van Oostenryck1-9/+2
The dual simplification select(x, 0, x) --> 0 was already done but this one was forgotten, so add it now. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2018-08-06conditional branches can't accept arbitrary expressionsLuc Van Oostenryck1-2/+2
Conditional branches, or more exactly OP_CBR, can't accept arbitrary expression as condition. it is required to have an integer value. Fix this by adding a comparison against zero.
2017-11-16inlined calls should not block BB packingLuc Van Oostenryck1-0/+30
OP_INLINED_CALL are there only as a sort of annotation for debugging purpose. Their presence should thus not block the packing of basic blocks. Fix this by ignoring OP_INLINED_CALL when trying to pack a basic block. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>