[all-commits] [llvm/llvm-project] 3d1785: [SVE] Make VectorType::getNumElements() complain f...
Christopher Tetreault via All-commits
all-commits at lists.llvm.org
Thu Apr 23 10:48:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3d178581ac7f5336b1ac75e31001de074ecca937
https://github.com/llvm/llvm-project/commit/3d178581ac7f5336b1ac75e31001de074ecca937
Author: Christopher Tetreault <ctetreau at quicinc.com>
Date: 2020-04-23 (Thu, 23 Apr 2020)
Changed paths:
M llvm/CMakeLists.txt
M llvm/include/llvm/IR/DerivedTypes.h
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/Function.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list