[all-commits] [llvm/llvm-project] ecec7d: DAG: Use phi in alloca constant case to create vir...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Mar 7 16:13:33 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ecec7d15a7024dbeb81cb7e7be814750d6615d20
      https://github.com/llvm/llvm-project/commit/ecec7d15a7024dbeb81cb7e7be814750d6615d20
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-03-08 (Sat, 08 Mar 2025)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/test/CodeGen/AMDGPU/copy-to-reg-frameindex.ll

  Log Message:
  -----------
  DAG: Use phi in alloca constant case to create virtual registers (#130254)

This is a follow up from 39bf765bb671fa7df3fe6c164cc9532fcb8653bd,
for the other case handled here. We would create CopyToReg marked
as uniform, even though the end phi would need to use VGPRs due
to another divergent input. There's no directly observable change in
the final output of the new test, but it does hit this case.



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