nv50/ir: check for hasJoin before propagating joins

given this part of an shader the bra BB:7 in B:5 would get replaced by
join even if the target doesn't support jumping joins.

BB:5
 54: mov u32 $r1 0x00000000
 55: bra BB:7  <== join from BB:7 would get propagated
BB:6
 56: set ftz u8 $p0 neu f32 $r1 $r255
 57: selp u32 $r1 $r255 0xffffffff not $p0
 58: bra BB:7
BB:7
 59: join
BB:8

Fixes: 5959d424 ("nv50/ir/opt: Fix tryPropagateBranch for BBs with several exit branches.")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
30 jobs for !6149 with nv_fix_flattening
latest detached
Status Job ID Name Coverage
  Container+Docs
manual #3901887
aarch64 manual
arm_build
manual #3901888
manual
arm_test-base
manual #3901884
manual
x86_build-base
manual #3901886
manual
x86_build_old
manual #3901885
manual
x86_test-base
 
  Container 2
created #3901898
arm64_test
created #3901893
i386_build
created #3901889
kernel+rootfs_amd64
created #3901890
aarch64
kernel+rootfs_arm64
created #3901891
aarch64
kernel+rootfs_armhf
created #3901894
ppc64el_build
created #3901895
s390x_build
created #3901892
x86_build
created #3901896
x86_test-gl
created #3901897
x86_test-vk
 
  Meson X86 64
created #3901902
meson-clang
created #3901901
meson-classic
created #3901903
meson-clover
created #3901904
meson-clover-old-llvm
created #3901900
meson-gallium
created #3901899
meson-testing
created #3901905
meson-vulkan
 
  Scons
created #3901906
allowed to fail
scons-win64
 
  Meson Misc
created #3901908
aarch64
meson-arm64
created #3901909
aarch64
meson-arm64-build-test
created #3901907
aarch64
meson-armhf
created #3901910
meson-i386
created #3901913
meson-mingw32-x86_64
created #3901912
kvm
meson-ppc64el
created #3901911
kvm
meson-s390x