[all-commits] [llvm/llvm-project] 606245: [flang] Fixed build issue after 88f07a736bbc3f0062...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Wed Oct 5 12:59:53 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 606245ad542491400a5475c796df86a99f5c8c12
      https://github.com/llvm/llvm-project/commit/606245ad542491400a5475c796df86a99f5c8c12
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M flang/lib/Lower/OpenMP.cpp

  Log Message:
  -----------
  [flang] Fixed build issue after 88f07a736bbc3f0062d7d8f4032f0b54aff5c018

nullptr matches both against ::mlir::UnitAttr and ::mlir::TypeRange,
so the following two candidates fit:
static void mlir::omp::OrderedRegionOp::build(::mlir::OpBuilder &odsBuilder,
    ::mlir::OperationState &odsState,
    /*optional*/::mlir::UnitAttr simd)
static void mlir::omp::OrderedRegionOp::build(::mlir::OpBuilder &odsBuilder,
    ::mlir::OperationState &odsState,
    ::mlir::TypeRange resultTypes,
    /*optional*/bool simd = false)




More information about the All-commits mailing list