summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-03-01 00:43:42 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-03-01 00:43:42 +0000
commit20b3e9a8355311aae1ca2f491b1eb2dd5ec44b84 (patch)
tree014c3611e270bfacb1a9669279aed5976187379f /lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp
parent67d1c7c3c29e0f15842fed4fb8c13dc903cd0b60 (diff)
downloadbcm5719-llvm-20b3e9a8355311aae1ca2f491b1eb2dd5ec44b84.tar.gz
bcm5719-llvm-20b3e9a8355311aae1ca2f491b1eb2dd5ec44b84.zip
[CodeGen] Remove dead FastISel code after SDAG emitted a tailcall.
When SDAGISel (top-down) selects a tail-call, it skips the remainder of the block. If, before that, FastISel (bottom-up) selected some of the (no-op) next few instructions, we can end up with dead instructions following the terminator (selected by SDAGISel). We need to erase them, as we know they aren't necessary (in addition to being incorrect). We already do this when FastISel falls back on the tail-call itself. Also remove the FastISel-emitted code if we fallback on the instructions between the tail-call and the return. llvm-svn: 296552
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud