[llvm] [LLVM][NVPTX] Add support for div.full instruction (PR #116482)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 10:51:40 PST 2024
================
@@ -1096,6 +1096,18 @@ def INT_NVVM_DIV_RM_D : F_MATH_2<"div.rm.f64 \t$dst, $src0, $src1;",
def INT_NVVM_DIV_RP_D : F_MATH_2<"div.rp.f64 \t$dst, $src0, $src1;",
Float64Regs, Float64Regs, Float64Regs, int_nvvm_div_rp_d>;
+def : Pat<(int_nvvm_div_full Float32Regs:$a, Float32Regs:$b),
----------------
Artem-B wrote:
You're right. Per-instruction predicate is for it's own pattern. You're OK here.
https://github.com/llvm/llvm-project/pull/116482
More information about the llvm-commits
mailing list