aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/optim
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-07-01 23:11:33 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-07-23 13:11:20 +0200
commita4295a5fce926b5b14899194fba402cb3d150b68 (patch)
tree70f06972fdda896765987fe6463b406d74f02f1f /validation/optim
parenta89f2e3f544c91d2645f97292321750232fdf1f4 (diff)
downloadsparse-dev-a4295a5fce926b5b14899194fba402cb3d150b68.tar.gz
cast: do not compare sizes, test the opcode
In simplify_cast(), the sizes of the instructions are compared to test if the cast is a truncating one or not. But now that we have finer grained cast instructions, this is not needed as we can simply test if the opcode is OP_TRUNC. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/optim')
0 files changed, 0 insertions, 0 deletions