Skip to content

[llvm] bump up llvm and adapt FlyDSL to new api - #922

Open
jli-melchior wants to merge 4 commits into
ROCm:mainfrom
jli-melchior:jli/update-internal-llvm
Open

[llvm] bump up llvm and adapt FlyDSL to new api#922
jli-melchior wants to merge 4 commits into
ROCm:mainfrom
jli-melchior:jli/update-internal-llvm

Conversation

@jli-melchior

Copy link
Copy Markdown
Collaborator

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

jli-melchior and others added 4 commits July 29, 2026 00:51
Update build scripts to read repo/commit from internal-llvm-build-info.json
and tag build/install directories with the commit short hash. Fix C++ API
breakage introduced by the internal LLVM:

- OpaqueProperties → PropertyRef in inferReturnTypes
- Buffer op aux parameter from Value → Attribute
- Atomic buffer ops now require explicit result Type
- MFMA blgp parameter from IntegerAttr → MFMAPermB enum
- MFMA scale cbsz/blgp from IntegerAttr → MatrixFormat enum
- WMMA modC from raw uint16_t → WMMACModifier enum
- WMMA scale params from raw casts → typed ROCDL enums
- TDM cachePolicy from uint32_t → Attribute
- DenseMapInfo: remove sentinel keys (tombstone-free hashing)

Co-Authored-By: Claude <noreply@anthropic.com>
Consolidate internal-llvm-build-info.json and llvm-hash.txt into a
single thirdparty/llvm-build-info.json with "upstream" and "internal"
entries. Build scripts select by key name:
- build_llvm.sh reads ['upstream']
- build_internal_llvm.sh / build_internal_flydsl.sh read ['internal']

Update CI workflows (build-whl, flydsl, build-custom-llvm-tools) to
use llvm-build-info.json for cache keys and commit lookups.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@jli-melchior jli-melchior changed the title [WIP] [llvm] bump up llvm and adapt FlyDSL to new api [llvm] bump up llvm and adapt FlyDSL to new api Jul 29, 2026
@jli-melchior
jli-melchior requested review from coderfeli and sjfeng1999 and removed request for coderfeli July 29, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant