aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamReader.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-05-30 16:49:24 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-05-30 16:49:24 +0000
commit56ea488d8b8c897599f13c9f9e8058cb36ff808f (patch)
treec6091973507e778cdeebd01dc0a57f517fedd56c /llvm/lib/Support/BinaryStreamReader.cpp
parent8c099fe06e9c4efdea698ac82df2685792ea0b6e (diff)
downloadllvm-56ea488d8b8c897599f13c9f9e8058cb36ff808f.zip
llvm-56ea488d8b8c897599f13c9f9e8058cb36ff808f.tar.gz
llvm-56ea488d8b8c897599f13c9f9e8058cb36ff808f.tar.bz2
[AMDGPU] Allow SDWA in instructions with immediates and SGPRs
An encoding does not allow to use SDWA in an instruction with scalar operands, either literals or SGPRs. That is however possible to copy these operands into a VGPR first. Several copies of the value are produced if multiple SDWA conversions were done. To cleanup MachineLICM (to hoist copies out of loops), MachineCSE (to remove duplicate copies) and SIFoldOperands (to replace SGPR to VGPR copy with immediate copy right to the VGPR) runs are added after the SDWA pass. Differential Revision: https://reviews.llvm.org/D33583 llvm-svn: 304219
Diffstat (limited to 'llvm/lib/Support/BinaryStreamReader.cpp')
0 files changed, 0 insertions, 0 deletions