Skip to content

Commit 6f4c2f0

Browse files
committed
!fixup remove dead Offset variable.
1 parent e90d0fa commit 6f4c2f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Analysis/Loads.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ static bool isDereferenceableAndAlignedPointer(
176176
/// be proven by an assume if needed.
177177
RetainedKnowledge AlignRK;
178178
RetainedKnowledge DerefRK;
179-
APInt Offset(DL.getTypeStoreSizeInBits(V->getType()), 0);
180179
bool IsAligned = V->getPointerAlignment(DL) >= Alignment;
181180
if (getKnowledgeForValue(
182181
V, {Attribute::Dereferenceable, Attribute::Alignment}, AC,

0 commit comments

Comments
 (0)