commit | bd755d4e272af07dbd5a65ab2d1acf4a3a42e510 | [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 | a31e803e4cc79975c6c899e1c29a45deb360412f | |
parent | 0af72938856257f7c54320be1bf19873a3cc90b8 [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344320 91177308-0d34-0410-b5e6-96231b3b80d8