mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 10:17:37 +00:00
Formating fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37491 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18aad23ce3
commit
b62fa8ab6b
@ -291,12 +291,12 @@ bool SimpleInliner::doInitialization(CallGraph &CG) {
|
||||
// Get llvm.noinline
|
||||
GlobalVariable *GV = M.getNamedGlobal("llvm.noinline");
|
||||
|
||||
if(GV == 0)
|
||||
if (GV == 0)
|
||||
return false;
|
||||
|
||||
const ConstantArray *InitList = dyn_cast<ConstantArray>(GV->getInitializer());
|
||||
|
||||
if(InitList == 0)
|
||||
if (InitList == 0)
|
||||
return false;
|
||||
|
||||
// Iterate over each element and add to the NeverInline set
|
||||
@ -310,8 +310,8 @@ bool SimpleInliner::doInitialization(CallGraph &CG) {
|
||||
Elt = CE->getOperand(0);
|
||||
|
||||
// Insert into set of functions to never inline
|
||||
if(const Function *f = dyn_cast<Function>(Elt))
|
||||
NeverInline.insert(f);
|
||||
if (const Function *F = dyn_cast<Function>(Elt))
|
||||
NeverInline.insert(F);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user