R600/SI: Use VALU instructions for copying i1 values
authorTom Stellard <thomas.stellard@amd.com>
Wed, 30 Apr 2014 15:31:33 +0000 (15:31 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 30 Apr 2014 15:31:33 +0000 (15:31 +0000)
commitbd24b33e5782997dfa26b0debf934dd364756982
tree6506851df5b86a758703c68df4ee1ba7e36b0319
parent1d8e31fc7a2139df95ef9115a9d51c51fde2ae86
R600/SI: Use VALU instructions for copying i1 values

We can't use SALU instructions for this since they ignore the EXEC mask
and are always executed.

This fixes several OpenCV tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPU.h
lib/Target/R600/AMDGPUTargetMachine.cpp
lib/Target/R600/CMakeLists.txt
lib/Target/R600/SIFixSGPRCopies.cpp
lib/Target/R600/SIISelLowering.cpp
lib/Target/R600/SIInstructions.td
lib/Target/R600/SILowerControlFlow.cpp
lib/Target/R600/SILowerI1Copies.cpp [new file with mode: 0644]
lib/Target/R600/SIRegisterInfo.td
test/CodeGen/R600/valu-i1.ll [new file with mode: 0644]