File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
llvm/lib/Transforms/Scalar Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -1460,7 +1460,6 @@ bool IndVarSimplify::canonicalizeExitCondition(Loop *L) {
1460
1460
if (!match (LHS, m_ZExt (m_Value (LHSOp))) || !ICmp->isSigned ())
1461
1461
continue ;
1462
1462
1463
- const DataLayout &DL = ExitingBB->getDataLayout ();
1464
1463
const unsigned InnerBitWidth = DL.getTypeSizeInBits (LHSOp->getType ());
1465
1464
const unsigned OuterBitWidth = DL.getTypeSizeInBits (RHS->getType ());
1466
1465
auto FullCR = ConstantRange::getFull (InnerBitWidth);
@@ -1536,8 +1535,6 @@ bool IndVarSimplify::canonicalizeExitCondition(Loop *L) {
1536
1535
DeadInsts.push_back (LHS);
1537
1536
};
1538
1537
1539
-
1540
- const DataLayout &DL = ExitingBB->getDataLayout ();
1541
1538
const unsigned InnerBitWidth = DL.getTypeSizeInBits (LHSOp->getType ());
1542
1539
const unsigned OuterBitWidth = DL.getTypeSizeInBits (RHS->getType ());
1543
1540
auto FullCR = ConstantRange::getFull (InnerBitWidth);
You can’t perform that action at this time.
0 commit comments