summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-06-22 01:18:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-06-22 01:18:16 +0000
commit37bb617f8a15788787a7a88f7c25c1e6ac3cadb4 (patch)
tree477bfb4f1518c55c39f9bfa969067d5ca20e0870 /llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
parentcbc6fd8493e9b45c6995cfdedc5caa34b3b3ee1e (diff)
downloadbcm5719-llvm-37bb617f8a15788787a7a88f7c25c1e6ac3cadb4.tar.gz
bcm5719-llvm-37bb617f8a15788787a7a88f7c25c1e6ac3cadb4.zip
Tail merging pass shall not break up IT blocks. rdar://8115404
llvm-svn: 106517
Diffstat (limited to 'llvm/lib/CodeGen/TargetInstrInfoImpl.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetInstrInfoImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
index 53f3ee84910..5e145cf2de1 100644
--- a/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
+++ b/llvm/lib/CodeGen/TargetInstrInfoImpl.cpp
@@ -28,6 +28,8 @@
#include "llvm/Support/raw_ostream.h"
using namespace llvm;
+/// ReplaceTailWithBranchTo - Delete the instruction OldInst and everything
+/// after it, replacing it with an unconditional branch to NewDest.
void
TargetInstrInfoImpl::ReplaceTailWithBranchTo(MachineBasicBlock::iterator Tail,
MachineBasicBlock *NewDest) const {
OpenPOWER on IntegriCloud