summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
diff options
context:
space:
mode:
authorXin Tong <trent.xin.tong@gmail.com>2017-02-26 02:11:24 +0000
committerXin Tong <trent.xin.tong@gmail.com>2017-02-26 02:11:24 +0000
commit42ef2177af937a2eb5a837297373dfa60c700770 (patch)
treed2f5f514ea72567edffdf026708d651d53d11cd0 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp
parentd95c34abe15f78c1e0b052446c2c7c1749540653 (diff)
downloadbcm5719-llvm-42ef2177af937a2eb5a837297373dfa60c700770.tar.gz
bcm5719-llvm-42ef2177af937a2eb5a837297373dfa60c700770.zip
[SCCP] Remove manual folding of terminator instructions.
Summary: BranchInst, SwitchInst (with non-default case) with Undef as input is not possible at this point. As we always default-fold terminator to one target in ResolvedUndefsIn and set the input accordingly. So we should only have constantint/blockaddress here. If ConstantFoldTerminator fails, that could mean 2 things. 1. ConstantFoldTerminator is doing something unexpected, i.e. not folding on constantint or blockaddress and not making blocks that should be dead dead. 2. This is not a terminator on constantint or blockaddress. Its on a constant or overdefined, then this block should not be dead. In both cases, we should assert. Reviewers: davide, efriedma, sanjoy Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30381 llvm-svn: 296281
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud