commit | ec06e9a6707b9b00889e34ebad7cd3f20cb70bb6 | [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 | babffbdace659951b5d1aa0729b2af1db057c5bf | |
parent | 1e6cf8630fa879c471c8623d90e3382b1344b80b [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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36244 91177308-0d34-0410-b5e6-96231b3b80d8