---
id: pr-triton-10270
repo: triton-lang/triton
pr: 10270
title: Fix negation of +0.0
author: jelle-openai
date: '2026-05-08'
url: https://github.com/triton-lang/triton/pull/10270
source_category: upstream-code
architectures:
- sm100
tags:
- triton
techniques: []
hardware_features: []
kernel_types: []
languages:
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 153b63547f3d5188e1fe806d0485e1507ece9a7f
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- lib/Conversion/TritonGPUToLLVM/ElementwiseOpToLLVM.cpp
- lib/Conversion/TritonToTritonGPU/TritonToTritonGPUPass.cpp
- python/src/ir.cc
- python/test/unit/language/test_core.py
- python/triton/language/semantic.py
- python/triton/runtime/interpreter.py
artifact_dir: evidence/pull-bundles/triton/gh-10270
head_ref_oid: 6df92b3eab4dd4c3fb193ffa6d44f3d84e84b759
---
# Fix negation of +0.0

- Repository: `triton-lang/triton`
- PR: [10270](https://github.com/triton-lang/triton/pull/10270)
- 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

- `lib/Conversion/TritonGPUToLLVM/ElementwiseOpToLLVM.cpp`
- `lib/Conversion/TritonToTritonGPU/TritonToTritonGPUPass.cpp`
- `python/src/ir.cc`
- `python/test/unit/language/test_core.py`
- `python/triton/language/semantic.py`
- `python/triton/runtime/interpreter.py`

## Evidence Bundle

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