summaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16ISelLowering.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-09-18 21:02:19 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-09-18 21:02:19 +0000
commitfb2e752e4175920d0531f2afc93a23d0cdf4db14 (patch)
treec6166fa63d13ce47ec36ccde2eb8600d49e49c0d /lib/Target/PIC16/PIC16ISelLowering.h
parent558b79a399b0b6642e193d4fe59ac01e1f9cbba4 (diff)
downloadllvm-fb2e752e4175920d0531f2afc93a23d0cdf4db14.tar.gz
llvm-fb2e752e4175920d0531f2afc93a23d0cdf4db14.tar.bz2
llvm-fb2e752e4175920d0531f2afc93a23d0cdf4db14.tar.xz
Enhance EmitInstrWithCustomInserter() so target can specify CFG changes that sdisel will use to properly complete phi nodes.
Not functionality change yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16ISelLowering.h')
-rw-r--r--lib/Target/PIC16/PIC16ISelLowering.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.h b/lib/Target/PIC16/PIC16ISelLowering.h
index c60e70c823..286ed2411e 100644
--- a/lib/Target/PIC16/PIC16ISelLowering.h
+++ b/lib/Target/PIC16/PIC16ISelLowering.h
@@ -119,7 +119,8 @@ namespace llvm {
SDValue getPIC16Cmp(SDValue LHS, SDValue RHS, unsigned OrigCC, SDValue &CC,
SelectionDAG &DAG, DebugLoc dl);
virtual MachineBasicBlock *EmitInstrWithCustomInserter(MachineInstr *MI,
- MachineBasicBlock *MBB) const;
+ MachineBasicBlock *MBB,
+ DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM) const;
virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG);