I know using more precise constraints might result in better code gen
in some situations, but I am Curious what's the difference between the
using pattern condition and constraints/predicates in this case? Is
there any performance or code gen difference?
On Fri, Aug 19, 2022 at 6:07 AM apinski---
From: Andrew Pinski
This simplifies the code by adding a predicate and a constraint for 1/2/3.
The aarch64 backend has a similar predicate called aarch64_shift_imm_
which they use there.
OK? Built and tested on riscv32-linux-gnu and riscv64-linux-gnu with no
regressions.
Thanks,
Andrew Pinski