[all-commits] [llvm/llvm-project] 53d885: llvm-reduce: Clone properties of blocks

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Apr 20 06:47:59 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53d88581f155631a61923541fb88c9c696282070
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineBasicBlock.h
    A llvm/test/tools/llvm-reduce/mir/preserve-block-info.mir
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp

  Log Message:
  llvm-reduce: Clone properties of blocks

getSuccProbability was private for some reason, saying to go through
MachineBranchProbabilityInfo. There doesn't seem to be much point to
that, as that wrapper directly calls this.

Like other areas, some of these fields aren't handled by the MIR
printer/parser so aren't tested.

More information about the All-commits mailing list