AMDGPU: Improve accuracy of instruction rates for VOPC
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 25 Sep 2015 16:58:25 +0000 (16:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 25 Sep 2015 16:58:25 +0000 (16:58 +0000)
commit4fc498f43c9843d5723c2ed38a8a4d0699f76719
tree547ba9f545aa89d0fdbde5dc5a84800edcd103cb
parent2b27648132b6a731c4edfba89747832c6a1bec56
AMDGPU: Improve accuracy of instruction rates for VOPC

These were all using the default 32-bit VALU write class,
but the i64/f64 compares are half rate.

I'm not sure this is really correct, because they are still using
the write to VALU write class, even though they really write
to the SALU.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248582 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/SISchedule.td
test/CodeGen/AMDGPU/llvm.AMDGPU.class.ll
test/CodeGen/AMDGPU/valu-i1.ll