craig.topper added inline comments.

================
Comment at: clang/include/clang/Basic/riscv_vector.td:432
+                                ["vv", "Uv", "UvUvUv"],
+                                ["vx", "Uv", "UvUvUe"]]>;
+
----------------
Should we have a common class for vadd/vsub/vand/vxor/vor. They all have the 
same argments except for the name.

Or maybe a common class for signed binary ops and unsigned binary ops. And some 
can just instantiate both classes? That would allow us to pick up min/max and 
shifts as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99524

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to