[all-commits] [llvm/llvm-project] 5d1ae6: [Analysis] Teach getOptionalIntLoopAttribute to re...

kazutakahirata via All-commits all-commits at lists.llvm.org
Sat Nov 19 15:37:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d1ae6346b15539421d055d3dfc94fabe0d7c558
      https://github.com/llvm/llvm-project/commit/5d1ae6346b15539421d055d3dfc94fabe0d7c558
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/LoopInfo.h
    M llvm/lib/Analysis/LoopInfo.cpp
    M llvm/lib/Transforms/Scalar/WarnMissedTransforms.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp

  Log Message:
  -----------
  [Analysis] Teach getOptionalIntLoopAttribute to return std::optional (NFC)

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716




More information about the All-commits mailing list