summaryrefslogtreecommitdiffhomepage
path: root/ir/lower
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2016-12-26 08:57:27 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2016-12-26 09:13:20 +0100
commit32e1be4ab303ec749954f71d833bcd6dbbbd8fa3 (patch)
tree0767e0b3144a31aef93ee87e4054c0545515e47d /ir/lower
parentcf14a2e5f94d131a923e0cd2b72f87b07e0446f7 (diff)
lower: Remove duplicate check.
get_lowered_mode() checks for mode_is_float().
Diffstat (limited to 'ir/lower')
-rw-r--r--ir/lower/lower_softfloat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/lower/lower_softfloat.c b/ir/lower/lower_softfloat.c
index 0a2b4be..5e9d02f 100644
--- a/ir/lower/lower_softfloat.c
+++ b/ir/lower/lower_softfloat.c
@@ -611,8 +611,7 @@ static bool lower_Bitcast(ir_node *const n)
ir_mode *dst_mode = get_irn_mode(n);
/* note that the predecessor may already be transformed, so it's
* possible that we don't see a float mode anymore. */
- if (mode_is_float(dst_mode))
- dst_mode = get_lowered_mode(dst_mode);
+ dst_mode = get_lowered_mode(dst_mode);
ir_node *res = op;
if (src_mode != dst_mode) {
dbg_info *dbgi = get_irn_dbg_info(n);