Commit 80680f5b authored by Matthias Braun's avatar Matthias Braun
Browse files

use x86_type_E for x86_mode_E constants

mode_E is only 10 bytes wide but we should still use the 12byte wide
type_E for better alignment/consistency.
parent 28059fba
......@@ -333,7 +333,7 @@ ir_entity *create_float_const_entity(ir_tarval *const tv)
return entity;
ir_mode *mode = get_tarval_mode(tv);
ir_type *type = get_type_for_mode(mode);
ir_type *type = mode == x86_mode_E ? x86_type_E : get_type_for_mode(mode);
ir_type *glob = get_glob_type();
entity = new_entity(glob, id_unique("C%u"), type);
Markdown is supported
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