[all-commits] [llvm/llvm-project] 4279d5: [AMDGPU][CodeGen] Place `S_NOP` after `S_SETREG_IM...

Lucas Ramirez via All-commits all-commits at lists.llvm.org
Wed Jul 15 08:25:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4279d524cc78d0bac294bb29257c62665121d9f1
      https://github.com/llvm/llvm-project/commit/4279d524cc78d0bac294bb29257c62665121d9f1
  Author: Lucas Ramirez <11032120+lucas-rami at users.noreply.github.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
    A llvm/test/CodeGen/AMDGPU/vgpr-setreg-pred-block.mir

  Log Message:
  -----------
  [AMDGPU][CodeGen] Place `S_NOP` after `S_SETREG_IMM32_B32` in predecessor MBB (#209620)

When placing a `S_SET_VGPR_MSB` at the beginning of a block, check
whether there exists a `S_SETREG_IMM32_B32(MODE)` in the predecessor
block that falls-through into it; if there is one a `S_NOP` has to be
inserted in between them.



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