Skip to content
  • Dan Gohman's avatar
    Teach IndVarSimplify's FixUsesBeforeDefs to handle InvokeInsts by · 781b75a7
    Dan Gohman authored
    assuming that the use of the value is in a block dominated by the
    "normal" destination. LangRef.html and other documentation sources
    don't explicitly guarantee this, but it seems to be assumed in
    other places in LLVM at least.
    
    This fixes an assertion failure on the included testcase, which
    is derived from the Ada testsuite.
    
    FixUsesBeforeDefs is a temporary measure which I'm looking to
    replace with a more capable solution.
    
    llvm-svn: 72266
    781b75a7
Loading