| commit | ee1a1fc90043cc520e778ccde5241f451b9cc40c | [log] [tgz] |
|---|---|---|
| author | Chandler Carruth <chandlerc@gmail.com> | Sat Aug 02 00:24:54 2014 +0000 |
| committer | Chandler Carruth <chandlerc@gmail.com> | Sat Aug 02 00:24:54 2014 +0000 |
| tree | 5e01805e1546c748d4598aa9b20ca852c54f8a14 | |
| parent | 3707dda9041a4cb418537413cde94bfab68697d5 [diff] |
[SDAG] Allow the legalizer to delete an illegally typed intermediate introduced during legalization. This pattern is based on other patterns in the legalizer that I changed in the same way. Now, the legalizer eagerly collects its garbage when necessary so that we can survive leaving such nodes around for it. Instead, we add an assert to make sure the node will be correctly handled by that layer. llvm-svn: 214602