---
id: pr-tilelang-2088
repo: tile-ai/tilelang
pr: 2088
title: '[Refactor] Refactor register annotation lowering'
author: Rachmanino
date: '2026-05-06'
url: https://github.com/tile-ai/tilelang/pull/2088
source_category: upstream-code
architectures:
- sm100
tags:
- cuda kernel
- fp4
- fp8
- gemm
- mla
techniques: []
hardware_features:
- fp4
- fp8
kernel_types:
- gemm
- mla
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 2905fde91dd88f6e2f64cb870e85b7fe2a0fb326
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- src/op/builtin.cc
- src/op/builtin.h
- src/target/codegen_cuda.cc
- src/target/codegen_cutedsl.cc
- src/target/codegen_hip.cc
- src/transform/annotate_warp_group_reg_alloc.cc
- testing/python/transform/test_tilelang_transform_inject_set_max_nreg.py
- tilelang/language/builtin.py
artifact_dir: evidence/pull-bundles/tilelang/gh-2088
head_ref_oid: 8868c5d3be8a40047e804a369a37d14b40eb8d60
---
# [Refactor] Refactor register annotation lowering

- Repository: `tile-ai/tilelang`
- PR: [2088](https://github.com/tile-ai/tilelang/pull/2088)
- 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

- `src/op/builtin.cc`
- `src/op/builtin.h`
- `src/target/codegen_cuda.cc`
- `src/target/codegen_cutedsl.cc`
- `src/target/codegen_hip.cc`
- `src/transform/annotate_warp_group_reg_alloc.cc`
- `testing/python/transform/test_tilelang_transform_inject_set_max_nreg.py`
- `tilelang/language/builtin.py`

## Evidence Bundle

`evidence/pull-bundles/tilelang/gh-2088`
