OSDN Git Service

R600/SI: Add instruction shrinking pass
authorTom Stellard <thomas.stellard@amd.com>
Mon, 21 Jul 2014 16:55:33 +0000 (16:55 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 21 Jul 2014 16:55:33 +0000 (16:55 +0000)
commit9787e8c76b6b0ea24bc0132a07f237bce8bbcf2a
tree9eb7efa957f792cf3299b19e13311acb815dd7e0
parentcef5388ce8faaa78d726607ccc5b2c2b8e742be1
R600/SI: Add instruction shrinking pass

This pass converts 64-bit instructions to 32-bit when possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213561 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Target/R600/AMDGPU.h
lib/Target/R600/AMDGPUTargetMachine.cpp
lib/Target/R600/CMakeLists.txt
lib/Target/R600/SIInstrFormats.td
lib/Target/R600/SIInstrInfo.cpp
lib/Target/R600/SIInstrInfo.h
lib/Target/R600/SIInstrInfo.td
lib/Target/R600/SIShrinkInstructions.cpp [new file with mode: 0644]
test/CodeGen/R600/bfi_int.ll
test/CodeGen/R600/ctpop.ll
test/CodeGen/R600/fcmp64.ll
test/CodeGen/R600/seto.ll
test/CodeGen/R600/setuo.ll