[llvm] r294461 - [InstComobineCalls] Fix buildbot failures after r294453.

Igor Laevsky via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 07:21:48 PST 2017


Author: igor.laevsky
Date: Wed Feb  8 09:21:48 2017
New Revision: 294461

URL: http://llvm.org/viewvc/llvm-project?rev=294461&view=rev
Log:
[InstComobineCalls] Fix buildbot failures after r294453.

Some targets don't support uint64_t options. Change type to unsigned.

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


Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp?rev=294461&r1=294460&r2=294461&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp Wed Feb  8 09:21:48 2017
@@ -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 "




More information about the llvm-commits mailing list