diff options
author | Fabian Ritter <fabian.ritter@amd.com> | 2025-08-04 13:25:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-04 13:25:33 +0200 |
commit | 95191d54603e6bcd6b924c99755b3a9f3bb1c345 (patch) | |
tree | 25c03e59634b22bdad7c5afdef0f261506966d56 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 19b4258d659114abd9b15a0ad16f470afea8785a (diff) | |
download | llvm-95191d54603e6bcd6b924c99755b3a9f3bb1c345.zip llvm-95191d54603e6bcd6b924c99755b3a9f3bb1c345.tar.gz llvm-95191d54603e6bcd6b924c99755b3a9f3bb1c345.tar.bz2 |
[GISel] Set more MIFlags when translating GEPs (#151708)
The IRTranslator sets the flags now more consistently with
`SelectionDAGBuilder::visitGetElementPtr()`. This affects `nuw` and `nusw`, as
well as the recently introduced `inbounds` MIFlag (see PR #150900).
This PR also adds more tests to `AArch64/GlobalISel/irtranslator-gep-flags.ll`
to cover all points in `IRTranslator::translateGetElementPtr` that set flags.
For SWDEV-516125.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions