mesa/src/freedreno/ir3
Job Noorman 5bfbb7b1a7
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
ir3/ra: fix killed src detection while spilling
For a src to be killed, not only does its SSA value need to be killed,
it also shouldn't be part of or contain an interval that isn't killed
yet.

Fixes a RA assert in Windrose: "reg pressure calculation was wrong!".

Signed-off-by: Job Noorman <jnoorman@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41154>
2026-04-25 14:11:10 +00:00
..
tests ir3/isa: fix load size encoding for ldg.k 2026-04-15 07:58:01 +00:00
.dir-locals.el
.editorconfig
disasm-a3xx.c freedreno/decode,ir3: Mark decoded dwords as const 2026-04-17 09:16:34 +00:00
instr-a3xx.h ir3: Add support for VK_QCOM_image_processing opcodes. 2026-01-27 02:00:40 +00:00
ir3.c ir3/collect_info: remove max_const calculation 2026-04-13 19:15:59 +00:00
ir3.h ir3/legalize: track need_ss/sy_for_const per const reg 2026-04-15 06:20:56 +00:00
ir3_a4xx.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ir3_a6xx.c ir3: add support for 64-bit image atomics 2026-04-11 19:46:13 +00:00
ir3_alias.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_array_to_ssa.c ir3/array_to_ssa: initialize ir3_instruction::data 2026-04-13 22:28:15 +00:00
ir3_assembler.c freedreno: Convert to SPDX-License-Identifier instead of pasting whole license 2024-08-28 08:54:00 +00:00
ir3_assembler.h freedreno/computerator: add support for UBOs 2025-07-11 16:01:07 +00:00
ir3_cf.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_compiler.c nir: replace lower_ldexp with has_ldexp 2026-03-20 08:15:08 +00:00
ir3_compiler.h ir3: Fix branchstack max_waves calculation 2026-01-23 16:54:32 +00:00
ir3_compiler_nir.c ir3: add support for the ldg.k a1.x addressing mode 2026-04-15 07:58:01 +00:00
ir3_context.c ir3: Late lowering of fmul+fadd to ffma 2026-03-13 20:03:01 +00:00
ir3_context.h ir3: remove unused ir3_context::has_relative_load_const_ir3 2026-04-13 19:15:59 +00:00
ir3_cp.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_cse.c ir3/cse: add support for mov a0.x/a1.x 2025-03-06 08:47:53 +00:00
ir3_dce.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_delay.c ir3: Fix cat3 latency 2025-12-08 22:12:01 +00:00
ir3_disk_cache.c Rename more sha and sha1 names to blake3 2026-03-23 07:03:28 +00:00
ir3_dominance.c ir3/spill: initialize base reg as late as possible 2025-09-03 21:17:57 +00:00
ir3_image.c ir3: add support for 64-bit image atomics 2026-04-11 19:46:13 +00:00
ir3_image.h freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
ir3_legalize.c ir3/legalize: track need_ss/sy_for_const per const reg 2026-04-15 06:20:56 +00:00
ir3_legalize_relative.c
ir3_lexer.l ir3/parser: add @constlen header 2026-04-15 06:46:10 +00:00
ir3_liveness.c freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
ir3_lower_parallelcopy.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_lower_shared_phi.c ir3: reformat after refactoring in previous commit 2024-12-01 10:21:26 +00:00
ir3_lower_spill.c ir3: reformat after refactoring in previous commit 2024-12-01 10:21:26 +00:00
ir3_lower_subgroups.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_merge_regs.c ir3: Use a linear allocation context for ir3_registers. 2025-09-17 12:02:47 -07:00
ir3_nir.c ir3: add support for r64u?i image loads/stores 2026-04-11 19:46:13 +00:00
ir3_nir.h ir3: add support for r64u?i image loads/stores 2026-04-11 19:46:13 +00:00
ir3_nir_analyze_ubo_ranges.c ir3: use ldg.k load size 2026-04-15 07:58:01 +00:00
ir3_nir_branch_and_or_not.py freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
ir3_nir_imul.py nir,ir3: rename umul_low to umul_16x16 2025-10-14 12:54:54 +00:00
ir3_nir_lower_64b.c ir3: add support for r64u?i image loads/stores 2026-04-11 19:46:13 +00:00
ir3_nir_lower_driver_params_to_ubo.c ir3: Don't lower VS driver params to UBO 2024-10-29 02:34:08 +00:00
ir3_nir_lower_io_offsets.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_nir_lower_layer_id.c ir3: Stop relying on variables in ir3_nir_lower_layer_id 2026-01-21 20:54:17 +00:00
ir3_nir_lower_load_barycentric_at_offset.c nir, compiler: Rename needs_quad_helper_invocations 2025-03-14 21:55:57 +00:00
ir3_nir_lower_load_sample_pos.c ir3: Rename the file for ir3_nir_lower_load_sample_pos(). 2026-01-15 07:52:14 +00:00
ir3_nir_lower_push_consts_to_preamble.c treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
ir3_nir_lower_shading_rate.c ir3: Use common shading rate lookup table 2025-08-21 22:48:32 +00:00
ir3_nir_lower_tess.c ir3: Support multiview in GS lowering 2026-04-09 20:34:58 +00:00
ir3_nir_lower_tex_prefetch.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
ir3_nir_move_varying_inputs.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
ir3_nir_opt_algebraic_late.py ir3: Late lowering of fmul+fadd to ffma 2026-03-13 20:03:01 +00:00
ir3_nir_opt_preamble.c freedreno,u_trace: Fix various UBSAN errors 2026-02-03 16:14:35 +00:00
ir3_nir_trig.py freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
ir3_nir_triop_bitwise.py ir3: add pass to select bitwise triops 2024-11-28 06:19:59 +00:00
ir3_opt_predicates.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
ir3_parser.y ir3/isa: fix load size encoding for ldg.k 2026-04-15 07:58:01 +00:00
ir3_parser_support.c ir3/parser: set constlen when adding const regs 2026-04-15 06:46:09 +00:00
ir3_postsched.c ir3/postsched: update legalize state for terminators 2026-04-15 05:57:17 +00:00
ir3_preamble.c ir3: Don't reset immediate count to 0 after lowering 2026-04-16 05:40:14 +00:00
ir3_print.c ir3/isa: attach (sat) to dst 2026-02-06 16:03:11 +00:00
ir3_ra.c ir3/ra: Assert that our calculated pressures aren't bigger than the reg file. 2026-02-23 19:25:27 +00:00
ir3_ra.h ir3/ra: Make a helper to get RA register pressure limits. 2025-12-17 19:50:28 +00:00
ir3_ra_predicates.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ir3_ra_validate.c freedreno,u_trace: Fix various UBSAN errors 2026-02-03 16:14:35 +00:00
ir3_reconvergence.c ir3: More COMPUTE vs KERNEL 2026-02-24 17:22:03 +00:00
ir3_remove_unreachable.c freedreno: use unicode © instead of DOS-like (C) copyright sign 2024-08-28 08:54:00 +00:00
ir3_rpt.c ir3: merge rpt groups after postsched 2025-11-28 06:41:32 +00:00
ir3_sched.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ir3_shader.c ir3: simplify constlen calculation 2026-04-13 19:15:59 +00:00
ir3_shader.h ir3: Use correct immediate size for constlen calculation 2026-04-16 05:40:14 +00:00
ir3_shader_bisect.c ir3: add shader bisect debug tool 2025-08-03 09:30:49 +00:00
ir3_shader_bisect.py ir3/bisect: fix off-by-one issues while bisecting 2025-12-18 04:43:16 +00:00
ir3_shared_folding.c ir3: reformat after refactoring in previous commit 2024-12-01 10:21:26 +00:00
ir3_shared_ra.c ir3/ra: fix copy-paste error 2026-04-13 22:28:15 +00:00
ir3_spill.c ir3/ra: fix killed src detection while spilling 2026-04-25 14:11:10 +00:00
ir3_validate.c ir3: Use fd_dev_info from ir3_compiler 2026-01-21 22:53:23 +00:00
meson.build ir3: Late lowering of fmul+fadd to ffma 2026-03-13 20:03:01 +00:00