[PATCH] D148521: [VP] Change getVPForBaseOpcode to return std::optional

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 05:14:09 PDT 2023


luke updated this revision to Diff 514614.
luke added a comment.

Use has_value() instead of value()


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148521/new/

https://reviews.llvm.org/D148521

Files:
  llvm/include/llvm/CodeGen/ISDOpcodes.h
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148521.514614.patch
Type: text/x-patch
Size: 5981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/ade7f866/attachment.bin>


More information about the llvm-commits mailing list