summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorShengchen Kan <shengchen.kan@intel.com>2020-01-02 14:24:13 +0800
committerShengchen Kan <shengchen.kan@intel.com>2020-01-02 14:35:57 +0800
commita2976c490da3b6d7253d4034ae507a760457ea18 (patch)
treec174cdd74c1ce833da74ccc3f33d3a5e29127cf9 /llvm/lib/Target
parentaa8217289864d27b023b31e3efbaa7eb05e77092 (diff)
downloadbcm5719-llvm-a2976c490da3b6d7253d4034ae507a760457ea18.tar.gz
bcm5719-llvm-a2976c490da3b6d7253d4034ae507a760457ea18.zip
[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.
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp b/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
index 5d18bd5921e..ec250e167b7 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<uint64_t> X86AlignBranchBoundary(
+cl::opt<unsigned> X86AlignBranchBoundary(
"x86-align-branch-boundary", cl::init(0),
cl::desc(
"Control how the assembler should align branches with NOP. If the "
OpenPOWER on IntegriCloud