[all-commits] [llvm/llvm-project] 398edf: [ReplaceConstant] Don't create instructions for th...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Nov 26 07:48:46 PST 2025


  Branch: refs/heads/users/shiltian/avoid-creating-insts-multiple-times-in-a-bb
  Home:   https://github.com/llvm/llvm-project
  Commit: 398edfb754ce217696c7f9f2edfc1f1ab0a762c2
      https://github.com/llvm/llvm-project/commit/398edfb754ce217696c7f9f2edfc1f1ab0a762c2
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M llvm/lib/IR/ReplaceConstant.cpp
    A llvm/test/CodeGen/AMDGPU/same-lds-variable-multiple-use-in-one-phi-node.ll

  Log Message:
  -----------
  [ReplaceConstant] Don't create instructions for the same constant multiple times in the same basic block

Fixes #167500.


  Commit: 81ef9480a5279d615e74e7cbaa37291bde48bd01
      https://github.com/llvm/llvm-project/commit/81ef9480a5279d615e74e7cbaa37291bde48bd01
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-11-26 (Wed, 26 Nov 2025)

  Changed paths:
    M llvm/lib/IR/ReplaceConstant.cpp
    M llvm/test/CodeGen/AMDGPU/lower-kernel-lds-constexpr.ll
    M llvm/test/CodeGen/AMDGPU/lower-module-lds-constantexpr.ll

  Log Message:
  -----------
  fix dominance issue and comment


Compare: https://github.com/llvm/llvm-project/compare/4ff4d682a370...81ef9480a527

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