Commit 06dd65f5 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

irgopt: Remove local_opts().

It just calls optimize_graph_df().
Its documentation was that of optimize_graph_df() anyway.
parent 9f43ba09
......@@ -51,21 +51,14 @@ FIRM_API void local_optimize_graph(ir_graph *irg);
* This version uses fixpoint iteration.
*
* @param irg The graph to be optimized.
*
* @return non-zero if the optimization could be applied, 0 else
*/
FIRM_API void local_opts(ir_graph *irg);
FIRM_API void optimize_graph_df(ir_graph *irg);
/**
* Perform local optimizations on nodes on const code irg
*/
FIRM_API void local_opts_const_code(void);
/** Same functionality as local_opts above, but without framework wrapper
* @deprecated
*/
FIRM_API void optimize_graph_df(ir_graph *irg);
/**
* Eliminates (obviously) unreachable code
*/
......
......@@ -199,7 +199,6 @@ libfirm_la_SOURCES = \
opt/ircgopt.c \
opt/jumpthreading.c \
opt/ldstopt.c \
opt/local.c \
opt/loop.c \
opt/opt_blocks.c \
opt/opt_confirms.c \
......
/*
* This file is part of libFirm.
* Copyright (C) 2012 Karlsruhe Institute of Technology.
*/
/**
* @brief Apply local opts until fixpoint
* @author Andreas Zwinkau
*/
#include "irgopt.h"
void local_opts(ir_graph *irg)
{
optimize_graph_df(irg);
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment