mirror of
https://github.com/danog/ir.git
synced 2025-01-22 05:31:32 +01:00
SNAPSHOT data shouldn't be in registers
This commit is contained in:
parent
265ebc1000
commit
ba90e2825e
@ -471,7 +471,7 @@ uint8_t ir_get_use_flags(ir_ctx *ctx, ir_ref ref, int op_num, ir_reg *reg)
|
||||
*reg = IR_REG_FP_RET1;
|
||||
return IR_USE_SHOULD_BE_IN_REG;
|
||||
case IR_SNAPSHOT:
|
||||
return IR_USE_SHOULD_BE_IN_REG;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return IR_USE_MUST_BE_IN_REG;
|
||||
|
@ -897,7 +897,7 @@ uint8_t ir_get_use_flags(ir_ctx *ctx, ir_ref ref, int op_num, ir_reg *reg)
|
||||
}
|
||||
break;
|
||||
case IR_SNAPSHOT:
|
||||
return IR_USE_SHOULD_BE_IN_REG;
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user