[llvm] [LowerBufferFatPointers] Fix support for GEP T, p7, <N x T> idxs (PR #126126)
Krzysztof Drewniak via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 11:00:11 PST 2025
================
@@ -1804,14 +1804,26 @@ PtrParts SplitPtrStructs::visitGetElementPtrInst(GetElementPtrInst &GEP) {
bool IsNUW = GEP.hasNoUnsignedWrap();
bool IsNUSW = GEP.hasNoUnsignedSignedWrap();
+ Type *ResTy = GEP.getType();
+ std::optional<ElementCount> ResEC;
----------------
krzysz00 wrote:
Should be fixed
https://github.com/llvm/llvm-project/pull/126126
More information about the llvm-commits
mailing list