aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.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/Target/X86/Disassembler/X86Disassembler.cpp
parentdd9a25997533d7894081ae11a82a54a593b1cb13 (diff)
downloadllvm-20b71e28cc7b33ccadb66737a805e7adb68e9106.zip
llvm-20b71e28cc7b33ccadb66737a805e7adb68e9106.tar.gz
llvm-20b71e28cc7b33ccadb66737a805e7adb68e9106.tar.bz2
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/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions