[all-commits] [llvm/llvm-project] e55857: [GISel] Set more MIFlags when translating GEPs
Fabian Ritter via All-commits
all-commits at lists.llvm.org
Fri Aug 1 08:05:25 PDT 2025
Branch: refs/heads/users/ritter-x2a/08-01-_gisel_set_more_miflags_when_translating_geps
Home: https://github.com/llvm/llvm-project
Commit: e558575eda978066675a8e7a51310c50fb1bcef7
https://github.com/llvm/llvm-project/commit/e558575eda978066675a8e7a51310c50fb1bcef7
Author: Fabian Ritter <fabian.ritter at amd.com>
Date: 2025-08-01 (Fri, 01 Aug 2025)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-gep.ll
M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
M llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-gep-flags.ll
M llvm/test/CodeGen/AArch64/GlobalISel/translate-gep.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/function-returns.ll
Log Message:
-----------
[GISel] Set more MIFlags when translating GEPs
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list