Skip to content

Commit 17fcc45

Browse files
Removed the default arg
Signed-off-by: Mikhail R. Gadelha <[email protected]>
1 parent 9b95974 commit 17fcc45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/CodeGen/BranchFolding.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class BranchFolderLegacy : public MachineFunctionPass {
9595
public:
9696
static char ID;
9797

98-
explicit BranchFolderLegacy(bool EnableTailMerge = true)
98+
explicit BranchFolderLegacy(bool EnableTailMerge)
9999
: MachineFunctionPass(ID), EnableTailMerge(EnableTailMerge) {}
100100

101101
bool runOnMachineFunction(MachineFunction &MF) override;
@@ -2091,6 +2091,6 @@ bool BranchFolder::HoistCommonCodeInSuccs(MachineBasicBlock *MBB) {
20912091
return true;
20922092
}
20932093

2094-
MachineFunctionPass *llvm::createBranchFolderPass(bool EnableTailMerge = true) {
2094+
MachineFunctionPass *llvm::createBranchFolderPass(bool EnableTailMerge) {
20952095
return new BranchFolderLegacy(EnableTailMerge);
20962096
}

0 commit comments

Comments
 (0)