commit | 743810620742c92be90a30c7fc7d5e6631baff1f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Aug 30 07:44:24 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Aug 30 07:44:24 2009 +0000 |
tree | 537199699e4c590833bcd6b8e2433de47c1da2b8 | |
parent | 3a3cb6c59edb35184aad06c6d6f32ac2572b3866 [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80492 91177308-0d34-0410-b5e6-96231b3b80d8