ac: fix 16-bit shifts
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 21 Mar 2019 10:59:37 +0000 (11:59 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 21 Mar 2019 13:01:58 +0000 (14:01 +0100)
commit20cac1f498964ddc02717cf0b340f4a090c1d354
tree8bdee55fbeb96072160ca1f33da7acfdabb777a6
parent2ac5c5c1b54b45e1926e3c3c6737fbecd0fddfc5
ac: fix 16-bit shifts

This fixes the following LLVM error when ckeckir is set:
Type too small for ZExt

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl
src/amd/common/ac_nir_to_llvm.c