https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64376
Bug ID: 64376 Summary: [SH] Improve bswap support Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: olegendo at gcc dot gnu.org Target: sh*-*-* There have been some improvements made w.r.t. bswap pattern detection at the tree level. Some of them expect a bswaphi2 expander, which is absent on SH (see PR 63259). It seems that adding the bswaphi2 pattern is not enough and we still need support from combine to get better pattern matching.