* combine.c (gen_lowpart_or_truncate): Call
simplify_gen_unary(TRUNCATE, ...) instead of gen_rtx_TRUNCATE.
From-SVN: r111437
+2006-02-24 Adam Nemet <anemet@caviumnetworks.com>
+
+ * combine.c (gen_lowpart_or_truncate): Call
+ simplify_gen_unary(TRUNCATE, ...) instead of gen_rtx_TRUNCATE.
+
2006-02-24 Diego Novillo <dnovillo@redhat.com>
* doc/invoke.texi: Move -fopenmp description to "Options for
|| (REG_P (x) && reg_truncated_to_mode (mode, x)))
return gen_lowpart (mode, x);
else
- return gen_rtx_TRUNCATE (mode, x);
+ return simplify_gen_unary (TRUNCATE, mode, x, GET_MODE (x));
}
/* See if X can be simplified knowing that we will only refer to it in