summaryrefslogtreecommitdiff
path: root/lib/Target/Sparc/SparcInstrInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-24 16:39:19 +0000
committerChris Lattner <sabre@nondot.org>2006-10-24 16:39:19 +0000
commite87146ace88464be4ea4f8869830642c40178f1f (patch)
tree75ab8b917781d072cfabe7b57508e281c8f80095 /lib/Target/Sparc/SparcInstrInfo.h
parentcf10391a721438d309de6c02ef406a46e9333d72 (diff)
downloadllvm-e87146ace88464be4ea4f8869830642c40178f1f.tar.gz
llvm-e87146ace88464be4ea4f8869830642c40178f1f.tar.bz2
llvm-e87146ace88464be4ea4f8869830642c40178f1f.tar.xz
implement uncond branch insertion for sparc to fix regressions from last night
due to branchfolding git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcInstrInfo.h')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.h b/lib/Target/Sparc/SparcInstrInfo.h
index 166793e2e0..9df9bad120 100644
--- a/lib/Target/Sparc/SparcInstrInfo.h
+++ b/lib/Target/Sparc/SparcInstrInfo.h
@@ -61,6 +61,11 @@ public:
/// not, return 0. This predicate must return 0 if the instruction has
/// any side effects other than storing to the stack slot.
virtual unsigned isStoreToStackSlot(MachineInstr *MI, int &FrameIndex) const;
+
+
+ virtual void InsertBranch(MachineBasicBlock &MBB, MachineBasicBlock *TBB,
+ MachineBasicBlock *FBB,
+ const std::vector<MachineOperand> &Cond) const;
};
}