aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorFarzon Lotfi <farzonlotfi@microsoft.com>2025-06-16 11:53:55 -0400
committerGitHub <noreply@github.com>2025-06-16 11:53:55 -0400
commitfc6aac72cc2c9a7a9dab443bca52f813a18461ef (patch)
tree4120c83e3b94cec6b9b10dcc4d0d0288d5d42ad9 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent58d23476f0ce76c847497a880f975550a645c796 (diff)
downloadllvm-fc6aac72cc2c9a7a9dab443bca52f813a18461ef.zip
llvm-fc6aac72cc2c9a7a9dab443bca52f813a18461ef.tar.gz
llvm-fc6aac72cc2c9a7a9dab443bca52f813a18461ef.tar.bz2
[DirectX] Fix bug where Flatten arrays was only using last index (#144146)
fixes #142836 We added a function called `collectIndicesAndDimsFromGEP` which builds the Indicies and Dims up for the recursive case and the base case. really to solve #142836 we didn't need to add it to the recursive case. The recursive cases exists for gep chains which are ussually two indicies per gep ie ptr index and array index. adding collectIndicesAndDimsFromGEP to the recursive cases means we can now do some mixed mode indexing say we get a case where its not the ussual 2 indicies but instead 3 we can now treat those last two indicies as part of the computation for the flat array index.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions