File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/lib/Transforms/InstCombine Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1528,14 +1528,14 @@ Instruction *InstCombinerImpl::visitSExt(SExtInst &Sext) {
15281528 }
15291529
15301530 // Try to extend the entire expression tree to the wide destination type.
1531- bool shouldExtendExpression = true ;
1531+ bool ShouldExtendExpression = true ;
15321532 Value *TruncSrc = nullptr ;
15331533 // It is not desirable to extend expression in the trunc + sext pattern when
15341534 // destination type is narrower than original (pre-trunc) type.
15351535 if (match (Src, m_Trunc (m_Value (TruncSrc))))
15361536 if (TruncSrc->getType ()->getScalarSizeInBits () > DestBitSize)
1537- shouldExtendExpression = false ;
1538- if (shouldExtendExpression && shouldChangeType (SrcTy, DestTy) &&
1537+ ShouldExtendExpression = false ;
1538+ if (ShouldExtendExpression && shouldChangeType (SrcTy, DestTy) &&
15391539 canEvaluateSExtd (Src, DestTy)) {
15401540 // Okay, we can transform this! Insert the new expression now.
15411541 LLVM_DEBUG (
You can’t perform that action at this time.
0 commit comments