Closed
Description
I am trying to call the llvmint::cttz_i8(1i8, false)
intrinsic from the llvmint crate and am getting the following error:
is_zero_undef argument of bit counting intrinsics must be a constant int
%17 = call i8 @llvm.cttz.i8(i8 %14, i1 zeroext %16)
The problem seems to be that rustc is not propagating false
to LLVM properly.
This was also reported to the llvmint crate: huonw/llvmint#5