Commit 211efa0c authored by Christian Würdig's avatar Christian Würdig
Browse files

set Lea type to O if addressmode const found

parent a61c3426
......@@ -1179,7 +1179,7 @@ static ir_node *fold_addr(ia32_code_gen_t *cg, ir_node *irn, ir_node *noreg) {
am_flav = ia32_am_N;
/* determine new am flavour */
if (offs || offs_cnst || offs_lea) {
if (offs || offs_cnst || offs_lea || have_am_sc) {
am_flav |= ia32_O;
}
if (! be_is_NoReg(cg, base)) {
......
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