commit | 736e88762c04608fe692b7143bf97514093bd660 | [log] [tgz] |
---|---|---|
author | Sanjay Patel <spatel@rotateright.com> | Tue Dec 18 22:51:06 2018 +0000 |
committer | Sanjay Patel <spatel@rotateright.com> | Tue Dec 18 22:51:06 2018 +0000 |
tree | 4593097616af571a3786e112331373169d2af54e | |
parent | ee642245a648b04b292e97788fb77712f2348e6d [diff] |
[InstCombine] add tests for extract of vector load; NFC There's a mismatch internally about how we are handling these patterns. We count loads as cheapToScalarize(), but then we don't actually scalarize them, so that can leave extra instructions compared to where we started when scalarizing other ops. If it's cheapToScalarize, then we should be scalarizing.