| commit | bf14f206327b45577c4f74bfc4929cbdf2e8d0f4 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Wed Apr 18 03:05:22 2007 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Wed Apr 18 03:05:22 2007 +0000 |
| tree | 56f23195559e95c8f220fef0e6133bb4bdbed65a | |
| parent | 1af7b8451e9e6c7a8a6ab68020e0bdf2e589265e [diff] |
When replacing a node in SimplifyDemandedBits, if the old node used any single-use nodes, they will be dead soon. Make sure to remove them before processing other nodes. This implements CodeGen/X86/shl_elim.ll llvm-svn: 36244