[InstCombine] Add some basic vector bswap tests
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Oct 2020 10:06:39 +0000 (11:06 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Oct 2020 10:08:12 +0000 (11:08 +0100)
commitec07ae2a833ef5b2282811f51fdfbd043c611936
tree3376a3f430de4239a06fc47a9213d2fd79eeed16
parent787bf5e383a32b3ebc87332ff9e868db8f937056
[InstCombine] Add some basic vector bswap tests

We get the vNi16 cases already via matching as a rotate followed by the fshl -> bswap combines
llvm/test/Transforms/InstCombine/bswap.ll