Add an LLVM IR version of code sinking. This uses the same simple algorithm
authorDan Gohman <gohman@apple.com>
Fri, 7 May 2010 15:40:13 +0000 (15:40 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 7 May 2010 15:40:13 +0000 (15:40 +0000)
commit28a193ed8b4b37593afb76f9130eacf393ea9383
treebdd468e10d1107479ea3c54cf85d2ba2c40f5cd9
parent5374195cd74b481681f41d5e1b03e5ba69c9dad0
Add an LLVM IR version of code sinking. This uses the same simple algorithm
as MachineSink, but it isn't constrained by MachineInstr-level details.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103257 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Scalar.h
lib/Transforms/Scalar/Sink.cpp [new file with mode: 0644]
test/Transforms/Sink/basic.ll [new file with mode: 0644]
test/Transforms/Sink/dg.exp [new file with mode: 0644]