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) {
14601460 if (!match (LHS, m_ZExt (m_Value (LHSOp))) || !ICmp->isSigned ())
14611461 continue ;
14621462
1463- const DataLayout &DL = ExitingBB->getDataLayout ();
14641463 const unsigned InnerBitWidth = DL.getTypeSizeInBits (LHSOp->getType ());
14651464 const unsigned OuterBitWidth = DL.getTypeSizeInBits (RHS->getType ());
14661465 auto FullCR = ConstantRange::getFull (InnerBitWidth);
@@ -1536,8 +1535,6 @@ bool IndVarSimplify::canonicalizeExitCondition(Loop *L) {
15361535 DeadInsts.push_back (LHS);
15371536 };
15381537
1539-
1540- const DataLayout &DL = ExitingBB->getDataLayout ();
15411538 const unsigned InnerBitWidth = DL.getTypeSizeInBits (LHSOp->getType ());
15421539 const unsigned OuterBitWidth = DL.getTypeSizeInBits (RHS->getType ());
15431540 auto FullCR = ConstantRange::getFull (InnerBitWidth);
You can’t perform that action at this time.
0 commit comments