nir/lower_vec_to_movs: don't vectorize unsupports ops

If the instruction being coalesced would be vectorized but the target
doesn't support vectorizing that op, skip coalescing.
Reuse the callbacks from alu_to_scalar to describe which ops should not
be vectorized.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
81 jobs for !6506 with nir-vec-to-movs-scalar in 45 seconds (queued for 6 seconds)
detached
Status Job ID Name Coverage
  Container
manual #5565060
aarch64 manual
arm_build
manual #5565062
manual
arm_test-base
passed #5565064
git_archive

00:00:21

manual #5565054
manual
x86_build-base
manual #5565058
manual
x86_build_old
manual #5565056
manual
x86_test-base
 
  Container 2
created #5565080
android_build
created #5565085
arm64_test
created #5565075
i386_build
created #5565066
kernel+rootfs_amd64
created #5565068
aarch64
kernel+rootfs_arm64
created #5565071
aarch64
kernel+rootfs_armhf
created #5565076
ppc64el_build
created #5565078
s390x_build
created #5565073
x86_build
created #5565082
x86_test-gl
created #5565083
x86_test-vk
 
  Sanity
failed #5565087
check mr

00:00:23

 
  Meson X86 64
created #5565097
meson-clang
created #5565095
meson-classic
created #5565099
meson-clover
created #5565090
meson-clover-testing
created #5565092
meson-gallium
created #5565094
meson-release
created #5565088
meson-testing
created #5565100
meson-vulkan
 
  Scons
created #5565102
allowed to fail
scons-win64
 
  Meson Misc
created #5565104
meson-android
created #5565108
aarch64
meson-arm64
created #5565110
aarch64
meson-arm64-build-test
created #5565106
aarch64
meson-armhf
created #5565112
meson-i386
created #5565117
meson-mingw32-x86_64
created #5565115
kvm
meson-ppc64el
created #5565113
kvm
meson-s390x
 
  Llvmpipe
created #5565126
llvmpipe-gles2
created #5565128
llvmpipe-traces
created #5565119
piglit-cl
created #5565122
piglit-glslparser
created #5565121
piglit-quick_gl
created #5565124
piglit-quick_shader
 
  Softpipe
created #5565137
softpipe-gl
created #5565130
softpipe-gles2
created #5565131
softpipe-gles3
created #5565133
softpipe-gles31 1/2
created #5565135
softpipe-gles31 2/2
 
  Freedreno
created #5565160
google-freedreno-db410c
arm64_a306_gles2
created #5565161
google-freedreno-db410c
arm64_a306_gles3
created #5565162
google-freedreno-db410c
arm64_a306_gles3_options
created #5565163
google-freedreno-db820c
arm64_a530_gles2 1/2
created #5565164
google-freedreno-db820c
arm64_a530_gles2 2/2
created #5565165
google-freedreno-db820c
arm64_a530_gles3
created #5565166
google-freedreno-db820c
arm64_a530_gles31
created #5565149
google-freedreno-cheza
arm64_a630_gl
created #5565139
google-freedreno-cheza
arm64_a630_gles2
created #5565144
google-freedreno-cheza
arm64_a630_gles3
created #5565142
google-freedreno-cheza
arm64_a630_gles31
created #5565152
google-freedreno-cheza
arm64_a630_gles_others
created #5565147
google-freedreno-cheza
arm64_a630_traces
created #5565154
google-freedreno-cheza
arm64_a630_vk 1/2
created #5565156
google-freedreno-cheza
arm64_a630_vk 2/2
created #5565158
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Panfrost
created #5565172
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #5565167
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #5565168
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #5565169
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #5565170
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #5565171
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Radv
created #5565173
radv-fossils
 
  Virgl
created #5565178
virgl-gl30-on-gl
created #5565179
virgl-gl31-on-gl
created #5565180
virgl-gl32-on-gl
created #5565174
virgl-gles2-on-gl
created #5565176
virgl-gles31-on-gl 1/2
created #5565177
virgl-gles31-on-gl 2/2
created #5565175
virgl-gles3-on-gl
created #5565181
virgl-traces
 
  Radeonsi
created #5565182
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #5565184
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #5565183
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #5565185
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
 
Name Stage Failure
failed
check mr Sanity
Please edit the merge request and set the checkbox to
"Allow commits from members who can merge to the target branch"
See https://docs.gitlab.com/ce/user/project/merge_requests/allow_collaboration.html
Uploading artifacts for failed job
Uploading artifacts...
check-*.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=5565087 responseStatus=201 Created token=62C7rP8d
Cleaning up file based variables
ERROR: Job failed: exit code 1