summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopIndexSplit
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-02-13 22:05:39 +0000
committerTed Kremenek <kremenek@apple.com>2008-02-13 22:05:39 +0000
commit654c78fd2df13a6a870bde0217f9c16a31f8a127 (patch)
treec7b56165fb22622a662bdf8b8619da6fc20cef54 /llvm/test/Transforms/LoopIndexSplit
parent9682be18ae8eeed446c93c28fec8facdcaf5a735 (diff)
downloadbcm5719-llvm-654c78fd2df13a6a870bde0217f9c16a31f8a127.tar.gz
bcm5719-llvm-654c78fd2df13a6a870bde0217f9c16a31f8a127.zip
When creating the CFGBlocks for a switch statement, we now have the "default"
branch ALWAYS be the last successor for a switch-terminated block. This allows clients to distinguish cases like the following: switch(...) case XXX: switch(...) { case YYY: ... } case ZZZ: .. } In this case, the block with "case ZZZ:" is the default block for the inner switch statement, but that case is associated with the outer switch statement, and not the inner one. Clients can test for this behavior by checking if a successor block is the last one (and thus just assume that this is the "default" case). llvm-svn: 47088
Diffstat (limited to 'llvm/test/Transforms/LoopIndexSplit')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud