API Change: Use graph state instead of parameter
authorAndreas Zwinkau <zwinkau@kit.edu>
Tue, 16 Aug 2011 11:28:18 +0000 (13:28 +0200)
committerAndreas Zwinkau <zwinkau@kit.edu>
Tue, 16 Aug 2011 11:38:54 +0000 (13:38 +0200)
commit52e716470420c535450e02f23f4d0ab6c55ed2e1
tree3a7800b3cfe92ce0dcd5700233a7759f21d6e197
parent2ae3e919c37733648d85a31ebdd835c0ece0c60b
API Change: Use graph state instead of parameter

The lowering phase had a lower_bitfield parameter.
Instead of passing "true", the (e.g. EDG) frontends now must
set_irg_state(irg, IR_GRAPH_STATE_IMPLICIT_BITFIELD_MASKING).

This is necessary, because not only the lowering phase is affected.
Additionally, the load store optimisation should handle Sels differently.
include/libfirm/irgraph.h
include/libfirm/lowering.h
ir/lower/lower_hl.c