mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Use -1ULL instead of uint64_t(-1), at Anton's suggestion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57021 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d1b8a5911
commit
ca0a5d9356
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user