[llvm] [RISCV] Combine (or disjoint ext, ext) -> vwadd (PR #86929)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 28 04:41:57 PDT 2024
================
@@ -13675,6 +13675,7 @@ struct NodeExtensionHelper {
case RISCVISD::ADD_VL:
case RISCVISD::VWADD_W_VL:
case RISCVISD::VWADDU_W_VL:
+ case ISD::OR:
return RISCVISD::VWADD_VL;
----------------
dtcxzyw wrote:
Can you add a test for `vwadd`?
https://github.com/llvm/llvm-project/pull/86929
More information about the llvm-commits
mailing list