mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 20:26:07 +00:00
Removed trailing whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -269,19 +269,19 @@ static inline bool AreAnyUnderlyingObjectsAnAlloca(const Value *V) {
|
|||||||
do {
|
do {
|
||||||
const Value *P = Worklist.pop_back_val();
|
const Value *P = Worklist.pop_back_val();
|
||||||
P = GetUnderlyingObjCPtr(P);
|
P = GetUnderlyingObjCPtr(P);
|
||||||
|
|
||||||
if (isa<AllocaInst>(P))
|
if (isa<AllocaInst>(P))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (!Visited.insert(P))
|
if (!Visited.insert(P))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (const SelectInst *SI = dyn_cast<const SelectInst>(P)) {
|
if (const SelectInst *SI = dyn_cast<const SelectInst>(P)) {
|
||||||
Worklist.push_back(SI->getTrueValue());
|
Worklist.push_back(SI->getTrueValue());
|
||||||
Worklist.push_back(SI->getFalseValue());
|
Worklist.push_back(SI->getFalseValue());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (const PHINode *PN = dyn_cast<const PHINode>(P)) {
|
if (const PHINode *PN = dyn_cast<const PHINode>(P)) {
|
||||||
for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
|
for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
|
||||||
Worklist.push_back(PN->getIncomingValue(i));
|
Worklist.push_back(PN->getIncomingValue(i));
|
||||||
|
Reference in New Issue
Block a user