halide / Halide

a language for fast, portable data-parallel computation
https://halide-lang.org
Other
5.86k stars 1.07k forks source link

[xtensa] Added a new optimize rule #8276

Closed Aelphy closed 3 months ago

Aelphy commented 3 months ago

This is to avoid int32->int64->int32 path for a saturated cast of widening shift right

vksnk commented 3 months ago

We should add a test for it into simd_check_xtensa