[all-commits] [llvm/llvm-project] a587f4: [TableGen] SubtargetEmitter must use std::nullopt ...

Kai Nacke via All-commits all-commits at lists.llvm.org
Wed Oct 18 10:11:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a587f42953930119d743da863458eaee45c6b70c
      https://github.com/llvm/llvm-project/commit/a587f42953930119d743da863458eaee45c6b70c
  Author: Kai Nacke <kai.peter.nacke at ibm.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M llvm/utils/TableGen/SubtargetEmitter.cpp

  Log Message:
  -----------
  [TableGen] SubtargetEmitter must use std::nullopt (#69475)

Use of llvm::Optional was migrated to std::optional. This included a
change in the constructor of ArrayRef.
However, there are still 2 places in the SubtargetEmitter which uses
llvm::None, causing a compile error when emitted.




More information about the All-commits mailing list