[X86] Add test case showing failure to fold concat_v32i8(trunc_v16i16(x),trunc_v16i16...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 9 Mar 2023 12:07:40 +0000 (12:07 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 9 Mar 2023 12:10:51 +0000 (12:10 +0000)
commitfaea1c5ccc936d0159d55727df7617398c20130a
tree1230335b516963529f359bbd2e044a8e89f9d4c1
parent475f30dfc83cda05b2e80edeb7b7b057e9f8ba38
[X86] Add test case showing failure to fold concat_v32i8(trunc_v16i16(x),trunc_v16i16(y)) -> trunc_v32i16(concat_v16i16(x,y))

We have similar tests but nothing that should only fold on BWI targets
llvm/test/CodeGen/X86/vector-trunc.ll