[PATCH] D121401: [AMDGPU] Support gfx940 v_lshl_add_u64 instruction

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 14:39:50 PST 2022


rampitec added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/VOP3Instructions.td:669
 
+// V_LSHL_ADD_U64 is a 64-bit which left-shifts the result by 0-4 (use “0” to get Add_U64).
+let SubtargetPredicate = isGFX940Plus in
----------------
foad wrote:
> It shifts one of the operands, not the result
Oops, copied from the spec :( Took the description from a more formal spec now.


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

https://reviews.llvm.org/D121401



More information about the llvm-commits mailing list