[all-commits] [llvm/llvm-project] 1fbc6b: [SPIR-V] Use llvm::Optional for builtin lowering r...

Aleksandr Bezzubikov via All-commits all-commits at lists.llvm.org
Tue Aug 30 23:26:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fbc6b26a237f01b8f1a5c5228450918bd055ca2
      https://github.com/llvm/llvm-project/commit/1fbc6b26a237f01b8f1a5c5228450918bd055ca2
  Author: Aleksandr Bezzubikov <zuban32s at gmail.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
    M llvm/lib/Target/SPIRV/SPIRVBuiltins.h
    M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp

  Log Message:
  -----------
  [SPIR-V] Use llvm::Optional for builtin lowering result.

Replace result type std::pair<bool, bool> of lowerBuiltin with
a nice and convenient Optional<bool>.

Reviewed By: iliya-diyachkov, MaskRay

Differential Revision: https://reviews.llvm.org/D132802




More information about the All-commits mailing list