nir: Fix ifind_msb_rev
nir: Fix ifind_msb_rev
The implementation expects the source is 32-bit and the only user of
the operator is the expansion of ifind_msb
which also has the same
expectation. However, the signature said it accepts the source with
a variable bit length. Just use unop
to claim the type of the source
is the same with the type of the destination.
@phomes maybe you are interested with this one as you are addressing warnings emitted by clang.
Signed-off-by: Akihiko Odaki akihiko.odaki@gmail.com