R600/SI: Add SIFoldOperands pass
authorTom Stellard <thomas.stellard@amd.com>
Fri, 21 Nov 2014 22:06:37 +0000 (22:06 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 21 Nov 2014 22:06:37 +0000 (22:06 +0000)
commit6596ba79339fe2c155fd5337cd9ba3dfc6013d4d
tree6a56d7ed58816e41e2c34b504df289cbee69d8a5
parent3b8ddb665bb332f0dd484db44ec93da927caa7df
R600/SI: Add SIFoldOperands pass

This pass attempts to fold the source operands of mov and copy
instructions into their uses.

llvm-svn: 222581
llvm/lib/Target/R600/AMDGPU.h
llvm/lib/Target/R600/AMDGPUTargetMachine.cpp
llvm/lib/Target/R600/CMakeLists.txt
llvm/lib/Target/R600/SIFoldOperands.cpp [new file with mode: 0644]
llvm/test/CodeGen/R600/extload.ll
llvm/test/CodeGen/R600/local-atomics.ll
llvm/test/CodeGen/R600/operand-folding.ll [new file with mode: 0644]