Skip to content

Commit a2976c4

Browse files
committed
[NFC] Make the type of X86AlignBranchBoundary compatible
Change the type of X86AlignBranchBoundary from cl::opt<uint64_t> to cl::opt<unsigned> since the template class cl::opt is only instantiated with type unsigned, int, std::string, char and bool.
1 parent aa82172 commit a2976c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class X86AlignBranchKind {
117117

118118
X86AlignBranchKind X86AlignBranchKindLoc;
119119

120-
cl::opt<uint64_t> X86AlignBranchBoundary(
120+
cl::opt<unsigned> X86AlignBranchBoundary(
121121
"x86-align-branch-boundary", cl::init(0),
122122
cl::desc(
123123
"Control how the assembler should align branches with NOP. If the "

0 commit comments

Comments
 (0)