[all-commits] [llvm/llvm-project] e8a75c: [BOLT][NFC] Simplify YAMLProfileReader

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Jul 26 08:26:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8a75c3f6eca1d4f7eddd3a5ed31ed545b2eef7b
      https://github.com/llvm/llvm-project/commit/e8a75c3f6eca1d4f7eddd3a5ed31ed545b2eef7b
  Author: Amir Ayupov <amir.aupov at gmail.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M bolt/include/bolt/Profile/YAMLProfileReader.h
    M bolt/lib/Profile/YAMLProfileReader.cpp

  Log Message:
  -----------
  [BOLT][NFC] Simplify YAMLProfileReader

- Add `FunctionSet` type alias.
- Use any_of
- Use ErrorOr handling pattern

Reviewed By: #bolt, maksfb

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




More information about the All-commits mailing list