nir: look through bcsel in is_only_used_as_float and is_created_as_float

fossil-db (GFX10.3):
Totals from 1 (0.00% of 146267) affected shaders:
CodeSize: 1740 -> 1736 (-0.23%)
Instrs: 313 -> 312 (-0.32%)

fossil-db (GFX10.3, dxvk float controls):
Totals from 143 (0.10% of 146267) affected shaders:
CodeSize: 1492300 -> 1491152 (-0.08%)
Instrs: 300391 -> 300101 (-0.10%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
160 jobs for !9254 with nir_fcanon_dxvk_float_control in 23 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed sanity #11371414

00:00:23

 
  Container
manual arm_build #11371417
aarch64 manual
manual windows_build_vs2019 #11371418
windows shell 1809 mesa manual
manual x86_build-base #11371415
manual
manual x86_test-base #11371416
manual
 
  Container 2
created android_build #11371423
created i386_build #11371420
created kernel+rootfs_amd64 #11371426
created kernel+rootfs_arm64 #11371427
aarch64
created kernel+rootfs_armhf #11371428
aarch64
created ppc64el_build #11371421
created s390x_build #11371422
created x86_build #11371419
created x86_test-gl #11371424
created x86_test-vk #11371425
 
  Meson X86 64
created meson-clang #11371434
created meson-clover #11371435
created meson-clover-testing #11371431
created meson-gallium #11371432
created meson-release #11371433
created meson-testing #11371429
created meson-testing-asan #11371430
created meson-vulkan #11371436
 
  Build Misc
created arm_test #11371437
created meson-android #11371438
created meson-arm64 #11371440
aarch64
created meson-arm64-asan #11371441
aarch64
created meson-arm64-build-test #11371442
aarch64
created meson-armhf #11371439
aarch64
created meson-i386 #11371444
created meson-mingw32-x86_64 #11371447
created meson-ppc64el #11371446
created meson-s390x #11371445
kvm
created meson-windows-vs2019 #11371443
windows docker 1809 mesa
 
  Amd
created radeonsi-stoney-gles2:amd64 #11371452
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 1/2 #11371455
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 2/2 #11371456
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 1/2 #11371453
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 2/2 #11371454
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-piglit-gl:amd64 #11371458
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-traces:amd64 #11371457
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv-fossils #11371451
created radv_stoney_vkcts:amd64 1/3 #11371448
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 2/3 #11371449
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 3/3 #11371450
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
 
  Intel
created i915-g33-deqp #11371459
anholt-g33 manual
created i915-g33-khr-deqp #11371460
anholt-g33 manual
created i915-g33-piglit #11371461
anholt-g33 manual
created i915-g33-traces #11371462
anholt-g33 manual
created iris-apl-egl #11371467
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gl #11371466
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral manual
created iris-apl-gles2 #11371463
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gles3 #11371464
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-gles31 #11371465
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-traces #11371473
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-glk-egl #11371472
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gl #11371471
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles2 #11371468
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles3 #11371469
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-gles31 #11371470
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-glk-traces #11371474
mesa-ci-x86-64-lava-hp-x360-12b-n4000-octopus manual
created iris-kbl-traces #11371475
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
 
  Arm
created panfrost-g52-gles31:arm64 #11371485
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gles3:arm64 1/2 #11371483
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gles3:arm64 2/2 #11371484
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-t720-gles2:arm64 #11371476
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
created panfrost-t760-gles2:armhf #11371477
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t760-traces:armhf #11371478
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t860-gles31:arm64 #11371481
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gles3:arm64 1/2 #11371479
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gles3:arm64 2/2 #11371480
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-traces:arm64 #11371482
mesa-ci-x86-64-lava-rk3399-gru-kevin
 
  Broadcom
created v3d-rpi4-egl:armhf #11371502
igalia-rpi4
created v3d-rpi4-gles2:armhf #11371498
igalia-rpi4
created v3d-rpi4-gles31:armhf 1/2 #11371492
igalia-rpi4
created v3d-rpi4-gles31:armhf 2/2 #11371493
igalia-rpi4
created v3d-rpi4-gles3:armhf 1/4 #11371494
igalia-rpi4
created v3d-rpi4-gles3:armhf 2/4 #11371495
igalia-rpi4
created v3d-rpi4-gles3:armhf 3/4 #11371496
igalia-rpi4
created v3d-rpi4-gles3:armhf 4/4 #11371497
igalia-rpi4
created v3d-rpi4-khr-gles2:armhf #11371501
igalia-rpi4
created v3d-rpi4-khr-gles31:armhf #11371499
igalia-rpi4
created v3d-rpi4-khr-gles3:armhf #11371500
igalia-rpi4
created v3d-rpi4-piglit:armhf 1/3 #11371503
igalia-rpi4
created v3d-rpi4-piglit:armhf 2/3 #11371504
igalia-rpi4
created v3d-rpi4-piglit:armhf 3/3 #11371505
igalia-rpi4
created v3dv-rpi4-vk:arm64 1/6 #11371506
igalia-rpi4
created v3dv-rpi4-vk:arm64 2/6 #11371507
igalia-rpi4
created v3dv-rpi4-vk:arm64 3/6 #11371508
igalia-rpi4
created v3dv-rpi4-vk:arm64 4/6 #11371509
igalia-rpi4
created v3dv-rpi4-vk:arm64 5/6 #11371510
igalia-rpi4
created v3dv-rpi4-vk:arm64 6/6 #11371511
igalia-rpi4
created vc4-rpi3-egl:armhf #11371491
igalia-rpi3
created vc4-rpi3-gles2:armhf 1/4 #11371486
igalia-rpi3
created vc4-rpi3-gles2:armhf 2/4 #11371487
igalia-rpi3
created vc4-rpi3-gles2:armhf 3/4 #11371488
igalia-rpi3
created vc4-rpi3-gles2:armhf 4/4 #11371489
igalia-rpi3
created vc4-rpi3-khr-gles2:armhf #11371490
igalia-rpi3
 
  Freedreno
created a306_gles2 #11371512
google-freedreno-db410c
created a306_gles3 1/3 #11371513
google-freedreno-db410c
created a306_gles3 2/3 #11371514
google-freedreno-db410c
created a306_gles3 3/3 #11371515
google-freedreno-db410c
created a306_gles3_options #11371516
google-freedreno-db410c
created a306-traces #11371517
google-freedreno-db410c
created a530_gles2 #11371518
google-freedreno-db820c
created a530_gles31 1/2 #11371521
google-freedreno-db820c
created a530_gles3 1/2 #11371519
google-freedreno-db820c
created a530_gles31 2/2 #11371522
google-freedreno-db820c
created a530_gles3 2/2 #11371520
google-freedreno-db820c
created a530_piglit_gl #11371523
google-freedreno-db820c manual
created a530_piglit_shader 1/2 #11371524
google-freedreno-db820c
created a530_piglit_shader 2/2 #11371525
google-freedreno-db820c
created a530-traces #11371526
google-freedreno-db820c
created a630_egl #11371531
google-freedreno-cheza
created a630_gl #11371530
google-freedreno-cheza
created a630_gles2 #11371527
google-freedreno-cheza
created a630_gles3 #11371529
google-freedreno-cheza
created a630_gles31 #11371528
google-freedreno-cheza
created a630_gles_others #11371532
google-freedreno-cheza
created a630_piglit #11371536
google-freedreno-cheza
created a630-traces #11371537
google-freedreno-cheza
created a630_vk 1/2 #11371533
google-freedreno-cheza
created a630_vk 2/2 #11371534
google-freedreno-cheza
created a630_vk_sysmem #11371535
google-freedreno-cheza
 
  Software Renderer
created lavapipe-nir-stress #11371560
created lavapipe-vk #11371559
created llvmpipe-egl #11371548
created llvmpipe-gl #11371546
created llvmpipe-gles2 #11371543
created llvmpipe-gles3 #11371544
created llvmpipe-gles31 #11371545
created llvmpipe-khr-gles2 #11371547
created llvmpipe-piglit-cl #11371538
created llvmpipe-piglit-glslparser #11371540
created llvmpipe-piglit-quick_gl #11371539
created llvmpipe-piglit-quick_shader #11371541
created llvmpipe-traces #11371542
created softpipe-asan-gles31 #11371556
created softpipe-gl #11371558
created softpipe-gles2 #11371549
created softpipe-gles3 #11371550
created softpipe-gles31 1/2 #11371551
created softpipe-gles31 2/2 #11371552
created softpipe-khr-gles2 #11371553
created softpipe-khr-gles3 #11371554
created softpipe-khr-gles31 #11371555
created softpipe-piglit-quick #11371557
 
  Layered Backends
created test-d3d12-windows #11371573
windows docker 1809 mesa
created virgl-gl30-on-gl #11371565
created virgl-gl31-on-gl #11371566
created virgl-gl32-on-gl #11371567
created virgl-gles2-on-gl #11371561
created virgl-gles31-on-gl 1/2 #11371563
created virgl-gles31-on-gl 2/2 #11371564
created virgl-gles3-on-gl #11371562
created virgl-traces #11371568
kvm
created zink-lvp-gl #11371572
created zink-lvp-gles2 #11371570
created zink-lvp-gles3 #11371571
created zink-piglit-quick_gl #11371569