[all-commits] [llvm/llvm-project] 3f5330: AMDGPU: Emit llvm.fshr for __builtin_amdgcn_alignbit

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Mar 23 13:51:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f533006ba8c8ae6f3596f49f480aa794ed4e347
      https://github.com/llvm/llvm-project/commit/3f533006ba8c8ae6f3596f49f480aa794ed4e347
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-23 (Mon, 23 Mar 2020)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGenOpenCL/builtins-amdgcn.cl
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td

  Log Message:
  -----------
  AMDGPU: Emit llvm.fshr for __builtin_amdgcn_alignbit

These are equivalent. The generic rotate builtins do not directly map
to the fshr intrinsic.




More information about the All-commits mailing list