]> granicus.if.org Git - llvm/commitdiff
[InstComobineCalls] Fix buildbot failures after r294453.
authorIgor Laevsky <igmyrj@gmail.com>
Wed, 8 Feb 2017 15:21:48 +0000 (15:21 +0000)
committerIgor Laevsky <igmyrj@gmail.com>
Wed, 8 Feb 2017 15:21:48 +0000 (15:21 +0000)
Some targets don't support uint64_t options. Change type to unsigned.

Differential Revision: https://reviews.llvm.org/D28909

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294461 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineCalls.cpp

index 23f8035e2aaf4efcd59e4040c5b5167f9d210063..c26da03a89a59133e80e74708ba8103d29d90b3b 100644 (file)
@@ -60,7 +60,7 @@ using namespace PatternMatch;
 
 STATISTIC(NumSimplified, "Number of library calls simplified");
 
-static cl::opt<uint64_t> UnfoldElementAtomicMemcpyMaxElements(
+static cl::opt<unsigned> UnfoldElementAtomicMemcpyMaxElements(
     "unfold-element-atomic-memcpy-max-elements",
     cl::init(16),
     cl::desc("Maximum number of elements in atomic memcpy the optimizer is "