llvm-mirror/include
Christopher Tetreault f55cc8b846 [SVE] Make VectorType::getNumElements() complain for scalable vectors
Summary:
Piggy-back off of TypeSize's STRICT_FIXED_SIZE_VECTORS flag and:
- if it is defined, assert that the vector is not scalable
- if it is not defined, complain if the vector is scalable

Reviewers: efriedma, sdesmalen, c-rhodes

Reviewed By: sdesmalen

Subscribers: hiraditya, mgorny, tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D78576
2020-04-23 10:47:38 -07:00
..
llvm [SVE] Make VectorType::getNumElements() complain for scalable vectors 2020-04-23 10:47:38 -07:00
llvm-c [SVE] Add new VectorType subclasses 2020-04-22 08:59:01 -07:00