Skip to content

Commit 8efb95f

Browse files
committed
Apply Suggestion
1 parent 35cc01e commit 8efb95f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Analysis/ValueTracking.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -9905,7 +9905,7 @@ static ConstantRange getRangeForIntrinsic(const IntrinsicInst &II,
99059905
switch (II.getIntrinsicID()) {
99069906
case Intrinsic::ctlz:
99079907
case Intrinsic::cttz: {
9908-
APInt Upper = APInt(Width, Width);
9908+
APInt Upper(Width, Width);
99099909
if (!UseInstrInfo || !match(II.getArgOperand(1), m_One()))
99109910
Upper += 1;
99119911
// Maximum of set/clear bits is the bit width.

0 commit comments

Comments
 (0)