[PATCH] D123807: llvm-reduce: Clone properties of blocks

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 14 11:01:20 PDT 2022


arsenm created this revision.
arsenm added reviewers: MatzeB, markus, aeubanks, qcolombet, reames.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D123807

Files:
  llvm/include/llvm/CodeGen/MachineBasicBlock.h
  llvm/test/tools/llvm-reduce/mir/preserve-block-info.mir
  llvm/tools/llvm-reduce/ReducerWorkItem.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123807.422914.patch
Type: text/x-patch
Size: 6312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220414/2cc02511/attachment.bin>


More information about the llvm-commits mailing list