diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 3541c3d690b450..f6f06bb0bb60b7 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -5480,7 +5480,7 @@ static llvm::Optional FoldValueWithUndef(unsigned Opcode, return APInt::getZero(C1.getBitWidth()); return llvm::None; -}; +} SDValue SelectionDAG::FoldSymbolOffset(unsigned Opcode, EVT VT, const GlobalAddressSDNode *GA,