]> granicus.if.org Git - llvm/commit
Merging r260495:
authorTom Stellard <thomas.stellard@amd.com>
Fri, 3 Jun 2016 09:50:08 +0000 (09:50 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 3 Jun 2016 09:50:08 +0000 (09:50 +0000)
commit873623bac34dfe2ba8f11f41551a0d784a2dd1ff
tree3d6df65eaff5a410a8b0143e3823a2987fd2080f
parent85fbe68f17d410c59d46080a6b2b47dfd3866b84
Merging r260495:

------------------------------------------------------------------------
r260495 | Matthew.Arsenault | 2016-02-10 22:15:39 -0800 (Wed, 10 Feb 2016) | 9 lines

AMDGPU: Fix constant bus use check with subregisters

If the two operands to an instruction were both
subregisters of the same super register, it would incorrectly
think this counted as the same constant bus use.

This fixes the verifier error in fmin_legacy.ll which
was missing -verify-machineinstrs.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_38@271640 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.cpp
test/CodeGen/AMDGPU/fmax_legacy.ll
test/CodeGen/AMDGPU/fmin_legacy.ll