Skip to content

Commit c6fadea

Browse files
committed
[M68k] Add subtarget to TargetLoweringBase constructor
Fixes experimental M68k target to match llvm#168620
1 parent 3e5fafd commit c6fadea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/M68k/M68kISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ STATISTIC(NumTailCalls, "Number of tail calls");
4747

4848
M68kTargetLowering::M68kTargetLowering(const M68kTargetMachine &TM,
4949
const M68kSubtarget &STI)
50-
: TargetLowering(TM), Subtarget(STI), TM(TM) {
50+
: TargetLowering(TM, STI), Subtarget(STI), TM(TM) {
5151

5252
MVT PtrVT = MVT::i32;
5353

0 commit comments

Comments
 (0)