[llvm] [AMDGPU] Improve s_delay_alu insertion for instructions with multiple defs (PR #210762)

Carl Ritson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 01:54:22 PDT 2026


================
@@ -403,6 +406,18 @@ class AMDGPUInsertDelayAlu {
               if (It != State.end()) {
                 Delay.merge(It->second);
                 State.erase(Unit);
+                 // If this def was from a multi-def instruction, erase all
----------------
perlfu wrote:

Clang format is pointing out this is all indented incorrectly.

https://github.com/llvm/llvm-project/pull/210762


More information about the llvm-commits mailing list