Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Backport "[SimplifyCFG] Correctly test for unconditional branches in GetCaseResults" #54

Merged

Commits on Oct 7, 2016

  1. [SimplifyCFG] Correctly test for unconditional branches in GetCaseRes…

    …ults
    
    GetCaseResults assumed that a terminator with one successor was an
    unconditional branch.  This is not necessarily the case, it could be a
    cleanupret.
    
    Strengthen the check by querying whether or not the terminator is
    exceptional.
    
    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283517 91177308-0d34-0410-b5e6-96231b3b80d8
    majnemer authored and arielb1 committed Oct 7, 2016
    Configuration menu
    Copy the full SHA
    9b74379 View commit details
    Browse the repository at this point in the history