| commit | facb867af3530bf817d4bbe5e23744612a25cb19 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sun Sep 27 19:57:57 2009 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sun Sep 27 19:57:57 2009 +0000 |
| tree | 1c5d04cf643b84b464093c015de15985f6affa58 | |
| parent | d122de5f321f71f851e9efdebd0eea17baf49948 [diff] |
implement PR4895, by making FoldOpIntoPhi handle select conditions that are phi nodes. Also tighten up FoldOpIntoPhi to treat constantexpr operands to phis just like other variables, avoiding moving constantexpr computations around. Patch by Daniel Dunbar. llvm-svn: 82913