Skip to content

Commit bfbbb2e

Browse files
author
Thorsten Schütt
committed
fix docs
1 parent 3f33ab6 commit bfbbb2e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -594,10 +594,6 @@ class CombinerHelper {
594594
/// This variant does not erase \p MI after calling the build function.
595595
void applyBuildFnNoErase(MachineInstr &MI, BuildFnTy &MatchInfo);
596596

597-
/// Use a function which takes in a MachineIRBuilder to perform a combine.
598-
/// By default, it erases the instruction \p MI from the function.
599-
void applyBuildFnMO(const MachineOperand &MO, BuildFnTy &MatchInfo);
600-
601597
bool matchOrShiftToFunnelShift(MachineInstr &MI, BuildFnTy &MatchInfo);
602598
bool matchFunnelShiftToRotate(MachineInstr &MI);
603599
void applyFunnelShiftToRotate(MachineInstr &MI);
@@ -853,6 +849,9 @@ class CombinerHelper {
853849
/// register and different indices.
854850
bool matchExtractVectorElementWithDifferentIndices(const MachineOperand &MO,
855851
BuildFnTy &MatchInfo);
852+
/// Use a function which takes in a MachineIRBuilder to perform a combine.
853+
/// By default, it erases the instruction def'd on \p MO from the function.
854+
void applyBuildFnMO(const MachineOperand &MO, BuildFnTy &MatchInfo);
856855

857856
private:
858857
/// Checks for legality of an indexed variant of \p LdSt.

0 commit comments

Comments
 (0)