https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70009

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to cesar from comment #6)
> Created attachment 37898 [details]
> test fix
> 
> I've tested this patch on an arm target and it passes now. All this patch
> does is make the type macro signed.
> 
> So the intent behind this test was to make sure that vector propagation
> works on integral types less than 32-bits on nvptx targets. I was using a
> signed values explicitly because the nvptx backend uses a shuffle
> instruction to propagate variables, and that instruction only takes unsigned
> registers. So the signed values added a little more test coverage. I didn't
> realize that chars aren't signed on targets.
> 
> This patch should fix this issue.

Preapproved for trunk.

Reply via email to