diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-09-18 21:02:19 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-09-18 21:02:19 +0000 |
| commit | d7dc983029cf293dd67637c27b92c04c0baf968b (patch) | |
| tree | c6166fa63d13ce47ec36ccde2eb8600d49e49c0d /lib/Target/SystemZ/SystemZISelLowering.cpp | |
| parent | 8cd2ec566b2bbfa3e07458bc0050af859676fcd4 (diff) | |
| download | external_llvm-d7dc983029cf293dd67637c27b92c04c0baf968b.zip external_llvm-d7dc983029cf293dd67637c27b92c04c0baf968b.tar.gz external_llvm-d7dc983029cf293dd67637c27b92c04c0baf968b.tar.bz2 | |
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/SystemZ/SystemZISelLowering.cpp')
| -rw-r--r-- | lib/Target/SystemZ/SystemZISelLowering.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZISelLowering.cpp b/lib/Target/SystemZ/SystemZISelLowering.cpp index c965878..4ea9474 100644 --- a/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -778,7 +778,8 @@ const char *SystemZTargetLowering::getTargetNodeName(unsigned Opcode) const { MachineBasicBlock* SystemZTargetLowering::EmitInstrWithCustomInserter(MachineInstr *MI, - MachineBasicBlock *BB) const { + MachineBasicBlock *BB, + DenseMap<MachineBasicBlock*, MachineBasicBlock*> *EM) const { const SystemZInstrInfo &TII = *TM.getInstrInfo(); DebugLoc dl = MI->getDebugLoc(); assert((MI->getOpcode() == SystemZ::Select32 || |
