Skip to content
  1. Mar 08, 2013
    • Andrew Trick's avatar
      Add -verify-misched option. · 48f2a724
      Andrew Trick authored
      This verifies live intervals both before and after scheduling. It's
      useful for anyone hacking on live interval update.
      
      Note that we don't yet pass verification all the time. We don't yet
      handle updating nonallocatable live intervals perfectly.
      
      llvm-svn: 176685
      48f2a724
    • Bill Wendling's avatar
      Revert r176154 in favor of a better approach. · 2d915e2c
      Bill Wendling authored
      Code generation makes some basic assumptions about the IR it's been given. In
      particular, if there is only one 'invoke' in the function, then that invoke
      won't be going away. However, with the advent of the `llvm.donothing' intrinsic,
      those invokes may go away. If all of them go away, the landing pad no longer has
      any users. This confuses the back-end, which asserts.
      
      This happens with SjLj exceptions, because that's the model that modifies the IR
      based on there being invokes, etc. in the function.
      
      Remove any invokes of `llvm.donothing' during SjLj EH preparation. This will
      give us a CFG that the back-end won't be confused about. If all of the invokes
      in a function are removed, then the SjLj EH prepare pass won't insert the bogus
      code the relies upon the invokes being there.
      <rdar://problem/13228754&13316637>
      
      llvm-svn: 176677
      2d915e2c
    • Jakob Stoklund Olesen's avatar
      Add a getPassName() method. · bed16542
      Jakob Stoklund Olesen authored
      llvm-svn: 176669
      bed16542
    • Jakob Stoklund Olesen's avatar
      Rename isEarlierInSameTrace to isUsefulDominator. · 299cedc7
      Jakob Stoklund Olesen authored
      In very rare cases caused by irreducible control flow, the dominating
      block can have the same trace head without actually being part of the
      trace.
      
      As long as such a dominator still has valid instruction depths, it is OK
      to use it for computing instruction depths.
      
      Rename the function to avoid lying, and add a check that instruction
      depths are computed for the dominator.
      
      llvm-svn: 176668
      299cedc7
  2. Mar 07, 2013
  3. Mar 06, 2013
Loading