diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-30 07:44:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-30 07:44:24 +0000 |
commit | 743810620742c92be90a30c7fc7d5e6631baff1f (patch) | |
tree | 537199699e4c590833bcd6b8e2433de47c1da2b8 /unittests | |
parent | 3a3cb6c59edb35184aad06c6d6f32ac2572b3866 (diff) | |
download | external_llvm-743810620742c92be90a30c7fc7d5e6631baff1f.zip external_llvm-743810620742c92be90a30c7fc7d5e6631baff1f.tar.gz external_llvm-743810620742c92be90a30c7fc7d5e6631baff1f.tar.bz2 |
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
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions