[llvm] [RISCV] Don't set AVL if only zeroness is demanded (PR #74049)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 15:08:41 PST 2023
================
@@ -1086,6 +1095,14 @@ void RISCVInsertVSETVLI::transferBefore(VSETVLIInfo &Info,
IncomingInfo.getTailAgnostic(),
(Demanded.MaskPolicy ? IncomingInfo : Info).getMaskAgnostic() ||
IncomingInfo.getMaskAgnostic());
+
+ // If we only knew the sew/lmul ratio previously, replace the VTYPE but keep
----------------
preames wrote:
Is there any value having this here as opposed to as an early exit before we call adjustIncoming?
https://github.com/llvm/llvm-project/pull/74049
More information about the llvm-commits
mailing list