ac/llvm: fix type of second llvm.cttz.* parameter
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 24 Jun 2017 15:56:38 +0000 (17:56 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Jun 2017 00:28:30 +0000 (10:28 +1000)
commitb7bd49158e7f5c2084f24ec7b9f877e1af6d1849
treed3c4fd650b244e0d23342c0c6b7bea19111ef052
parente8ba03d32a766f947046253f914afb53260c17f2
ac/llvm: fix type of second llvm.cttz.* parameter

LLVM has required an i1 here for a long time. llvm.ctlz.* was fixed in
commit edd23e06067 ("ac/llvm: fix various findMSB bugs").

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c