gpu-compute: Fix bug with return in cfg
authorMichael LeBeane <michael.lebeane@amd.com>
Wed, 14 Sep 2016 03:11:20 +0000 (23:11 -0400)
committerMichael LeBeane <michael.lebeane@amd.com>
Wed, 14 Sep 2016 03:11:20 +0000 (23:11 -0400)
commit6a668d0c0cc915ee2f1950e907cd61723d6b72c7
treed222842fbb1006e23fa6c542fc7b1f9c47795e3c
parentfebab25957066cf9b470864b6bda38687918b36d
gpu-compute: Fix bug with return in cfg
Connecting basic blocks would stop too early in kernels where ret was not the
last instruction.  This patch allows basic blocks after the ret instruction
to be properly connected.
src/gpu-compute/kernel_cfg.cc