aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16InstrInfo.h
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-06-03 15:31:12 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-06-03 15:31:12 +0000
commit6f8dca8d1ada3e6dd757d066f79dbcb03bfc927d (patch)
tree1c76d6d044448c6ee024070c29bc988231770f8e /lib/Target/PIC16/PIC16InstrInfo.h
parent157886a77f0cfc03066e066d3e940b6ae29af773 (diff)
downloadexternal_llvm-6f8dca8d1ada3e6dd757d066f79dbcb03bfc927d.zip
external_llvm-6f8dca8d1ada3e6dd757d066f79dbcb03bfc927d.tar.gz
external_llvm-6f8dca8d1ada3e6dd757d066f79dbcb03bfc927d.tar.bz2
FrameIndex could be used as a value (addressof (arg)) or as an address.
Expand it exactly like GlobalAddress. Fix some more crashes (InsertBranch() not being implemented) for compiling hitec libs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72776 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16InstrInfo.h')
-rw-r--r--lib/Target/PIC16/PIC16InstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16InstrInfo.h b/lib/Target/PIC16/PIC16InstrInfo.h
index 0b67679..85c0984 100644
--- a/lib/Target/PIC16/PIC16InstrInfo.h
+++ b/lib/Target/PIC16/PIC16InstrInfo.h
@@ -64,6 +64,11 @@ public:
unsigned &SrcReg, unsigned &DstReg,
unsigned &SrcSubIdx, unsigned &DstSubIdx) const;
+ virtual
+ unsigned InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
+ MachineBasicBlock *FBB,
+ const SmallVectorImpl<MachineOperand> &Cond) const;
+
};
} // namespace llvm