[Bug tree-optimization/124019] Improve subword arithmetic and comparisons
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 26 16:59:10 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124019
--- Comment #5 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Then that's a target issue HP.
>From a canonicalization standpoint Andrew's approach is sound and checking RTX
costs is inappropriate here as we're in gimple and very much want to avoid
introducing those kinds of target dependencies into gimple.
If there are tests in the testsuite which show the behavior you're looking for
or want to avoid, that would be a huge help to help ensure that
canonicalization isn't regressing on cris or other targets with similar
properties.
More information about the Gcc-bugs
mailing list