mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Fix a problem where lib/Target/TargetInstrInfo.h would include and use
a header file from libcodegen. This violates a layering order: codegen depends on target, not the other way around. The fix to this is to split TII into two classes, TII and TargetInstrInfoImpl, which defines stuff that depends on libcodegen. It is defined in libcodegen, where the base is not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45475 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
|
||||
namespace llvm {
|
||||
//! Cell SPU instruction information class
|
||||
class SPUInstrInfo : public TargetInstrInfo
|
||||
{
|
||||
class SPUInstrInfo : public TargetInstrInfoImpl {
|
||||
SPUTargetMachine &TM;
|
||||
const SPURegisterInfo RI;
|
||||
public:
|
||||
|
Reference in New Issue
Block a user