[PATCH] D112394: [AMDGPU] Implement llvm.amdgcn.mulhi.[i,u]24 intrinsics.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 05:24:11 PDT 2021


foad added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mulhi.i24.ll:2
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck %s
+
----------------
abinavpp wrote:
> foad wrote:
> > Can you add a -global-isel run line? Does it Just Work?
> It's not working at the moment. I've added the mir version for now.
It should be trivial to implement, just handle the mulhi intrinsics the same as the mul intrinsics in AMDGPURegisterBankInfo.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112394/new/

https://reviews.llvm.org/D112394



More information about the llvm-commits mailing list