[all-commits] [llvm/llvm-project] e565a4: [IR] Extract helper for GEPNoWrapFlags intersectio...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Oct 1 07:58:55 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e565a4fa0b09456265e28b017054b20ff4315c58
https://github.com/llvm/llvm-project/commit/e565a4fa0b09456265e28b017054b20ff4315c58
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M llvm/include/llvm/IR/GEPNoWrapFlags.h
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[IR] Extract helper for GEPNoWrapFlags intersection (NFC)
When combining two geps into one by adding the offsets, we have
to take some care when intersecting the flags, because nusw flags
cannot be straightforwardly preserved.
Add a helper for this on GEPNoWrapFlags so we won't have to repeat
this logic in various places.
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