AMDGPU/GlobalISel: Set insert point after waterfall loop
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 4 Jan 2020 16:51:50 +0000 (11:51 -0500)
committerMatt Arsenault <arsenm2@gmail.com>
Mon, 13 Jan 2020 17:51:05 +0000 (12:51 -0500)
commit3d8f1b2d22be79aab3d246fa5bc9c24b911b0bd2
treecb90d41ff60c49ce9488d2adf55def8e31c91d92
parent2f090cc8f1a3144c81b024bdc52ec1ae49dc0def
AMDGPU/GlobalISel: Set insert point after waterfall loop

The current users of the waterfall loop utility functions do not make
use of the restored original insert point. The insertion is either
done, or they set the insert point somewhere else. A future change
will want to insert instructions after the waterfall loop, but
figuring out the point after the loop is more difficult than ensuring
the insert point is there after the loop.
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp