[llvm] [AMDGPU] selecting v_sat_pk instruction, version 2 (PR #123297)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 03:28:18 PST 2025
================
@@ -3309,6 +3309,21 @@ def : GCNPat <
(v2i16 (V_LSHL_OR_B32_e64 $src1, (i32 16), (i32 (V_AND_B32_e64 (i32 (V_MOV_B32_e32 (i32 0xffff))), $src0))))
>;
+multiclass V_SAT_PK_Pat<Instruction inst> {
+ def : GCNPat<
----------------
Shoreshen wrote:
Hi @arsenm , could you be more specific? Should I use other type of pattern?
https://github.com/llvm/llvm-project/pull/123297
More information about the llvm-commits
mailing list