[all-commits] [llvm/llvm-project] 68afaa: [LV] Use std::make_optional to fix build failure a...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Apr 11 09:57:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 68afaa3f48854021cda1c7af725c1431da9308d9
      https://github.com/llvm/llvm-project/commit/68afaa3f48854021cda1c7af725c1431da9308d9
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LV] Use std::make_optional to fix build failure after 082a0046.

Some compilers require std::make_optional(std::move()) to force construction
of the std::optional return value. This should fix the build failure in
  https://lab.llvm.org/buildbot#builders/67/builds/10991




More information about the All-commits mailing list