mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-15 09:51:00 +00:00
remove dead variables
llvm-svn: 28286
This commit is contained in:
parent
fa70e32490
commit
4ad747c469
@ -103,7 +103,6 @@ bool RPR::PeepholeOptimize(BasicBlock *BB, BasicBlock::iterator &BI) {
|
||||
|
||||
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:
|
||||
|
@ -901,8 +901,6 @@ HoistTerminator:
|
||||
/// across this block.
|
||||
static bool BlockIsSimpleEnoughToThreadThrough(BasicBlock *BB) {
|
||||
BranchInst *BI = cast<BranchInst>(BB->getTerminator());
|
||||
Value *Cond = BI->getCondition();
|
||||
|
||||
unsigned Size = 0;
|
||||
|
||||
// If this basic block contains anything other than a PHI (which controls the
|
||||
|
Loading…
x
Reference in New Issue
Block a user