mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-02 19:24:25 +00:00
Remove the remaining uses of abs64 and nuke it.
std::abs works just fine and we're already using it in many places. NFC intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231696 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -124,7 +124,7 @@ static unsigned getNewAlignmentDiff(const SCEV *DiffSCEV,
|
||||
|
||||
// If the displacement is not an exact multiple, but the remainder is a
|
||||
// constant, then return this remainder (but only if it is a power of 2).
|
||||
uint64_t DiffUnitsAbs = abs64(DiffUnits);
|
||||
uint64_t DiffUnitsAbs = std::abs(DiffUnits);
|
||||
if (isPowerOf2_64(DiffUnitsAbs))
|
||||
return (unsigned) DiffUnitsAbs;
|
||||
}
|
||||
|
Reference in New Issue
Block a user