ac: remove useless cast in ac_build_set_inactive()
The return type is always the src type (32 or 64 bits). Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
194bee193c
commit
204cf54b70
|
@ -3864,7 +3864,8 @@ ac_build_set_inactive(struct ac_llvm_context *ctx, LLVMValueRef src,
|
|||
src, inactive }, 2,
|
||||
AC_FUNC_ATTR_READNONE |
|
||||
AC_FUNC_ATTR_CONVERGENT);
|
||||
return LLVMBuildBitCast(ctx->builder, ret, src_type, "");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static LLVMValueRef
|
||||
|
|
Loading…
Reference in New Issue