Skip to content

Commit bae8cca

Browse files
committed
!fixup remove dead Offset variable.
1 parent 79f2f2f commit bae8cca

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
@@ -173,7 +173,6 @@ static bool isDereferenceableAndAlignedPointer(
173173
/// be proven by an assume if needed.
174174
RetainedKnowledge AlignRK;
175175
RetainedKnowledge DerefRK;
176-
APInt Offset(DL.getTypeStoreSizeInBits(V->getType()), 0);
177176
bool IsAligned = V->getPointerAlignment(DL) >= Alignment;
178177
if (getKnowledgeForValue(
179178
V, {Attribute::Dereferenceable, Attribute::Alignment}, AC,

0 commit comments

Comments
 (0)