Skip to content
  1. May 29, 2021
    • Chris Lattner's avatar
      [Verifier] Significantly speed up IsolatedFromAbove checking. NFC. · bde21b62
      Chris Lattner authored
      The implementation had a couple of problems, including checking
      "isProperAncestor" in an inefficient way.  It also recursed into
      other "isolated from above" ops.  In the case of CIRCT, we get
      three levels of isolated ops:
      
        mlir::ModuleOp
          firrtl::CircuitOp
             firrtl::FModuleOp
      
      The verification for module would recurse into the circuits and
      fmodules checking them.  The verifier hook for circuit would
      recurse into all the modules reverifying them, fmoduleop would
      then reverify them.  The same happens for mlir::ModuleOp and Func.
      
      While here, fix an old design problem: IsolatedFromAbove checking
      was implemented by a method on the Region class, which isn't
      actually general and isn't used by anything else.  Move it over
      to be a trait impl verifier method like the others and specialize
      it for its task.
      
      Differential Revision: https://reviews.llvm.org/D103345
      bde21b62
    • Eli Friedman's avatar
      [CGAtomic] Delete outdated code comparing success/failure ordering for cmpxchg. · 577fea4e
      Eli Friedman authored
      This doesn't actually have any effect: we only call this code with
      SequentiallyConsistent orderings.  But delete it anyway for consistency
      with other recent changes.
      577fea4e
    • Fangrui Song's avatar
      2644399c
    • Nikita Popov's avatar
      [LoopUnroll] Use changeToUnreachable() (NFC) · 90310dff
      Nikita Popov authored
      When fulling unrolling with a non-latch exit, the latch block is
      folded to unreachable. Replace this folding with the existing
      changeToUnreachable() helper, rather than performing it manually.
      
      This also moves the fold to happen after the manual DT update
      for exit blocks. I believe this is correct in that the conversion
      of an unconditional backedge into unreachable should not affect
      the DT at all.
      
      Differential Revision: https://reviews.llvm.org/D103340
      90310dff
  2. May 28, 2021
Loading