Skip to content

Commit 495d32e

Browse files
committed
Default constructor for std::optional
Change-Id: I950ee32ec053430fd51c7fd52645fe52e9e6ecff
1 parent 41911d5 commit 495d32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3665,7 +3665,7 @@ static std::optional<DecomposedBitMaskMul> matchBitmaskMul(Value *V) {
36653665
}
36663666

36673667
struct CombinedBitmaskMul {
3668-
std::optional<DecomposedBitMaskMul> Decomp = std::nullopt;
3668+
std::optional<DecomposedBitMaskMul> Decomp;
36693669
Value *DecompOp = nullptr;
36703670
Value *OtherOp = nullptr;
36713671
};

0 commit comments

Comments
 (0)