This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Add TST to RX
> This seems wrong. It should be (if_then_else (ne (zero_extract:SI
> ...))). If that one is not generated by combine (likely because ne is
> removed somewhere?) that should be fixed.
>
> This pattern may well be the reason why canonicalize_condition is called
> with a non-comparison RTL.
It is caused by combine. I put a debug_rtx() after
recog_for_combine() to see what gcc is expecting, and that's the
pattern it's looking for.
Feel free to figure *that* one out too :-)