[llvm] [RISCV] Move ActiveElementsAffectResult to TSFlags. NFC (PR #101123)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 29 21:48:43 PDT 2024


================
@@ -171,6 +174,12 @@ static inline bool hasRoundModeOp(uint64_t TSFlags) {
 /// \returns true if this instruction uses vxrm
 static inline bool usesVXRM(uint64_t TSFlags) { return TSFlags & UsesVXRMMask; }
 
+/// \returns true if the result in each element depends on the active elements
----------------
wangpc-pp wrote:

`in each element` may not be true, result of reductions have only one element.

https://github.com/llvm/llvm-project/pull/101123


More information about the llvm-commits mailing list