Skip to content

[WaveTransform] Some more control flow related test fixup#2701

Open
cdevadas wants to merge 1 commit into
amd-feature/wave-transformfrom
public/amd/dev/cdevadas/wave-transform/more-control-flow-test-fixup
Open

[WaveTransform] Some more control flow related test fixup#2701
cdevadas wants to merge 1 commit into
amd-feature/wave-transformfrom
public/amd/dev/cdevadas/wave-transform/more-control-flow-test-fixup

Conversation

@cdevadas
Copy link
Copy Markdown

Enable -amdgpu-late-wave-transform=1 and update FileCheck patterns for control flow tests. These tests exercise various divergent control flow patterns including loops, branches, and uniform/non-uniform control flow.

Tests fixed in this commit:

  • transform-block-with-return-to-epilog.ll
  • true16-ra-pre-gfx11-regression-test.mir, tuple-allocation-failure.ll
  • udiv64.ll, undef-handling-crash-in-ra.ll, uniform-cfg.ll
  • uniform_branch_with_floating_point_cond.ll
  • unstructured-cfg-def-use-issue.ll, urem64.ll, v_swap_b16.ll
  • valu-i1.ll, vcmp-saveexec-to-vcmpx.ll, vgpr-liverange-ir.ll
  • vgpr-spill-placement-issue61083.ll, vgpr-tuple-allocation.ll
  • vni8-across-blocks.ll, wait-xcnt-atomic-rmw-optimization.ll
  • waterfall-call-target-av-register-failure.ll, wave32.ll
  • while-break.ll, whole-wave-functions.ll, wqm.ll
  • wwm-reserved-spill.ll, wwm-reserved.ll, machine-function-info.ll
  • heterogeneous-dwarf-pointer-parameters-isel.ll
  • heterogeneous-dwarf-pointer-parameters-regalloc-fast.mir

Enable -amdgpu-late-wave-transform=1 and update FileCheck patterns for
control flow tests. These tests exercise various divergent control flow
patterns including loops, branches, and uniform/non-uniform control flow.

Auto-regenerated tests using update_llc_test_checks.py and
update_mir_test_checks.py where applicable. Hand-curated CHECK patterns
for true16-ra-pre-gfx11-regression-test.mir to maintain minimal changes.

Tests fixed in this commit:
- transform-block-with-return-to-epilog.ll
- true16-ra-pre-gfx11-regression-test.mir, tuple-allocation-failure.ll
- udiv64.ll, undef-handling-crash-in-ra.ll, uniform-cfg.ll
- uniform_branch_with_floating_point_cond.ll
- unstructured-cfg-def-use-issue.ll, urem64.ll, v_swap_b16.ll
- valu-i1.ll, vcmp-saveexec-to-vcmpx.ll, vgpr-liverange-ir.ll
- vgpr-spill-placement-issue61083.ll, vgpr-tuple-allocation.ll
- vni8-across-blocks.ll, wait-xcnt-atomic-rmw-optimization.ll
- waterfall-call-target-av-register-failure.ll, wave32.ll
- while-break.ll, whole-wave-functions.ll, wqm.ll
- wwm-reserved-spill.ll, wwm-reserved.ll, machine-function-info.ll
- heterogeneous-dwarf-pointer-parameters-isel.ll
- heterogeneous-dwarf-pointer-parameters-regalloc-fast.mir
@rocm-cciapp
Copy link
Copy Markdown

rocm-cciapp Bot commented May 28, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant