---
id: pr-triton-10280
repo: triton-lang/triton
pr: 10280
title: '[BACKEND] Recognise fneg in clamp and use it in the MoE'
author: lezcano
date: '2026-05-10'
url: https://github.com/triton-lang/triton/pull/10280
source_category: upstream-code
architectures:
- sm100
tags:
- moe kernel
- triton
- triton kernel
techniques: []
hardware_features: []
kernel_types:
- moe
languages:
- cuda-cpp
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: a4b65bf454478ab924511a388ca7dd60ed52f3a8
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- python/examples/gluon/05-moe-bmm1-fused-gather.py
- test/Conversion/tritongpu_to_llvm_hopper.mlir
- third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/ElementwiseOpToLLVM.cpp
artifact_dir: evidence/pull-bundles/triton/gh-10280
head_ref_oid: 02ff691c6cf11bd364c272b25bf1f5bf0dd78820
---
# [BACKEND] Recognise fneg in clamp and use it in the MoE

- Repository: `triton-lang/triton`
- PR: [10280](https://github.com/triton-lang/triton/pull/10280)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `python/examples/gluon/05-moe-bmm1-fused-gather.py`
- `test/Conversion/tritongpu_to_llvm_hopper.mlir`
- `third_party/nvidia/lib/TritonNVIDIAGPUToLLVM/ElementwiseOpToLLVM.cpp`

## Evidence Bundle

`evidence/pull-bundles/triton/gh-10280`
