From: Min-Yih Hsu Date: Wed, 23 Jun 2021 05:58:15 +0000 (-0700) Subject: [M68k] Fix incorrect #include-ed file in M68kSubtarget X-Git-Tag: llvmorg-14-init~3269 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfafd56daa003c1cf0604afda308111f7fff2f04;p=platform%2Fupstream%2Fllvm.git [M68k] Fix incorrect #include-ed file in M68kSubtarget In https://reviews.llvm.org/rG2193347e72fa , a cpp file is accidentally included instead of its header file counterpart. This patch fixes this error. --- diff --git a/llvm/lib/Target/M68k/M68kSubtarget.cpp b/llvm/lib/Target/M68k/M68kSubtarget.cpp index 8cf2b8c..963e83c 100644 --- a/llvm/lib/Target/M68k/M68kSubtarget.cpp +++ b/llvm/lib/Target/M68k/M68kSubtarget.cpp @@ -14,7 +14,7 @@ #include "M68kSubtarget.h" #include "GlSel/M68kCallLowering.h" #include "GlSel/M68kLegalizerInfo.h" -#include "GlSel/M68kRegisterBankInfo.cpp" +#include "GlSel/M68kRegisterBankInfo.h" #include "M68k.h" #include "M68kMachineFunction.h"