commit | d4771840fd59654becb989675fbc0d0dc54c6dd4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Dec 14 19:25:30 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Dec 14 19:25:30 2005 +0000 |
tree | 4916247bd8d17348274383708f3c38641e77f7e8 | |
parent | e4e49132af74a69aba92a35c38e1c87be8907ecd [diff] |
When folding loads into ops, immediately replace uses of the op with the load. This reduces number of worklist iterations and avoid missing optimizations depending on folding of things into sext_inreg nodes (which aren't supported by all targets). Tested by Regression/CodeGen/X86/extend.ll:test2 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24712 91177308-0d34-0410-b5e6-96231b3b80d8