================
@@ -110,8 +109,8 @@ multiclass VPatTernaryW_VX_VS2First<string intrinsic, 
string instruction,
   foreach vtiTowti = vtilist in {
     defvar vti = vtiTowti.Vti;
     defvar wti = vtiTowti.Wti;
-    let Predicates = !listconcat(GetVTypePredicates<vti>.Predicates,
-                                 GetVTypePredicates<wti>.Predicates) in
+    let Predicates = GetVTypePredicates<vti>.Predicates in
----------------
wangpc-pp wrote:

This looks awkward now. I meant to `append` the outer `HasStdExtZvabd`.

The right change is keeping the outer `let append Predicates = 
[HasStdExtZvabd]` and here is:
```
    let Predicates = !listconcat(GetVTypePredicates<vti>.Predicates,
                                 GetVTypePredicates<wti>.Predicates) in
```
Sorry for the rework.

https://github.com/llvm/llvm-project/pull/218576
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to