diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-03 17:56:45 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-03 17:56:45 +0000 |
commit | b62cd7ea9800fe371e0b29780eda79730271e363 (patch) | |
tree | 2b8bbf76ab660e78fd774a02c8332ef5e6d9b4ce /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 37165b13e559bcd35fd981159e49486e0e0bf138 (diff) | |
download | bcm5719-llvm-b62cd7ea9800fe371e0b29780eda79730271e363.tar.gz bcm5719-llvm-b62cd7ea9800fe371e0b29780eda79730271e363.zip |
Use -1ULL instead of uint64_t(-1), at Anton's suggestion.
llvm-svn: 57021
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 4e8c47c85e4..cacffe41622 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -2927,7 +2927,7 @@ static SDValue getMemcpyLoadsAndStores(SelectionDAG &DAG, // Expand memcpy to a series of load and store ops if the size operand falls // below a certain threshold. std::vector<MVT> MemOps; - uint64_t Limit = uint64_t(-1); + uint64_t Limit = -1ULL; if (!AlwaysInline) Limit = TLI.getMaxStoresPerMemcpy(); unsigned DstAlign = Align; // Destination alignment can change. @@ -2985,7 +2985,7 @@ static SDValue getMemmoveLoadsAndStores(SelectionDAG &DAG, // Expand memmove to a series of load and store ops if the size operand falls // below a certain threshold. std::vector<MVT> MemOps; - uint64_t Limit = uint64_t(-1); + uint64_t Limit = -1ULL; if (!AlwaysInline) Limit = TLI.getMaxStoresPerMemmove(); unsigned DstAlign = Align; // Destination alignment can change. |