From: Shengchen Kan Date: Thu, 2 Jan 2020 06:24:13 +0000 (+0800) Subject: [NFC] Make the type of X86AlignBranchBoundary compatible X-Git-Tag: llvmorg-11-init~1115 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2976c490da3b6d7253d4034ae507a760457ea18;p=platform%2Fupstream%2Fllvm.git [NFC] Make the type of X86AlignBranchBoundary compatible Change the type of X86AlignBranchBoundary from cl::opt to cl::opt since the template class cl::opt is only instantiated with type unsigned, int, std::string, char and bool. --- diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp index 5d18bd5..ec250e1 100644 --- a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp +++ b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp @@ -117,7 +117,7 @@ public: X86AlignBranchKind X86AlignBranchKindLoc; -cl::opt X86AlignBranchBoundary( +cl::opt X86AlignBranchBoundary( "x86-align-branch-boundary", cl::init(0), cl::desc( "Control how the assembler should align branches with NOP. If the "