[all-commits] [llvm/llvm-project] 30199d: [mlir] Drop Optional::value() references from tblg...

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Mon Dec 19 13:57:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30199d11d27460e8c96a81c493526c32dbea428d
      https://github.com/llvm/llvm-project/commit/30199d11d27460e8c96a81c493526c32dbea428d
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2022-12-19 (Mon, 19 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    M mlir/tools/mlir-tblgen/OpFormatGen.cpp

  Log Message:
  -----------
  [mlir] Drop Optional::value() references from tblgen files

std::optional::value() has undesired exception checking semantics and is
unavailable in older Xcode (see _LIBCPP_AVAILABILITY_BAD_OPTIONAL_ACCESS).
The call sites block std::optional migration.




More information about the All-commits mailing list