1. Apr 23, 2024
    • Mogball's avatar
      [mlir][test] Reorganize the test dialect · c03dd332
      Mogball authored
      This PR massively reorganizes the Test dialect's source files. It moves
      manually-written op hooks into `TestOpDefs.cpp`, moves format custom
      directive parsers and printers into `TestFormatUtils`, adds missing
      comment blocks, and moves around where generated source files are
      included for types, attributes, enums, etc. into their own source file.
      
      This will hopefully help navigate the test dialect source code, but also
      speeds up compile time of the test dialect by putting generated source
      files into separate compilation units.
      
      This also sets up the test dialect to shard its op definitions, done in
      the next PR.
      
      stack-info: PR: https://github.com/llvm/llvm-project/pull/89424, branch: users/mogball/pr_2
      c03dd332
    • Mogball's avatar
      [mlir][ods] Allow sharding of op definitions · caff32bf
      Mogball authored
      Adds an option to `mlir-tblgen -gen-op-defs` `op-shard-count=N` that divides the
      op class definitions and op list into N segments, e.g.
      
      ```
      // mlir-tblgen -gen-op-defs -op-shard-count=2
      
      void FooDialect::initialize() {
        addOperations<
        >();
        addOperations<
        >();
      }
      
      ```
      
      When split across multiple source files, this can help significantly improve
      dialect compile time for dialects with a large opset.
      
      stack-info: PR: https://github.com/llvm/llvm-project/pull/89423, branch: users/mogball/pr_1
      caff32bf
    • Krystian Stasiowski's avatar
      [Clang][Sema] Remove unused function after #88731 (#89618) · 7c581b55
      Krystian Stasiowski authored
      Removes an unused static function `IsOverloaded` from `SemaOverload.cpp`
      that is unused after #88731.
      7c581b55
    • Paul Kirth's avatar
      [RISCV] Precommit stack protector checks for Linux and Android (#87679) · 60535229
      Paul Kirth authored
      Upcoming patches will add TP relative stack checks for Android, and
      Linux currently uses the default GOT based stack protector.
      60535229
    • Alex MacLean's avatar
      [NVPTX][NFCI] Use DataLayout to determine short shared/local/const pointers (#89404) · 583795e1
      Alex MacLean authored
      Use the datalayout directly to determine the correct `cvta` instruction
      for converting shared/local/const pointers. This is cleaner as it
      eliminates the need to keep a redundant copy of this info in the TM and
      makes clear which address spaces short pointers are applicable for.
      583795e1
  2. Apr 22, 2024