iris: Add finalize_nir

Improves performance of SynMark OglDrvShComp by +241.879%±1.01366% (n=5)
on a random KBL desktop that I have.  That seems to put it at about the
same performance as i965, but I did not test that in a statistically
sound way.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <!12858>
151 jobs for !12858 with review/iris-finalize_nir in 81 minutes and 25 seconds (queued for 22 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #13783237

00:00:07

 
  Container
passed debian/android_build #13783243

00:00:20

passed debian/arm_build #13783247
aarch64

00:00:26

passed debian/arm_test #13783252

00:00:24

passed debian/i386_build #13783240

00:00:24

passed debian/ppc64el_build #13783241

00:00:22

passed debian/s390x_build #13783242

00:00:23

passed debian/x86_build #13783239

00:00:23

passed debian/x86_build-base #13783238

00:00:25

passed debian/x86_test-base #13783244

00:00:25

passed debian/x86_test-gl #13783245

00:00:23

passed debian/x86_test-vk #13783246

00:00:21

passed fedora/x86_build #13783248

00:00:25

passed kernel+rootfs_amd64 #13783249

00:00:23

passed kernel+rootfs_arm64 #13783250
aarch64

00:01:08

passed kernel+rootfs_armhf #13783251
aarch64

00:00:13

passed windows_build_vs2019 #13783253
windows shell 1809 mesa

00:00:11

 
  Build X86 64
passed debian-clang #13783260

00:06:38

passed debian-clover #13783261

00:03:53

passed debian-clover-testing #13783256

00:01:52

passed debian-gallium #13783257

00:07:27

passed debian-release #13783258

00:07:35

passed debian-testing #13783254

00:02:08

passed debian-testing-asan #13783255

00:04:21

passed debian-vulkan #13783262

00:03:34

passed fedora-release #13783259

00:02:18

 
  Build Misc
passed debian-android #13783263

00:02:05

passed debian-arm64 #13783265
aarch64

00:03:15

passed debian-arm64-asan #13783266
aarch64

00:08:57

passed debian-arm64-build-test #13783267
aarch64

00:05:36

passed debian-armhf #13783264
aarch64

00:05:40

passed debian-i386 #13783269

00:04:39

passed debian-mingw32-x86_64 #13783272

00:03:25

passed debian-ppc64el #13783271

00:04:08

passed debian-s390x #13783270
kvm

00:05:18

passed windows-vs2019 #13783268
windows docker 1809 mesa

00:05:08

 
  Amd
passed radeonsi-stoney-gles2:amd64 #13783277
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:06:31

passed radeonsi-stoney-gles31:amd64 1/2 #13783280
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:17:59

passed radeonsi-stoney-gles31:amd64 2/2 #13783281
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:10:50

passed radeonsi-stoney-gles3:amd64 1/2 #13783278
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:08:08

passed radeonsi-stoney-gles3:amd64 2/2 #13783279
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:07:33

passed radeonsi-stoney-piglit-gl:amd64 #13783283
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:13:30

passed radeonsi-stoney-traces:amd64 #13783282
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:05:42

passed radv-fossils #13783276

00:13:10

passed radv_stoney_vkcts:amd64 1/3 #13783273
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:14:47

passed radv_stoney_vkcts:amd64 2/3 #13783274
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:14:46

passed radv_stoney_vkcts:amd64 3/3 #13783275
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt

00:15:04

 
  Intel
passed iris-amly-traces-performance #13783291
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual

00:06:35

passed iris-apl-deqp 1/3 #13783284
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:09:04

passed iris-apl-deqp 2/3 #13783285
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:08:53

passed iris-apl-deqp 3/3 #13783286
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:09:57

passed iris-apl-egl #13783287
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:05:05

passed iris-apl-traces #13783288
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral

00:05:21

passed iris-apl-traces-performance #13783289
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral manual

00:05:33

passed iris-cml-traces-performance #13783294
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual

00:03:56

passed iris-glk-traces-performance #13783290
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual

00:06:13

passed iris-kbl-traces-performance #13783292
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual

00:03:34

failed iris-whl-traces-performance #13783293
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien allowed to fail manual

01:00:02

 
  Arm
passed lima-mali450-test:arm64 #13783295
mesa-ci-x86-64-lava-lima

00:07:05

passed panfrost-g52-gl:arm64 1/3 #13783303
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3

00:11:37

passed panfrost-g52-gl:arm64 2/3 #13783304
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3

00:11:08

passed panfrost-g52-gl:arm64 3/3 #13783305
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3

00:11:07

passed panfrost-g72-gl:arm64 1/3 #13783306
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16

00:09:02

passed panfrost-g72-gl:arm64 2/3 #13783307
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16

00:09:53

passed panfrost-g72-gl:arm64 3/3 #13783308
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16

00:08:45

passed panfrost-t720-gles2:arm64 #13783296
mesa-ci-x86-64-lava-sun50i-h6-pine-h64

00:09:53

passed panfrost-t760-gles2:armhf #13783297
mesa-ci-x86-64-lava-rk3288-veyron-jaq

00:06:04

passed panfrost-t760-traces:armhf #13783298
mesa-ci-x86-64-lava-rk3288-veyron-jaq

00:03:03

passed panfrost-t860-gl:arm64 1/3 #13783299
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:07:12

passed panfrost-t860-gl:arm64 2/3 #13783300
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:07:17

passed panfrost-t860-gl:arm64 3/3 #13783301
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:07:17

passed panfrost-t860-traces:arm64 #13783302
mesa-ci-x86-64-lava-rk3399-gru-kevin

00:04:40

 
  Broadcom
passed v3d-rpi4-egl:armhf #13783320
igalia-rpi4

00:07:43

passed v3d-rpi4-gles:armhf 1/8 #13783312
igalia-rpi4

00:11:01

passed v3d-rpi4-gles:armhf 2/8 #13783313
igalia-rpi4

00:11:37

passed v3d-rpi4-gles:armhf 3/8 #13783314
igalia-rpi4

00:10:59

passed v3d-rpi4-gles:armhf 4/8 #13783315
igalia-rpi4

00:10:50

passed v3d-rpi4-gles:armhf 5/8 #13783316
igalia-rpi4

00:11:19

passed v3d-rpi4-gles:armhf 6/8 #13783317
igalia-rpi4

00:12:16

passed v3d-rpi4-gles:armhf 7/8 #13783318
igalia-rpi4

00:11:10

passed v3d-rpi4-gles:armhf 8/8 #13783319
igalia-rpi4

00:10:42

passed v3d-rpi4-piglit:armhf 1/4 #13783321
igalia-rpi4

00:09:38

passed v3d-rpi4-piglit:armhf 2/4 #13783322
igalia-rpi4

00:10:14

passed v3d-rpi4-piglit:armhf 3/4 #13783323
igalia-rpi4

00:09:37

passed v3d-rpi4-piglit:armhf 4/4 #13783324
igalia-rpi4

00:10:09

passed v3dv-rpi4-vk:arm64 1/8 #13783325
igalia-rpi4

00:08:35

passed v3dv-rpi4-vk:arm64 2/8 #13783326
igalia-rpi4

00:08:20

passed v3dv-rpi4-vk:arm64 3/8 #13783327
igalia-rpi4

00:08:54

passed v3dv-rpi4-vk:arm64 4/8 #13783328
igalia-rpi4

00:08:56

passed v3dv-rpi4-vk:arm64 5/8 #13783329
igalia-rpi4

00:08:14

passed v3dv-rpi4-vk:arm64 6/8 #13783330
igalia-rpi4

00:08:30

passed v3dv-rpi4-vk:arm64 7/8 #13783331
igalia-rpi4

00:08:17

passed v3dv-rpi4-vk:arm64 8/8 #13783332
igalia-rpi4

00:09:15

passed vc4-rpi3-egl:armhf #13783311
igalia-rpi3

00:07:44

passed vc4-rpi3-gles:armhf 1/2 #13783309
igalia-rpi3

00:09:17

passed vc4-rpi3-gles:armhf 2/2 #13783310
igalia-rpi3

00:09:00

 
  Freedreno
passed a306_gl 1/5 #13783333
google-freedreno-db410c

00:09:12

passed a306_gl 2/5 #13783334
google-freedreno-db410c

00:09:40

passed a306_gl 3/5 #13783335
google-freedreno-db410c

00:09:34

passed a306_gl 4/5 #13783336
google-freedreno-db410c

00:09:03

passed a306_gl 5/5 #13783337
google-freedreno-db410c

00:08:53

passed a306-traces #13783338
google-freedreno-db410c

00:02:33

passed a530_gl 1/5 #13783339
google-freedreno-db820c

00:09:34

passed a530_gl 2/5 #13783340
google-freedreno-db820c

00:10:02

passed a530_gl 3/5 #13783341
google-freedreno-db820c

00:09:10

passed a530_gl 4/5 #13783342
google-freedreno-db820c

00:09:26

passed a530_gl 5/5 #13783343
google-freedreno-db820c

00:09:13

passed a530_piglit_shader 1/2 #13783344
google-freedreno-db820c

00:08:43

passed a530_piglit_shader 2/2 #13783345
google-freedreno-db820c

00:08:07

passed a530-traces #13783346
google-freedreno-db820c

00:07:51

passed a630_egl #13783351
google-freedreno-cheza

00:02:22

passed a630_gl 1/4 #13783347
google-freedreno-cheza

00:06:47

passed a630_gl 2/4 #13783348
google-freedreno-cheza

00:07:33

passed a630_gl 3/4 #13783349
google-freedreno-cheza

00:06:12

passed a630_gl 4/4 #13783350
google-freedreno-cheza

00:06:57

passed a630_piglit #13783355
google-freedreno-cheza

00:08:45

passed a630-traces #13783356
google-freedreno-cheza

00:04:03

passed a630-traces-performance #13783358
google-freedreno-cheza manual

00:05:12

failed a630-traces-restricted #13783357
google-freedreno-cheza allowed to fail

00:03:30

passed a630_vk 1/3 #13783352
google-freedreno-cheza

00:08:18

passed a630_vk 2/3 #13783353
google-freedreno-cheza

00:09:51

passed a630_vk 3/3 #13783354
google-freedreno-cheza

00:09:52

 
  Software Renderer
passed lavapipe-nir-stress #13783373

00:02:44

passed lavapipe-vk #13783372

00:07:27

passed lavapipe-vk-asan #13783374

00:02:27

passed llvmpipe-deqp 1/2 #13783364

00:04:06

passed llvmpipe-deqp 2/2 #13783365

00:09:25

passed llvmpipe-deqp-asan #13783366

00:02:13

passed llvmpipe-egl #13783367

00:01:49

passed llvmpipe-piglit-cl #13783359

00:04:05

passed llvmpipe-piglit-glslparser #13783361

00:04:15

passed llvmpipe-piglit-quick_gl #13783360

00:04:44

passed llvmpipe-piglit-quick_shader #13783362

00:05:15

passed llvmpipe-traces #13783363

00:02:17

passed softpipe-asan-gles31 #13783370

00:02:54

passed softpipe-deqp 1/2 #13783368

00:10:52

passed softpipe-deqp 2/2 #13783369

00:10:05

passed softpipe-piglit-quick #13783371

00:09:45

 
  Layered Backends
passed test-d3d12-windows #13783387
windows docker 1809 mesa

00:03:24

passed virgl-on-gl 1/6 #13783375
kvm

00:13:24

passed virgl-on-gl 2/6 #13783376
kvm

00:15:34

passed virgl-on-gl 3/6 #13783377
kvm

00:13:11

passed virgl-on-gl 4/6 #13783378
kvm

00:13:46

passed virgl-on-gl 5/6 #13783379
kvm

00:14:23

passed virgl-on-gl 6/6 #13783380
kvm

00:16:23

passed virgl-traces #13783381
kvm

00:04:08

passed zink-lvp-deqp 1/2 #13783385

00:04:57

passed zink-lvp-deqp 2/2 #13783386

00:05:03

passed zink-piglit-lazy #13783384

00:06:30

passed zink-piglit-no_timelines #13783383

00:08:25

passed zink-piglit-timelines #13783382

00:08:25

 
Name Stage Failure
failed
a630-traces-restricted Freedreno
Uploading artifacts...
results/: found 33 matching files and directories

WARNING: serial*.txt: no matching files
Uploading artifacts as "archive" to coordinator... ok
id=13783357 responseStatus=201 Created token=MDApocvM
Uploading artifacts...
results/junit.xml: found 1 matching files and directories

Uploading artifacts as "junit" to coordinator... ok
id=13783357 responseStatus=201 Created token=MDApocvM
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
iris-whl-traces-performance Intel The script exceeded the maximum execution time set for the job
  job:
minutes: 30
visibility:
group:
- Collabora+fdo

2021-09-18 00:04:23.845685: LAVA job id: 4539072
2021-09-18 00:04:23.845906: Waiting for job 4539072 to start.
ERROR: Job failed: execution took longer than 1h0m0s seconds