Skip to content

Commit 4c76122

Browse files
[M68k] Pass optLevel to InstructionSelect
This makes it the same as every other in-tree target. Reviewers: arsenm, mshockwave Pull Request: llvm/llvm-project#217930
1 parent b17bf71 commit 4c76122

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

llvm/lib/Target/M68k/M68kTargetMachine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ bool M68kPassConfig::addRegBankSelect() {
159159
}
160160

161161
bool M68kPassConfig::addGlobalInstructionSelect() {
162-
addPass(new InstructionSelect());
162+
addPass(new InstructionSelect(getOptLevel()));
163163
return false;
164164
}
165165

0 commit comments

Comments
 (0)