summaryrefslogtreecommitdiffhomepage
path: root/ir/be/betranshlp.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-12-19 12:52:13 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-12-19 13:13:54 +0100
commitc64301924c28e535fb07330b1ea4294e7566cb26 (patch)
treef3e0a957f5aacf6e3b9a4d72774654e5b925038f /ir/be/betranshlp.c
parent027905d948e51ea05e8a2e8c9b3a094956e7d67a (diff)
be: Set the transformer for Projs of Cond and Switch in the generic backend code.
All backends just copy these Projs.
Diffstat (limited to 'ir/be/betranshlp.c')
-rw-r--r--ir/be/betranshlp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ir/be/betranshlp.c b/ir/be/betranshlp.c
index d01b2e0..1aa0295 100644
--- a/ir/be/betranshlp.c
+++ b/ir/be/betranshlp.c
@@ -475,7 +475,9 @@ void be_start_transform_setup(void)
be_set_transform_function(op_Proj, transform_proj);
be_set_transform_function(op_Sync, be_duplicate_node);
- be_set_transform_proj_function(op_ASM, transform_Proj_ASM);
+ be_set_transform_proj_function(op_ASM, transform_Proj_ASM);
+ be_set_transform_proj_function(op_Cond, be_gen_Proj_default);
+ be_set_transform_proj_function(op_Switch, be_gen_Proj_default);
be_set_upper_bits_clean_function(op_And, and_upper_bits_clean);
be_set_upper_bits_clean_function(op_Const, const_upper_bits_clean);