[all-commits] [llvm/llvm-project] 84909d: [AMDGCN] Allow unscheduling of bundled insns

Julian Brown via All-commits all-commits at lists.llvm.org
Tue Mar 18 09:59:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84909d797782a0dcf240f79a8e5e863d8165c03f
      https://github.com/llvm/llvm-project/commit/84909d797782a0dcf240f79a8e5e863d8165c03f
  Author: Julian Brown <julian.brown at amd.com>
  Date:   2025-03-18 (Tue, 18 Mar 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
    A llvm/test/CodeGen/AMDGPU/sema-v-unsched-bundle.ll

  Log Message:
  -----------
  [AMDGCN] Allow unscheduling of bundled insns

This is a patch arising from AMD's fuzzing project.

In the test case, the scheduling algorithm decides to undo an attempted
schedule, but is unprepared to handle bundled instructions at that
point -- and those can arise via the expansion of intrinsics earlier
in compilation.  The fix is to use the splice method instead of
remove/insert, since that can handle bundles properly.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list