[all-commits] [llvm/llvm-project] 31b609: [Scalar] Teach matchExpandedRem to return std::opt...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Nov 20 22:38:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31b6093434e25bc6cf20ed9ee479557ebbe938f3
      https://github.com/llvm/llvm-project/commit/31b6093434e25bc6cf20ed9ee479557ebbe938f3
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DivRemPairs.cpp

  Log Message:
  -----------
  [Scalar] Teach matchExpandedRem to return std::optional (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716




More information about the All-commits mailing list