[all-commits] [llvm/llvm-project] 781dd3: [AMDGPU] Enable 48-bit mul in AMDGPUCodeGenPrepare.

Abinav Puthan Purayil via All-commits all-commits at lists.llvm.org
Tue Oct 26 06:25:05 PDT 2021


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

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-mul24.ll

  Log Message:
  -----------
  [AMDGPU] Enable 48-bit mul in AMDGPUCodeGenPrepare.

We were bailing out of creating 24-bit muls for results wider than 32
bits in AMDGPUCodeGenPrepare. With the 24-bit mulhi intrinsic, this
change teaches AMDGPUCodeGenPrepare to generate the 48-bit mul
correctly.

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




More information about the All-commits mailing list