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

give instcombine a custom IRBuilder that adds new instructions to the

workslist and is set to insert new instructions before the current one.
Convert a bunch of stuff that used to call InsertNewInstBefore over to
use it, greatly simplifying code and making it more natural.

There is still a lot more to go, but this is a good start.

llvm-svn: 80492
parent b533df02
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