mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
ac/nir: remove useles LLVMGetUndef for nir_op_pack_64_2x32_split
Trivial. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
fd4041987b
commit
7b5b27a685
1 changed files with 1 additions and 2 deletions
|
|
@ -1013,8 +1013,7 @@ static void visit_alu(struct ac_nir_context *ctx, const nir_alu_instr *instr)
|
|||
}
|
||||
|
||||
case nir_op_pack_64_2x32_split: {
|
||||
LLVMValueRef tmp = LLVMGetUndef(ctx->ac.v2i32);
|
||||
tmp = ac_build_gather_values(&ctx->ac, src, 2);
|
||||
LLVMValueRef tmp = ac_build_gather_values(&ctx->ac, src, 2);
|
||||
result = LLVMBuildBitCast(ctx->ac.builder, tmp, ctx->ac.i64, "");
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue