[PATCH] D117203: [Attributor] Remove notional overindexing check

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 19 02:30:19 PST 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa115bbea9b0c: [Attributor] Remove notional overindexing check (authored by nikic).

Changed prior to commit:
  https://reviews.llvm.org/D117203?vs=399594&id=401148#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D117203/new/

https://reviews.llvm.org/D117203

Files:
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp


Index: llvm/lib/Transforms/IPO/AttributorAttributes.cpp
===================================================================
--- llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+++ llvm/lib/Transforms/IPO/AttributorAttributes.cpp
@@ -1182,7 +1182,7 @@
           return HandlePassthroughUser(Usr, OffsetInfoMap[CurPtr], Follow);
         if (CE->isCompare())
           return true;
-        if (!CE->isGEPWithNoNotionalOverIndexing()) {
+        if (!isa<GEPOperator>(CE)) {
           LLVM_DEBUG(dbgs() << "[AAPointerInfo] Unhandled constant user " << *CE
                             << "\n");
           return false;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117203.401148.patch
Type: text/x-patch
Size: 622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220119/d4702399/attachment.bin>


More information about the llvm-commits mailing list