summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineLICM.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-04-13 19:06:14 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-04-13 19:06:14 +0000
commit20b71e28cc7b33ccadb66737a805e7adb68e9106 (patch)
tree8593ed263e1bb5630d6b940dae8c0f120df1ceaf /llvm/lib/CodeGen/MachineLICM.cpp
parentdd9a25997533d7894081ae11a82a54a593b1cb13 (diff)
downloadbcm5719-llvm-20b71e28cc7b33ccadb66737a805e7adb68e9106.tar.gz
bcm5719-llvm-20b71e28cc7b33ccadb66737a805e7adb68e9106.zip
Teach MachineSinking to handle easy critical edges.
Sometimes it is desirable to sink instructions along a critical edge: x = ... if (a && b) ... else use(x); The 'a && b' condition creates a critical edge to the else block, but we still want to sink the computation of x into the block. The else block is dominated by the parent block, so we are not pushing instructions into new code paths. llvm-svn: 101165
Diffstat (limited to 'llvm/lib/CodeGen/MachineLICM.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud