mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
Rename method. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168560 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d7e0b7cdc5
commit
a8e2b2b68f
@ -268,7 +268,7 @@ public:
|
||||
}
|
||||
|
||||
/// Insert a pointer and calculate the start and end SCEVs.
|
||||
void insert_pointer(ScalarEvolution *SE, Loop *Lp, Value *Ptr) {
|
||||
void insert(ScalarEvolution *SE, Loop *Lp, Value *Ptr) {
|
||||
const SCEV *Sc = SE->getSCEV(Ptr);
|
||||
const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Sc);
|
||||
assert(AR && "Invalid addrec expression");
|
||||
@ -1667,7 +1667,7 @@ bool LoopVectorizationLegality::canVectorizeMemory(BasicBlock &BB) {
|
||||
bool RT = true;
|
||||
for (I = ReadWrites.begin(), IE = ReadWrites.end(); I != IE; ++I)
|
||||
if (hasComputableBounds(*I)) {
|
||||
PtrRtCheck.insert_pointer(SE, TheLoop, *I);
|
||||
PtrRtCheck.insert(SE, TheLoop, *I);
|
||||
DEBUG(dbgs() << "LV: Found a runtime check ptr:" << **I <<"\n");
|
||||
} else {
|
||||
RT = false;
|
||||
@ -1675,7 +1675,7 @@ bool LoopVectorizationLegality::canVectorizeMemory(BasicBlock &BB) {
|
||||
}
|
||||
for (I = Reads.begin(), IE = Reads.end(); I != IE; ++I)
|
||||
if (hasComputableBounds(*I)) {
|
||||
PtrRtCheck.insert_pointer(SE, TheLoop, *I);
|
||||
PtrRtCheck.insert(SE, TheLoop, *I);
|
||||
DEBUG(dbgs() << "LV: Found a runtime check ptr:" << **I <<"\n");
|
||||
} else {
|
||||
RT = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user