mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-23 17:28:54 +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:
@@ -192,7 +192,7 @@ bool PPCLoopDataPrefetch::runOnLoop(Loop *L) {
|
||||
const SCEV *PtrDiff = SE->getMinusSCEV(LSCEVAddRec, K->second);
|
||||
if (const SCEVConstant *ConstPtrDiff =
|
||||
dyn_cast<SCEVConstant>(PtrDiff)) {
|
||||
int64_t PD = abs64(ConstPtrDiff->getValue()->getSExtValue());
|
||||
int64_t PD = std::abs(ConstPtrDiff->getValue()->getSExtValue());
|
||||
if (PD < (int64_t) CacheLineSize) {
|
||||
DupPref = true;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user