1. Sep 04, 2022
    • Simon Pilgrim's avatar
      [CostModel][X86] Add CostKinds handling for add/sub ops · 114b7762
      Simon Pilgrim authored
      This was achieved using the 'cost-tables vs llvm-mca' script D103695
      114b7762
    • Dave Lee's avatar
      [lldb][bindings] Fix module_access handling of regex · 75f05fcc
      Dave Lee authored
      Fixes broken support for: `target.module[re.compile("libFoo")]`
      
      There were two issues:
      1. The type check was expecting `re.SRE_Pattern`
      2. The expression to search the module path had a typo
      
      In the first case, `re.SRE_Pattern` does not exist in Python 3, and is replaced
      with `re.Pattern`.
      
      While editing this code, I changed the type checks to us `isinstance`, which is
      the conventional way of type checking.
      
      From the docs on `type()`:
      
      > The `isinstance()` built-in function is recommended for testing the type of an object, because it takes subclasses into account.
      
      Differential Revision: https://reviews.llvm.org/D133130
      75f05fcc
  2. Sep 03, 2022