| commit | 067459c62b09822e015201461bbf67180fa03b1d | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Fri Mar 05 08:46:26 2010 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Fri Mar 05 08:46:26 2010 +0000 |
| tree | 7795aa70ca663cf8c0bd91d222875af0b5c6e88c | |
| parent | fc13a0343c1075c54cf70d983510527cab12ee4a [diff] |
Fix PR6503. This turned into a much more interesting and nasty bug. Various parts of the cmp|cmp and cmp&cmp folding logic wasn't prepared for vectors (unrelated to the bug but noticed while in the code) and the code was *definitely* not safe to use by the (cast icmp)|(cast icmp) handling logic that I added in r95855. Fix all this up by changing the various routines to more consistently use IRBuilder and not pass in the I which had the wrong type. llvm-svn: 97801