diff options
author | Michael Forney <mforney@mforney.org> | 2021-06-30 11:42:45 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-06-30 17:14:08 -0700 |
commit | ede6a5c91cd7d41cd025b26946ae5edb7080aeb3 (patch) | |
tree | eb5738e808cdc0879a8d1bcf68214424a25b85ce /targ.c | |
parent | d181fcde9c1825ba5b6fe36f70c2b6e730c1f535 (diff) |
stmt: Check that controlling expression is a scalar, and drop unneeded conversion
The conversion is only needed for floating types. QBE isn't able
to optimize it away for integer types yet, so removing this unnecessary
conversion has a substantial performance benefit.
Diffstat (limited to 'targ.c')
0 files changed, 0 insertions, 0 deletions