Skip to content

Commit d98dd0d

Browse files
committed
[ValueLattice] Address review comments.
1 parent 0436fcc commit d98dd0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Analysis/ValueLattice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class ValueLatticeElement {
202202
break;
203203
case constantfprange:
204204
case constantfprange_including_undef:
205-
new (&FPRange) ConstantFPRange(Other.FPRange);
205+
new (&FPRange) ConstantFPRange(std::move(Other.FPRange));
206206
NumRangeExtensions = Other.NumRangeExtensions;
207207
break;
208208
case constant:

0 commit comments

Comments
 (0)