projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
synchronizeICache removeed from TargetJITInfo.
[oota-llvm.git]
/
lib
/
Transforms
/
LevelRaise.cpp
diff --git
a/lib/Transforms/LevelRaise.cpp
b/lib/Transforms/LevelRaise.cpp
index d36046811cbca1e0911093ee47411757ea5eeaaf..9cbe3b813eba1620bd070563ea545a309dcbe76a 100644
(file)
--- a/
lib/Transforms/LevelRaise.cpp
+++ b/
lib/Transforms/LevelRaise.cpp
@@
-24,6
+24,7
@@
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/STLExtras.h"
#include <algorithm>
+#include <iostream>
using namespace llvm;
// StartInst - This enables the -raise-start-inst=foo option to cause the level
using namespace llvm;
// StartInst - This enables the -raise-start-inst=foo option to cause the level
@@
-102,7
+103,6
@@
bool RPR::PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) {
if (CastInst *CI = dyn_cast<CastInst>(I)) {
Value *Src = CI->getOperand(0);
if (CastInst *CI = dyn_cast<CastInst>(I)) {
Value *Src = CI->getOperand(0);
- Instruction *SrcI = dyn_cast<Instruction>(Src); // Nonnull if instr source
const Type *DestTy = CI->getType();
// Peephole optimize the following instruction:
const Type *DestTy = CI->getType();
// Peephole optimize the following instruction: