diff options
author | Christian Ulmann <christianulmann@gmail.com> | 2024-04-02 14:35:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-02 14:35:55 +0200 |
commit | 63d22f7a5b6afc515799f67c388bf5a8864274e4 (patch) | |
tree | f859d07de0d0bd3eaf88fa8704b8875fc2836bd9 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | eb08c0f1659d12524f58a01bf174177b8acedf2e (diff) | |
download | llvm-63d22f7a5b6afc515799f67c388bf5a8864274e4.zip llvm-63d22f7a5b6afc515799f67c388bf5a8864274e4.tar.gz llvm-63d22f7a5b6afc515799f67c388bf5a8864274e4.tar.bz2 |
[MLIR][LLVM][SROA] Make GEP handling type agnostic (#86950)
This commit removes SROA's type consistency constraints from LLVM
dialect's GEPOp. The checks for valid indexing are now purely done by
computing the GEP's offset with the aid of the data layout.
To simplify handling of "nested subslots", we are tricking the SROA by
handing in memory slots that hold byte array types. This ensures that
subsequent accesses only need to check if their access will be
in-bounds. This lifts the requirement of determining the sub-types for
all but the first level of subslots.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions