[all-commits] [llvm/llvm-project] 2da6ef: [AMDGPU] Add 24-bit mulhi intrinsics in INTRINSIC_...

Abinav Puthan Purayil via All-commits all-commits at lists.llvm.org
Thu Oct 28 04:28:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2da6ef3664333cc36c449b271c50a72dd7f61940
      https://github.com/llvm/llvm-project/commit/2da6ef3664333cc36c449b271c50a72dd7f61940
  Author: Abinav Puthan Purayil <abinav.puthanpurayil at amd.com>
  Date:   2021-10-28 (Thu, 28 Oct 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/mul_uint24-amdgcn.ll

  Log Message:
  -----------
  [AMDGPU] Add 24-bit mulhi intrinsics in INTRINSIC_WO_CHAIN combine.

mul24 intrinsic's operands are simplified by
AMDGPUTargetLowering::performIntrinsicWOChainCombine(). This change adds
the mul24hi intrinsics in the combine since its operands can be
simplified like that of the mul24 intrinsics.

Differential Revision: https://reviews.llvm.org/D112702




More information about the All-commits mailing list