[clang] [llvm] [BasicAA] Do not decompose past casts with different index width (PR #119365)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 04:05:33 PST 2024


================
@@ -594,9 +580,9 @@ BasicAAResult::DecomposeGEPExpression(const Value *V, const DataLayout &DL,
   SearchTimes++;
   const Instruction *CxtI = dyn_cast<Instruction>(V);
 
-  unsigned MaxIndexSize = DL.getMaxIndexSizeInBits();
----------------
nikic wrote:

Dropped the API in https://github.com/llvm/llvm-project/commit/07aab4a3cdab3d46caab270845413c5ba4546b50.

https://github.com/llvm/llvm-project/pull/119365


More information about the llvm-commits mailing list