[all-commits] [llvm/llvm-project] 8f4320: Fix MLIR Build with some version of GCC

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Oct 26 16:23:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f4320cf1d5f115fa98652ce8765157557aeaaea
      https://github.com/llvm/llvm-project/commit/8f4320cf1d5f115fa98652ce8765157557aeaaea
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-10-26 (Wed, 26 Oct 2022)

  Changed paths:
    M mlir/lib/Conversion/ArithToLLVM/ArithToLLVM.cpp

  Log Message:
  -----------
  Fix MLIR Build with some version of GCC

mlir/lib/Conversion/ArithToLLVM/ArithToLLVM.cpp:67:30: error: use 'template' keyword to treat 'dyn_cast_or_null' as a dependent template name
                            .dyn_cast_or_null<arith::FastMathFlagsAttr>();
                             ^
                             template




More information about the All-commits mailing list