From 59dd91cda8d2debc30975ae9820b77c5c48da69b Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Wed, 24 Oct 2012 18:43:03 +0200 Subject: [PATCH] Switch nodes may have dw inputs, without outputs switch with double-word input leads to panic, but still better than obscure verifier errors. --- ir/lower/lower_dw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ir/lower/lower_dw.c b/ir/lower/lower_dw.c index b12c1bdab..16637ab9c 100644 --- 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; -- 2.20.1