[llvm] [AArch64][GlobalISel] Select G_ICMP instruction through TableGen (PR #89932)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 07:26:41 PDT 2024


================
@@ -5376,6 +5376,51 @@ def : Pat<(AArch64bsp (v4i32 V128:$Rd), V128:$Rn, V128:$Rm),
 def : Pat<(AArch64bsp (v2i64 V128:$Rd), V128:$Rn, V128:$Rm),
           (BSPv16i8 V128:$Rd, V128:$Rn, V128:$Rm)>;
 
+multiclass SelectSetCC<PatFrags InFrag, string INST> {
----------------
arsenm wrote:

Presumably this is already implemented for SelectionDAG, so new patterns wouldn't be necessary. If there are new patterns, these have an impact on the DAG as well? 

https://github.com/llvm/llvm-project/pull/89932


More information about the llvm-commits mailing list