[all-commits] [llvm/llvm-project] f40d25: [BOLT][NFC] Use llvm::reverse

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jan 3 17:32:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f40d25dd8d3ad7bcfa8f5e8f74f245ab1a7675df
      https://github.com/llvm/llvm-project/commit/f40d25dd8d3ad7bcfa8f5e8f74f245ab1a7675df
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M bolt/include/bolt/Passes/DataflowAnalysis.h
    M bolt/lib/Core/BinaryBasicBlock.cpp
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Core/DebugData.cpp
    M bolt/lib/Core/DynoStats.cpp
    M bolt/lib/Passes/AllocCombiner.cpp
    M bolt/lib/Passes/FrameOptimizer.cpp
    M bolt/lib/Passes/ShrinkWrapping.cpp
    M bolt/lib/Profile/DataReader.cpp
    M bolt/lib/Rewrite/BoltDiff.cpp

  Log Message:
  -----------
  [BOLT][NFC] Use llvm::reverse

Use llvm::reverse instead of `for (auto I = rbegin(), E = rend(); I != E; ++I)`

Reviewed By: #bolt, rafauler

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




More information about the All-commits mailing list