[PATCH] D94747: [AMDGPU] Add llvm.amdgcn.wqm.demote intrinsic

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 06:08:36 PST 2021


arsenm added inline comments.


================
Comment at: llvm/include/llvm/IR/IntrinsicsAMDGPU.td:1357-1361
+// Similar to int_amdgcn_ps_live, but cannot be moved by LICM.
+// Returns true if lane is not a helper.
+def int_amdgcn_live_mask : Intrinsic <[llvm_i1_ty],
+  [], [IntrReadMem, IntrInaccessibleMemOnly]
+>;
----------------
Should ps_live eventually be replaced? I would rather make that clear rather than adding another intrinsic to void updating users


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94747



More information about the llvm-commits mailing list