Skip to content

Commit da04e4a

Browse files
committed
[InstCombine] Use auto * instead of auto in visitSIToFP; NFC
1 parent 8255360 commit da04e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1990,7 +1990,7 @@ Instruction *InstCombinerImpl::visitSIToFP(CastInst &CI) {
19901990
if (Instruction *R = commonCastTransforms(CI))
19911991
return R;
19921992
if (isKnownNonNegative(CI.getOperand(0), SQ)) {
1993-
auto UI =
1993+
auto *UI =
19941994
CastInst::Create(Instruction::UIToFP, CI.getOperand(0), CI.getType());
19951995
UI->setNonNeg(true);
19961996
return UI;

0 commit comments

Comments
 (0)