aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorFarzon Lotfi <1802579+farzonl@users.noreply.github.com>2024-11-13 16:36:24 -0500
committerGitHub <noreply@github.com>2024-11-13 16:36:24 -0500
commit5ac624c8234fe0a62cbf0447dbf7035ea29d062e (patch)
tree06988a9eacd93114d1f652872e66836fd394dd81 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parentde6d48d05d7aa233248d2f725654931cb1e2f6fd (diff)
downloadllvm-5ac624c8234fe0a62cbf0447dbf7035ea29d062e.zip
llvm-5ac624c8234fe0a62cbf0447dbf7035ea29d062e.tar.gz
llvm-5ac624c8234fe0a62cbf0447dbf7035ea29d062e.tar.bz2
[DirectX] Flatten arrays (#114332)
- Relevant piece is `DXILFlattenArrays.cpp` - Loads and Store Instruction visits are just for finding GetElementPtrConstantExpr and splitting them. - Allocas needed to be replaced with flattened allocas. - Global arrays were similar to allocas. Only interesting piece here is around initializers. - Most of the work went into building correct GEP chains. The approach here was a recursive strategy via `recursivelyCollectGEPs`. - All intermediary GEPs get marked for deletion and only the leaf GEPs get updated with the new index. fixes [89646](https://github.com/llvm/llvm-project/issues/89646)
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions