mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Remove unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80058 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -800,8 +800,6 @@ void GVNPRE::val_replace(ValueNumberedSet& s, Value* v) {
|
||||
Value* GVNPRE::phi_translate(Value* V, BasicBlock* pred, BasicBlock* succ) {
|
||||
if (V == 0)
|
||||
return 0;
|
||||
|
||||
LLVMContext &Context = V->getContext();
|
||||
|
||||
// Unary Operations
|
||||
if (CastInst* U = dyn_cast<CastInst>(V)) {
|
||||
@@ -1597,7 +1595,6 @@ void GVNPRE::buildsets(Function& F) {
|
||||
void GVNPRE::insertion_pre(Value* e, BasicBlock* BB,
|
||||
DenseMap<BasicBlock*, Value*>& avail,
|
||||
std::map<BasicBlock*, ValueNumberedSet>& new_sets) {
|
||||
LLVMContext &Context = e->getContext();
|
||||
for (pred_iterator PI = pred_begin(BB), PE = pred_end(BB); PI != PE; ++PI) {
|
||||
Value* e2 = avail[*PI];
|
||||
if (!availableOut[*PI].test(VN.lookup(e2))) {
|
||||
|
Reference in New Issue
Block a user