Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
apache
/
tvm
Public
Notifications
You must be signed in to change notification settings
Fork
4k
Star
13.8k
Code
Issues
195
Pull requests
97
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
[REFACTOR][TIR] Introduce AllocBuffer and phase out Allocate+DeclBuffer
- #18865
#18865
Merged
tqchen
merged 25 commits into
apache:main
apache/tvm:main
from
tqchen:refactor-and-introduce-allocbuffer-and-phase-out-allocatenode
tqchen/tvm:refactor-and-introduce-allocbuffer-and-phase-out-allocatenode
Copy head branch name to clipboard
Mar 4, 2026
Conversation
Commits
25
(25)
Checks
Files changed
Merged
[REFACTOR][TIR] Introduce AllocBuffer and phase out Allocate+DeclBuffer
#18865
tqchen
merged 25 commits into
apache:main
apache/tvm:main
from
tqchen:refactor-and-introduce-allocbuffer-and-phase-out-allocatenode
tqchen/tvm:refactor-and-introduce-allocbuffer-and-phase-out-allocatenode
Copy head branch name to clipboard
Commits
Commits on Mar 4, 2026
[REFACTOR][TIR] Introduce AllocBuffer and phase out Allocate+DeclBuffer pattern
Show description for 6c6e296
tqchen
committed
6c6e296
View commit details
Copy full SHA for 6c6e296
Browse repository at this point
[REFACTOR][TIR] Add AllocBufferNode handlers to S-TIR transforms and analyses
Show description for 31f24fd
tqchen
committed
31f24fd
View commit details
Copy full SHA for 31f24fd
Browse repository at this point
[REFACTOR][TIR] Fix AllocBuffer variable definitions and printer roundtrip
Show description for e85f70c
tqchen
committed
e85f70c
View commit details
Copy full SHA for e85f70c
Browse repository at this point
[REFACTOR][TIR] Fix clang-format in AllocBuffer S-TIR handlers
tqchen
committed
69d7050
View commit details
Copy full SHA for 69d7050
Browse repository at this point
[REFACTOR][TIR] Fix AllocBuffer handling in transforms and update test expectations
Show description for 969329c
tqchen
committed
969329c
View commit details
Copy full SHA for 969329c
Browse repository at this point
[REFACTOR][TIR] Remove AllocateNode: replace with AllocBufferNode
Show description for cf4b167
tqchen
committed
cf4b167
View commit details
Copy full SHA for cf4b167
Browse repository at this point
[REFACTOR][TIR] Add AllocBuffer::ConstantAllocationSize() helper
Show description for 8124d24
tqchen
committed
8124d24
View commit details
Copy full SHA for 8124d24
Browse repository at this point
[REFACTOR][TIR] Remove AllocDescriptor from merge_shared_memory_allocations
Show description for 65b20c2
tqchen
committed
65b20c2
View commit details
Copy full SHA for 65b20c2
Browse repository at this point
[REFACTOR][TIR] Always print AllocBuffer as T.decl_buffer with annotations support
Show description for 2b924dc
tqchen
committed
2b924dc
View commit details
Copy full SHA for 2b924dc
Browse repository at this point
[REFACTOR][TIR] Restore expected-output tests for storage rewrite
Show description for d73e1e6
tqchen
committed
d73e1e6
View commit details
Copy full SHA for d73e1e6
Browse repository at this point
[REFACTOR][TIR] Fix stale comment in storage_rewrite.cc
tqchen
committed
1c8ff6c
View commit details
Copy full SHA for 1c8ff6c
Browse repository at this point
[REFACTOR][TIR] Rename AllocBuffer/SBlock printing: T.alloc_buffer for stmt-level, T.sblock_alloc_buffer for SBlock-level
Show description for acd925c
tqchen
committed
acd925c
View commit details
Copy full SHA for acd925c
Browse repository at this point
[REFACTOR][TIR] Simplify T.alloc_buffer to only accept shape, dtype, scope
Show description for 357057d
tqchen
committed
357057d
View commit details
Copy full SHA for 357057d
Browse repository at this point
[REFACTOR][TIR] Fix stale comments referencing old AllocateNode after AllocBuffer refactor
Show description for 5aeee9e
tqchen
committed
5aeee9e
View commit details
Copy full SHA for 5aeee9e
Browse repository at this point
[REFACTOR][TIR] Remove AllocDescriptor from storage_rewrite.cc
Show description for 0369ae4
tqchen
committed
0369ae4
View commit details
Copy full SHA for 0369ae4
Browse repository at this point
[REFACTOR][TIR] Create separate AllocBufferFrame and add roundtrip test
Show description for 069d56e
tqchen
committed
069d56e
View commit details
Copy full SHA for 069d56e
Browse repository at this point
[TIR][FIX] Fix base StmtVisitor/StmtMutator for AllocBuffer/DeclBuffer to visit buffer shape
Show description for a2878a4
tqchen
committed
a2878a4
View commit details
Copy full SHA for a2878a4
Browse repository at this point
[TIR][FIX] Fix s_tir::RenewDefs VisitBuffer to visit shape via VisitExpr
Show description for af37f5e
tqchen
committed
af37f5e
View commit details
Copy full SHA for af37f5e
Browse repository at this point
Revert "[TIR][FIX] Fix base StmtVisitor/StmtMutator for AllocBuffer/DeclBuffer to visit buffer shape"
Show description for 6d396ce
tqchen
committed
6d396ce
View commit details
Copy full SHA for 6d396ce
Browse repository at this point
[TIR][FIX] Fix LeafBlockRemovalPlan to peel AllocBuffer nodes in schedule primitives
Show description for 7df445e
tqchen
committed
7df445e
View commit details
Copy full SHA for 7df445e
Browse repository at this point
[TIR] Fix lint in regression test
tqchen
committed
cd224c1
View commit details
Copy full SHA for cd224c1
Browse repository at this point
[TIR] Remove redundant reverse_compute_at regression test
Show description for dccd136
tqchen
committed
dccd136
View commit details
Copy full SHA for dccd136
Browse repository at this point
[TIR] Fix ConvertSSA renaming shared buffer_map shape vars
Show description for 10482c7
tqchen
committed
10482c7
View commit details
Copy full SHA for 10482c7
Browse repository at this point
[CI] Temporarily disable opencl tests in GPU-only unittest
Show description for b07c154
tqchen
committed
b07c154
View commit details
Copy full SHA for b07c154
Browse repository at this point
[CI] Skip broken adreno texture tests with numerical mismatches
Show description for 210e9df
tqchen
committed
210e9df
View commit details
Copy full SHA for 210e9df
Browse repository at this point
You can’t perform that action at this time.