[all-commits] [llvm/llvm-project] 31c886: [mlir] Remove the use of FilterTypes for template ...

River Riddle via All-commits all-commits at lists.llvm.org
Fri Apr 15 12:57:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31c88660ab155beb5e6796ec1382afd2c0e52978
      https://github.com/llvm/llvm-project/commit/31c88660ab155beb5e6796ec1382afd2c0e52978
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M mlir/include/mlir/IR/OpDefinition.h
    M mlir/include/mlir/Support/InterfaceSupport.h

  Log Message:
  -----------
  [mlir] Remove the use of FilterTypes for template metaprogramming

This technique results in an explosion in compile time, resulting from a
huge number of std::tuple/concat instatiations. This technique is replaced
by simpler metaprogramming and results in a signficant reduction in
compile time. A local debug/asan build saw a 4x speed up in the processing
of ArithmeticOps.h.inc, and given the nature of this change every dialect
should see similar reductions in compile time.

Differential Revision: https://reviews.llvm.org/D123360


  Commit: ac860240adc79fefcf8e1c7c7ed7df89827b332a
      https://github.com/llvm/llvm-project/commit/ac860240adc79fefcf8e1c7c7ed7df89827b332a
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M mlir/test/lib/IR/TestClone.cpp

  Log Message:
  -----------
  [mlir][NFC] Cleanup the TestClone pass

Fix variable naming convention and cleanup a clang-tidy warning.


Compare: https://github.com/llvm/llvm-project/compare/04f3a224bc9d...ac860240adc7


More information about the All-commits mailing list