1. Jul 29, 2023
    • Martin Erhart's avatar
      [mlir][bufferization] Add DeallocOp canonicalizer to remove duplicate values · 17aaa651
      Martin Erhart authored
      Duplicate values in the retained list can just be removed, however, for duplicates in the list of memrefs to deallocate, we also need to check the conditions and if thhey don't match, we need to compute the OR in order to not miss a case leading to a memory leak.
      
      Reviewed By: springerm
      
      Differential Revision: https://reviews.llvm.org/D156157
      17aaa651
    • Reid Kleckner's avatar
      [X86] Split SDISel call lowering out to its own file · 26a73082
      Reid Kleckner authored
      X86ISelLowering takes too long to compile. Split call lowering out into
      its own file so that developers working on call lowering can be more
      productive.
      
      Now one can test calling convention changes with <5s rebuilds. The rest
      of X86ISelLowering still takes a long time to compile. Previous
      investigations shows that lots of static functions are aggressively
      inlined into the two major large switch functions, LowerOperation and
      PerformDAGCombine. It may be possible to make further compile time
      improvements by blocking inlining into those large dispatch functions.
      
      clang-format complains, but I didn't want to reformat because it will
      make it harder for git rename detection and blame tools.
      
      Reviewed By: RKSimon, pengfei
      
      Differential Revision: https://reviews.llvm.org/D154168
      26a73082
    • Alexis Engelke's avatar
      [mlir][LLVMIR] Fix identified structs with same name · 18439cfc
      Alexis Engelke authored
      Different identified struct types may have the same name ("").
      Previously, these were deduplicated based on their name, which caused
      an assertion failure when nesting identified structs:
      
          %0 = type { %1 }
          %1 = type { i8 }
          declare void @fn(%0)
      
      Reviewed By: gysit
      
      Differential Revision: https://reviews.llvm.org/D156531
      18439cfc
  2. Jul 28, 2023