diff options
author | AtariDreams <gfunni234@gmail.com> | 2024-05-14 21:26:23 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-15 10:26:23 +0900 |
commit | 4d1ecf192313b612090d60181937eff03c1a966b (patch) | |
tree | 19e1b77a3b6677c73028f3dbb8aabf3d802757fa /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 03c7458a3603396d2d0e1dee43399d3d1664a264 (diff) | |
download | llvm-4d1ecf192313b612090d60181937eff03c1a966b.zip llvm-4d1ecf192313b612090d60181937eff03c1a966b.tar.gz llvm-4d1ecf192313b612090d60181937eff03c1a966b.tar.bz2 |
[Transforms] Preserve inbounds attribute of transformed GEPs when flattening loops (#86961)
When flattening the loop, if the GEP was inbound, it should stay
inbound, because the only thing that changed is how the pointers are
calculated, not the elements being accessed.
Proof: https://alive2.llvm.org/ce/z/dApMpQ
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions