[all-commits] [llvm/llvm-project] af05f9: [AMDGPU] - Add constant folding for s_bitreplicate...

Jessica Del via All-commits all-commits at lists.llvm.org
Thu Nov 16 00:08:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af05f9ff06a20b9f58fdb4e9e6e1db5bee1abcf5
      https://github.com/llvm/llvm-project/commit/af05f9ff06a20b9f58fdb4e9e6e1db5bee1abcf5
  Author: Jessica Del <50999226+OutOfCache at users.noreply.github.com>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.bitreplicate.ll

  Log Message:
  -----------
  [AMDGPU] - Add constant folding for s_bitreplicate (#72366)

If the input is a constant, we can constant fold the s_bitreplicate
operation.




More information about the All-commits mailing list