[llvm] [RISCV] Move ActiveElementsAffectResult to TSFlags. NFC (PR #101123)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 22:02:26 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
----------------
lukel97 wrote:
I guess, I'm finding this tricky to word. Saying "the result depends on the active elements" seems wrong since the vector result always depends on the active elements.
Maybe it's just easier to say "returns true if the result isn't element-wise"
https://github.com/llvm/llvm-project/pull/101123
More information about the llvm-commits
mailing list