https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123838
--- Comment #3 from Jeffrey A. Law <law at gcc dot gnu.org> --- So the problem with simplify-rtx is we'd have to test SHIFT_COUNT_TRUNCATED in fun an interesting ways *and* there are targets with SHIFT_COUNT_TRUNCATED semantics, but which do not define SHIFT_COUNT_TRUNCATED. I'm leaning a bit more towards doing this in the target files... I'm going to have Austin prototype that approach to see what it ultimately looks like.
