[all-commits] [llvm/llvm-project] b54cd3: [Scalar] Use std::optional in GVN.cpp (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Fri Nov 25 23:55:57 PST 2022


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

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

  Log Message:
  -----------
  [Scalar] Use std::optional in GVN.cpp (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