diff options
-rw-r--r-- | src/amd/common/ac_nir_to_llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index f0ae7087379..35f66e849d0 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -1190,7 +1190,7 @@ static LLVMValueRef emit_find_lsb(struct nir_to_llvm_context *ctx, * * The hardware already implements the correct behavior. */ - LLVMConstInt(ctx->i32, 1, false), + LLVMConstInt(ctx->i1, 1, false), }; return ac_build_intrinsic(&ctx->ac, "llvm.cttz.i32", ctx->i32, params, 2, AC_FUNC_ATTR_READNONE); } |