diff options
| author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2025-11-04 22:56:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 06:56:19 +0000 |
| commit | 304d2ff4d998abac779b11afeaede2146c2c60a7 (patch) | |
| tree | f0fb8d4ce99981ca555fb75f0a2a335484fef9a2 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp | |
| parent | 19a9de06cd557da2289c07db0228ec8987d26dc4 (diff) | |
| download | llvm-304d2ff4d998abac779b11afeaede2146c2c60a7.zip llvm-304d2ff4d998abac779b11afeaede2146c2c60a7.tar.gz llvm-304d2ff4d998abac779b11afeaede2146c2c60a7.tar.bz2 | |
CodeGen: Record MMOs in finalizeBundle (#166210)
This allows more accurate alias analysis to apply at the bundle level.
This has a bunch of minor effects in post-RA scheduling that look mostly
beneficial to me, all of them in AMDGPU (the Thumb2 change is cosmetic).
The pre-existing (and unchanged) test in
CodeGen/MIR/AMDGPU/custom-pseudo-source-values.ll tests that MIR with a
bundle with MMOs can be parsed successfully.
v2:
- use cloneMergedMemRefs
- add another test to explicitly check the MMO bundling behavior
v3:
- use poison instead of undef to initialize the global variable in the
test
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions
