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

--- Comment #6 from cesar at gcc dot gnu.org ---
Created attachment 37898
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37898&action=edit
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.

Reply via email to