[PATCH] D132802: [SPIR-V] Use std::optional for builtin lowering result.
Aleksandr Bezzubikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 27 16:30:26 PDT 2022
zuban32 created this revision.
Herald added subscribers: ThomasRaoux, hiraditya.
Herald added a project: All.
zuban32 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Replace result type std::pair<bool, bool> of lowerBuiltin with
a nice and convenient std::optional<bool>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D132802
Files:
llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
llvm/lib/Target/SPIRV/SPIRVBuiltins.h
llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132802.456159.patch
Type: text/x-patch
Size: 6884 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220827/08ae3996/attachment.bin>
More information about the llvm-commits
mailing list