Commit d224be3b authored by Zakk Chen's avatar Zakk Chen
Browse files

[RISCV] Add the policy operand for some masked RVV ternary IR intrinsics.



Masked reduction intrinsics are specical cases which don't need to have policy
operand. The mask only affects which elements are read. It doesn't effect the
destination register.
The reduction intrinsics have a dedicated destination operand. If it
is undef, we use tail agnostic. If it not undef we use tail
undisturbed.

Co-Authored-by: default avatarCraig Topper <craig.topper@sifive.com>

Differential Revision: https://reviews.llvm.org/D117681
parent 2219f9f5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment