[NFC][X86] Add exhaustive-ish coverage for broadcast of implicitly aext/zext element
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 30 Dec 2022 18:25:14 +0000 (21:25 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 30 Dec 2022 19:40:20 +0000 (22:40 +0300)
commita35b216290c574f80b7620d888fc049757d2fa94
tree2dee22e9119dd018703adbf4ba8956954632483c
parent6f3400e38041fc2fdfb50b2e831d9698bd5c77a1
[NFC][X86] Add exhaustive-ish coverage for broadcast of implicitly aext/zext element

Some of these even crash instruction selection for AVX512.
This is one of the patterns that comes up as regressions
with more aggressive ZERO_EXTEND_VECTOR_INREG recognition.

https://godbolt.org/z/x88aqfrT5
llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast_from_memory.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/zero_extend_vector_inreg_of_broadcast_from_memory.ll [new file with mode: 0644]