File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ class BranchFolderLegacy : public MachineFunctionPass {
9494public:
9595 static char ID;
9696
97- explicit BranchFolderLegacy (bool EnableTailMerge)
97+ explicit BranchFolderLegacy (bool EnableTailMerge = true )
9898 : MachineFunctionPass(ID), EnableTailMerge(EnableTailMerge) {}
9999
100100 bool runOnMachineFunction (MachineFunction &MF) override ;
@@ -2088,6 +2088,6 @@ bool BranchFolder::HoistCommonCodeInSuccs(MachineBasicBlock *MBB) {
20882088 return true ;
20892089}
20902090
2091- MachineFunctionPass *llvm::createBranchFolderPass (bool EnableTailMerge) {
2091+ MachineFunctionPass *llvm::createBranchFolderPass (bool EnableTailMerge = true ) {
20922092 return new BranchFolderLegacy (EnableTailMerge);
20932093}
You can’t perform that action at this time.
0 commit comments