[all-commits] [llvm/llvm-project] 4977a5: [mlir][NFC] Use fold expressions instead of variad...

River Riddle via All-commits all-commits at lists.llvm.org
Wed Mar 11 16:59:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4977a5f50da3045acaadd81758542fe323f3e972
      https://github.com/llvm/llvm-project/commit/4977a5f50da3045acaadd81758542fe323f3e972
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-03-11 (Wed, 11 Mar 2020)

  Changed paths:
    M mlir/include/mlir/IR/Dialect.h

  Log Message:
  -----------
  [mlir][NFC] Use fold expressions instead of variadic class templates for adding operations/etc. to dialects.

Summary: This is much simpler, and also greatly reduces the generated template recursion stack.

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




More information about the All-commits mailing list