AMDGPU/GlobalISel: Fix processing new phi in waterfall loop
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sun, 2 Feb 2020 01:21:44 +0000 (20:21 -0500)
committerMatt Arsenault <arsenm2@gmail.com>
Wed, 5 Feb 2020 16:52:42 +0000 (11:52 -0500)
commit307e0d5490a5f2a069a00e4273784d1a2e005ab9
tree1becd30d77125a091128679450e44f52448f0212
parentcc1cffbe097997da21ad6860b371dddbc922f228
AMDGPU/GlobalISel: Fix processing new phi in waterfall loop

The adjusted iterator range included the last we just inserted, and
don't want to process. Figure out the new iterator range before
inserting phis. This was a harmless problem, but added an unnecessary
complication for a future patch.
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp