diff options
author | Paulo Matos <pmatos@igalia.com> | 2023-11-07 17:26:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-07 17:26:26 +0100 |
commit | 7b9d73c2f90c0ed8497339a16fc39785349d9610 (patch) | |
tree | 5f31fd1d5ffc20ce828ccf3b3d26a969f0528ba7 /polly | |
parent | 75d6795e420274346b14aca8b6bd49bfe6030eeb (diff) | |
download | llvm-7b9d73c2f90c0ed8497339a16fc39785349d9610.zip llvm-7b9d73c2f90c0ed8497339a16fc39785349d9610.tar.gz llvm-7b9d73c2f90c0ed8497339a16fc39785349d9610.tar.bz2 |
[NFC] Remove Type::getInt8PtrTy (#71029)
Replace this with PointerType::getUnqual().
Followup to the opaque pointer transition. Fixes an in-code TODO item.
Diffstat (limited to 'polly')
-rw-r--r-- | polly/lib/Analysis/ScopDetection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp index 2a7e276..db1f844 100644 --- a/polly/lib/Analysis/ScopDetection.cpp +++ b/polly/lib/Analysis/ScopDetection.cpp @@ -1093,7 +1093,7 @@ bool ScopDetection::isValidAccess(Instruction *Inst, const SCEV *AF, Size = SE.getElementSize(Inst); } else { auto *SizeTy = - SE.getEffectiveSCEVType(PointerType::getInt8PtrTy(SE.getContext())); + SE.getEffectiveSCEVType(PointerType::getUnqual(SE.getContext())); Size = SE.getConstant(SizeTy, 8); } |