---
id: pr-triton-10042
repo: triton-lang/triton
pr: 10042
title: '[Triton] Fix LLVMDILocalVariable pass crash with LLVM_EXTRACT_DI_LOCAL_VARIABLES'
author: byoshimi-gmail
date: '2026-04-28'
url: https://github.com/triton-lang/triton/pull/10042
source_category: upstream-code
architectures:
- sm100
tags:
- softmax
techniques:
- async-copy
hardware_features:
- tma
kernel_types:
- softmax
languages:
- triton
captured_at: '2026-05-16'
status: merged
merge_sha: 5b3965b27eb331094854963b751709bcb148c3d4
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- lib/Target/LLVMIR/LLVMDILocalVariable.cpp
- test/LLVMIR/di-local-variable-with-callsite-loc.mlir
artifact_dir: evidence/pull-bundles/triton/gh-10042
head_ref_oid: 36112683087e1ce8af4ba4774d93b09cd713eeca
---
# [Triton] Fix LLVMDILocalVariable pass crash with LLVM_EXTRACT_DI_LOCAL_VARIABLES

- Repository: `triton-lang/triton`
- PR: [10042](https://github.com/triton-lang/triton/pull/10042)
- 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/Target/LLVMIR/LLVMDILocalVariable.cpp`
- `test/LLVMIR/di-local-variable-with-callsite-loc.mlir`

## Evidence Bundle

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