Skip to content
Commit c4c7ea52 authored by Chris Lattner's avatar Chris Lattner
Browse files

In BasicBlock::splitBasicBlock, just use islist::splice to move the instructions,

instead of a loop that is really inefficient with large basic blocks.

This speeds up the inliner pass on the testcase in PR209 from 13.8s to 2.24s
which still isn't exactly speedy, but is a lot better.  :)

llvm-svn: 11105
parent 135dcc02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment