[llvm] [BasicAA] Use nuw attribute of GEPs (PR #98608)
Hari Limaye via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 15 01:48:38 PDT 2024
================
@@ -1159,8 +1163,6 @@ AliasResult BasicAAResult::aliasGEP(
APInt &Off = DecompGEP1.Offset;
// Initialize for Off >= 0 (V2 <= GEP1) case.
- const Value *LeftPtr = V2;
- const Value *RightPtr = GEP1;
----------------
hazzlim wrote:
Nice, thank you - rebased on this.
https://github.com/llvm/llvm-project/pull/98608
More information about the llvm-commits
mailing list