[all-commits] [llvm/llvm-project] 72d20b: [LLVM] Change isa<> to a variadic function template

Mehdi Amini via All-commits all-commits at lists.llvm.org
Mon Jun 15 11:47:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 72d20b9604f65e35eedb3d00098a2c9412953946
      https://github.com/llvm/llvm-project/commit/72d20b9604f65e35eedb3d00098a2c9412953946
  Author: Rahul Joshi <jurahul at google.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M clang/include/clang/AST/DeclBase.h
    M llvm/include/llvm/Support/Casting.h
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp

  Log Message:
  -----------
  [LLVM] Change isa<> to a variadic function template

Change isa<> to a variadic function template, so that it can be used to test against one of multiple types as follows:
   isa<Type0, Type1, Type2>(Val)

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


  Commit: a9a21bb4b682474248dc85f9e7db4b260d249ab9
      https://github.com/llvm/llvm-project/commit/a9a21bb4b682474248dc85f9e7db4b260d249ab9
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2020-06-15 (Mon, 15 Jun 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/StandardOps/Transforms/Passes.h
    M mlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
    M mlir/lib/Dialect/StandardOps/Transforms/CMakeLists.txt
    R mlir/lib/Dialect/StandardOps/Transforms/ExpandTanh.cpp
    R mlir/test/Dialect/Standard/expand-tanh.mlir
    M mlir/test/lib/Transforms/CMakeLists.txt
    R mlir/test/lib/Transforms/TestExpandTanh.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  Revert "[mlir] Add support for lowering tanh to LLVMIR."

This reverts commit 32c757e4f808c68a7e34eb712fead0a49cdf814a.

Broke the build bot:

******************** TEST 'MLIR :: Examples/standalone/test.toy' FAILED ********************
[...]
/tmp/ci-KIMiRFcVZt/lib/libMLIRLinalgToLLVM.a(LinalgToLLVM.cpp.o): In function `(anonymous namespace)::ConvertLinalgToLLVMPass::runOnOperation()':
LinalgToLLVM.cpp:(.text._ZN12_GLOBAL__N_123ConvertLinalgToLLVMPass14runOnOperationEv+0x100): undefined reference to `mlir::populateExpandTanhPattern(mlir::OwningRewritePatternList&, mlir::MLIRContext*)'


Compare: https://github.com/llvm/llvm-project/compare/968f58c68421...a9a21bb4b682


More information about the All-commits mailing list