Support VP_REDUCE_ADD mask operation, turn it to VP_REDUCE_XOR in getNode.
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Unit Tests
Unit Tests
Paths 
  |  Differential  D124986  
[RISCV] Support VP_REDUCE_ADD mask operation ClosedPublic Authored by Jimerlife on May 4 2022, 11:44 PM. 
Details Summary Support VP_REDUCE_ADD mask operation, turn it to VP_REDUCE_XOR in getNode. 
Diff Detail 
 
Unit TestsFailed Event TimelineHerald added subscribers: llvm-commits, • pcwang-thead, eopXD and 2 others.  ·  View Herald TranscriptMay 4 2022, 11:44 PM This revision is now accepted and ready to land.May 5 2022, 12:03 AM This revision was landed with ongoing or failed builds.May 5 2022, 6:58 PM Closed by commit rGfb0d636f285b: [RISCV][SelectionDAG] Support VP_REDUCE_ADD mask operation. (authored by Jimerlife).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 427207 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 
 llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll
 llvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||