[nvptx] Fix branch-around-nothing
authorTom de Vries <tom@codesourcery.com>
Thu, 26 Apr 2018 13:26:38 +0000 (13:26 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Thu, 26 Apr 2018 13:26:38 +0000 (13:26 +0000)
commit6beefdbdf33d56fe0d327688b85dc0cd25ce7a06
treea205bc00455cfd119aaedb5f7d48a8a1085ac023
parentd160ae7814db14b36fc7eacc5fc14b77604837a1
[nvptx] Fix branch-around-nothing

2018-04-26  Tom de Vries  <tom@codesourcery.com>

PR target/84025
* config/nvptx/nvptx.c (needs_neutering_p): New function.
(nvptx_single): Use needs_neutering_p to skip over insns that do not
need neutering.

From-SVN: r259676
gcc/ChangeLog
gcc/config/nvptx/nvptx.c