- Stop simplifycfg from duplicating "ret" instructions into unconditional
authorEvan Cheng <evan.cheng@apple.com>
Fri, 28 Jan 2011 02:19:21 +0000 (02:19 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 28 Jan 2011 02:19:21 +0000 (02:19 +0000)
commit40f64cb0de40802ddd2f928b62e9564e1e721ff3
treee94f9f5d77d86efd85ac2d6f0ad8a3ced55ca5ee
parentc3a20bab7571ff95525252c379198e67b65d0f1d
- Stop simplifycfg from duplicating "ret" instructions into unconditional
  branches. PR8575, rdar://5134905, rdar://8911460.
- Allow codegen tail duplication to dup small return blocks after register
  allocation is done.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124462 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TailDuplication.cpp
lib/Transforms/Utils/SimplifyCFG.cpp
test/CodeGen/X86/critical-edge-split.ll [deleted file]
test/CodeGen/X86/loop-blocks.ll
test/Transforms/JumpThreading/and-and-cond.ll
test/Transforms/JumpThreading/and-cond.ll
test/Transforms/JumpThreading/thread-loads.ll
test/Transforms/SimplifyCFG/MagicPointer.ll
test/Transforms/SimplifyCFG/basictest.ll
test/Transforms/SimplifyCFG/switch_create.ll
test/Transforms/SimplifyCFG/switch_formation.dbg.ll