diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-06-22 01:18:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-06-22 01:18:16 +0000 |
commit | 4d54e5b2dd4a3d3bed38ff9c7aa57fc66adb5855 (patch) | |
tree | 8ffb7495b6a7d723ec73603ac30feef7874e54a0 /lib/CodeGen/TargetInstrInfoImpl.cpp | |
parent | 7e1d742e1a868871d7c35d3880d8aa5d6d5d21e2 (diff) |
Tail merging pass shall not break up IT blocks. rdar://8115404
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106517 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInstrInfoImpl.cpp')
-rw-r--r-- | lib/CodeGen/TargetInstrInfoImpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/TargetInstrInfoImpl.cpp b/lib/CodeGen/TargetInstrInfoImpl.cpp index 53f3ee8491..5e145cf2de 100644 --- a/lib/CodeGen/TargetInstrInfoImpl.cpp +++ b/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 { |