[llvm] [NVPTX] Add patterns for fma.relu.{f16|bf16} (PR #114977)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 6 03:46:45 PST 2024
================
@@ -3917,3 +3917,40 @@ def atomic_thread_fence_seq_cst_cta :
def atomic_thread_fence_acq_rel_cta :
NVPTXInst<(outs), (ins), "fence.acq_rel.cta;", []>,
Requires<[hasPTX<60>, hasSM<70>]>;
+
+def fpimm0 : FPImmLeaf<fAny, [{
----------------
ldrumm wrote:
It's not clear from the name that this is strictly *positive* zero. Maybe `def positive_zero_fp` or a better equivalent if you can
https://github.com/llvm/llvm-project/pull/114977
More information about the llvm-commits
mailing list