mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 09:21:13 +00:00
Remove tabs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54707 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aad66bf606
commit
f9e67aca52
@ -988,7 +988,7 @@ static bool GlobalLoadUsesSimpleEnoughForHeapSRA(GlobalVariable *GV,
|
|||||||
// We permit two users of the load: setcc comparing against the null
|
// We permit two users of the load: setcc comparing against the null
|
||||||
// pointer, and a getelementptr of a specific form.
|
// pointer, and a getelementptr of a specific form.
|
||||||
for (Value::use_iterator UI = LI->use_begin(), E = LI->use_end();
|
for (Value::use_iterator UI = LI->use_begin(), E = LI->use_end();
|
||||||
UI != E; ++UI) {
|
UI != E; ++UI) {
|
||||||
// Comparison against null is ok.
|
// Comparison against null is ok.
|
||||||
if (ICmpInst *ICI = dyn_cast<ICmpInst>(*UI)) {
|
if (ICmpInst *ICI = dyn_cast<ICmpInst>(*UI)) {
|
||||||
if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
|
if (!isa<ConstantPointerNull>(ICI->getOperand(1)))
|
||||||
@ -1611,7 +1611,7 @@ static bool OnlyCalledDirectly(Function *F) {
|
|||||||
|
|
||||||
// See if the function address is passed as an argument.
|
// See if the function address is passed as an argument.
|
||||||
for (User::op_iterator i = User->op_begin() + 1, e = User->op_end();
|
for (User::op_iterator i = User->op_begin() + 1, e = User->op_end();
|
||||||
i != e; ++i)
|
i != e; ++i)
|
||||||
if (*i == F) return false;
|
if (*i == F) return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user