| commit | 56b6660d2ed92f3d879eac6e49e70e9279aca9da | [log] [tgz] |
|---|---|---|
| author | Sanjay Patel <spatel@rotateright.com> | Thu Oct 11 23:56:56 2018 +0000 |
| committer | Sanjay Patel <spatel@rotateright.com> | Thu Oct 11 23:56:56 2018 +0000 |
| tree | f9c85ee83b530f6fd58cc8f95c2489bc01eaf604 | |
| parent | df398bd5fe1f318b018ac1280ac264d4098b34e2 [diff] |
[DAGCombiner] rearrange extract_element+bitcast fold; NFC I want to add another pattern here that includes scalar_to_vector, so this makes that patch smaller. I was hoping to remove the hasOneUse() check because it shouldn't be necessary for common codegen, but an AMDGPU test has a comment suggesting that the extra check makes things better on one of those targets. llvm-svn: 344320