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)
commitedcd88ce1a3d64d220e8de8cfd8ce9ca33970753
treed6d2cb857f6bc04236d64d7b87491199a9a876f6
parentd9accc1e5fa49f392004194bb733d99d4d9c35d4
R600/SI: Add SIFoldOperands pass

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222581 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPU.h
lib/Target/R600/AMDGPUTargetMachine.cpp
lib/Target/R600/CMakeLists.txt
lib/Target/R600/SIFoldOperands.cpp [new file with mode: 0644]
test/CodeGen/R600/extload.ll
test/CodeGen/R600/local-atomics.ll
test/CodeGen/R600/operand-folding.ll [new file with mode: 0644]