[all-commits] [llvm/llvm-project] 3da96e: [InstCombine] Use std::optional in InstructionComb...

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


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

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp

  Log Message:
  -----------
  [InstCombine] Use std::optional in InstructionCombining.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