projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59b5600
)
Switch nodes may have dw inputs, without outputs
author
Matthias Braun
<matze@braunis.de>
Wed, 24 Oct 2012 16:43:03 +0000
(18:43 +0200)
committer
Matthias Braun
<matze@braunis.de>
Thu, 25 Oct 2012 17:12:23 +0000
(19:12 +0200)
switch with double-word input leads to panic, but still better than
obscure verifier errors.
ir/lower/lower_dw.c
patch
|
blob
|
history
diff --git
a/ir/lower/lower_dw.c
b/ir/lower/lower_dw.c
index
b12c1bd
..
16637ab
100644
(file)
--- a/
ir/lower/lower_dw.c
+++ b/
ir/lower/lower_dw.c
@@
-2756,6
+2756,7
@@
static bool always_lower(unsigned code)
case iro_Call:
case iro_Return:
case iro_Cond:
+ case iro_Switch:
case iro_Conv:
case iro_Sel:
return true;