[PATCH] D127756: [AMDGPU] gfx11 VINTERP intrinsics and ISel support

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 24 04:51:39 PDT 2023


foad added inline comments.


================
Comment at: llvm/include/llvm/IR/IntrinsicsAMDGPU.td:1524
+  Intrinsic<[llvm_float_ty],
+            [llvm_float_ty, llvm_float_ty, llvm_float_ty, llvm_i1_ty],
+            [IntrNoMem, IntrSpeculatable, IntrWillReturn,
----------------
kosarev wrote:
> Wouldn't it be more natural to declare `p` and `p0` to be `llvm_v2f16_ty`?
Yes, I think so, but it would require coordinated changes in Mesa and LLPC, and we should probably also provide a v2f16 version of llvm.amdgcn.lds.param.load which currently always returns a float.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127756



More information about the llvm-commits mailing list