Remove copied preheader insertion logic from PPCCTRLoops
authorHal Finkel <hfinkel@anl.gov>
Mon, 20 May 2013 16:47:10 +0000 (16:47 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 20 May 2013 16:47:10 +0000 (16:47 +0000)
commit08f92c98ac1cdb43ec35653536c89964401d936c
treea7cef1a867f3045be5ebd78c13ad06385e0bda44
parentfc32605ff3a2a922362d2fb5cd31b47ce47e3fb8
Remove copied preheader insertion logic from PPCCTRLoops

Now that the preheader insertion logic in LoopSimplify is externally exposed,
use it, and remove the copy-and-pasted version.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182300 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCCTRLoops.cpp