Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LangRef] Update the semantic of
experimental.get.vector.length
(#1…
…04475) The previous semantics of `llvm.experimental.get.vector.length` was too permissive such that it gave optimizers a hard time on anything related to the number of iterations of VP-vectorized loops. This patch tries to address this by assigning it a set of stricter semantics similar to that of RVV's VSETVLI instructions, while being not too RISC-V specific and leaving room for other (future) targets. --------- Co-authored-by: Craig Topper <[email protected]>
- Loading branch information