Skip to content

Commit 1ec1d25

Browse files
authored
[MachineOutliner] Add skipModule call for opt-bisect-limit. (#128836)
1 parent 15ee9d9 commit 1ec1d25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/CodeGen/MachineOutliner.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -1375,6 +1375,9 @@ void MachineOutliner::emitOutlinedHashTree(Module &M) {
13751375
}
13761376

13771377
bool MachineOutliner::runOnModule(Module &M) {
1378+
if (skipModule(M))
1379+
return false;
1380+
13781381
// Check if there's anything in the module. If it's empty, then there's
13791382
// nothing to outline.
13801383
if (M.empty())

0 commit comments

Comments
 (0)