summaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-02-05 15:51:37 +0100
committerSamuel Pitoiset <[email protected]>2018-02-22 20:44:46 +0100
commitd6b75392067712908bdc372f1007e085439bf9f5 (patch)
treee433ab40d44dd483394c809db5d7e96027703fe8 /src/amd/common
parent7aa008d1d7d2b7f9bcaf299546a8d23f59d79268 (diff)
ac/nir: remove emission of nir_op_fpow
fpow is now lowered at NIR level. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common')
-rw-r--r--src/amd/common/ac_nir_to_llvm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 99a3471305b..cccc687157c 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -1883,10 +1883,6 @@ static void visit_alu(struct ac_nir_context *ctx, const nir_alu_instr *instr)
result = ac_build_fdiv(&ctx->ac, instr->dest.dest.ssa.bit_size == 32 ? ctx->ac.f32_1 : ctx->ac.f64_1,
result);
break;
- case nir_op_fpow:
- result = emit_intrin_2f_param(&ctx->ac, "llvm.pow",
- ac_to_float_type(&ctx->ac, def_type), src[0], src[1]);
- break;
case nir_op_fmax:
result = emit_intrin_2f_param(&ctx->ac, "llvm.maxnum",
ac_to_float_type(&ctx->ac, def_type), src[0], src[1]);