[clang] [llvm] [BasicAA] Do not decompose past casts with different index width (PR #119365)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 22:10:45 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();
----------------
aeubanks wrote:
looks like `getMaxIndexSizeInBits()` is only used here
https://github.com/llvm/llvm-project/pull/119365
More information about the llvm-commits
mailing list