On 29 October 2015 at 13:50, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote:
>>> Ok for trunk? >> >> rtl.h exposes reg_or_subregno() already doesn't that do what we need here? > > > reg_or_subregno assumes that what it's passed is REG or a SUBREG. > It will ICE on any other rtx. Here I want to strip the subreg if it is > a subreg, but leave it as it is otherwise. OK, I follow. >> The test case is not aarch64 specific therefore I think convention is >> that it should go into a generic directory. > > > Ok, I'll put it in gcc.dg/ OK with the test case moved. Thanks /Marcus