[PATCH] D111523: [AMDGPU] Don't emit 24 bit mul intrinsic for > 32 bit result.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 12 00:51:10 PDT 2021


foad added a comment.

I think `numBits(LHS) + numBits(RHS) <= 32 || Size <= 32` might be OK. (Assuming you have already checked `numBits(LHS) <= 24` and `numBits(RHS) <= 24`.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111523



More information about the llvm-commits mailing list