Closed
Description
This test case give a cannot select error with -mattr=+zfbfmin,+zvfbfmin,+zvl64b
define <2 x bfloat> @vslide1up_2xbfloat(<2 x bfloat> %v, bfloat %b) {
%vb = insertelement <2 x bfloat> poison, bfloat %b, i64 0
%v1 = shufflevector <2 x bfloat> %v, <2 x bfloat> %vb, <2 x i32> <i32 2, i32 0
ret <2 x bfloat> %v1
}
We need to disable lowerVECTOR_SHUFFLEAsVSlide1
for bf16. We probably also need to disable it for f16 without Zfh.