[all-commits] [llvm/llvm-project] b8d3cc: [AMDGPU] - Add s_bitreplicate intrinsic (#69209)

Jessica Del via All-commits all-commits at lists.llvm.org
Tue Oct 31 03:27:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8d3ccdff1fb12e38f226ce111ede74553059544
      https://github.com/llvm/llvm-project/commit/b8d3ccdff1fb12e38f226ce111ede74553059544
  Author: Jessica Del <50999226+OutOfCache at users.noreply.github.com>
  Date:   2023-10-31 (Tue, 31 Oct 2023)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.bitreplicate.ll

  Log Message:
  -----------
  [AMDGPU] - Add s_bitreplicate intrinsic (#69209)

Add intrinsic for s_bitreplicate. Lower to S_BITREPLICATE_B64_B32
machine instruction in both GISel and Selection DAG.

Support VGPR arguments by inserting a `v_readfirstlane`.




More information about the All-commits mailing list