vmsgeu.vi with 0 is always true, but in the masked with mask undisturbed
policy, we still need to keep inactive elelemt which come from maskedoff.
We could return mask directly if it's mask agnostic policy in the future.
Paths
| Differential D121080
[RISCV] Fix incorrect optimization for masked vmsgeu.vi with 0 immediate. ClosedPublic Authored by khchen on Mar 6 2022, 3:56 PM.
Details Summary vmsgeu.vi with 0 is always true, but in the masked with mask undisturbed We could return mask directly if it's mask agnostic policy in the future.
Diff Detail
Event TimelineHerald added subscribers: VincentWu, luke957, achieveartificialintelligence and 26 others. · View Herald Transcript This revision is now accepted and ready to land.Mar 6 2022, 6:08 PM This revision was landed with ongoing or failed builds.Mar 6 2022, 7:23 PM Closed by commit rG3be907621f15: [RISCV] Fix incorrect optimization for masked vmsgeu.vi with 0 immediate. (authored by khchen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 413330 llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/test/CodeGen/RISCV/rvv/vmsgeu-rv32.ll
llvm/test/CodeGen/RISCV/rvv/vmsgeu-rv64.ll
|
vor -> vmor