mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-13 09:14:38 +00:00
Eliminte unnecessary uses of <cstdio>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91666 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
411984810e
commit
ad12b2698b
@ -48,7 +48,6 @@
|
||||
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
|
||||
#include "llvm/Transforms/Utils/Local.h"
|
||||
#include "llvm/Transforms/Utils/SSAUpdater.h"
|
||||
#include <cstdio>
|
||||
using namespace llvm;
|
||||
|
||||
STATISTIC(NumGVNInstr, "Number of instructions deleted");
|
||||
@ -733,13 +732,13 @@ static RegisterPass<GVN> X("gvn",
|
||||
"Global Value Numbering");
|
||||
|
||||
void GVN::dump(DenseMap<uint32_t, Value*>& d) {
|
||||
printf("{\n");
|
||||
errs() << "{\n";
|
||||
for (DenseMap<uint32_t, Value*>::iterator I = d.begin(),
|
||||
E = d.end(); I != E; ++I) {
|
||||
printf("%d\n", I->first);
|
||||
errs() << I->first << "\n";
|
||||
I->second->dump();
|
||||
}
|
||||
printf("}\n");
|
||||
errs() << "}\n";
|
||||
}
|
||||
|
||||
static bool isSafeReplacement(PHINode* p, Instruction *inst) {
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Transforms/Utils/SSAUpdater.h"
|
||||
#include <cstdio>
|
||||
using namespace llvm;
|
||||
|
||||
STATISTIC(NumSCCVNInstr, "Number of instructions deleted by SCCVN");
|
||||
|
Loading…
x
Reference in New Issue
Block a user