mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
157d5e9a63
Summary: Related to D75672, this patch adds EVT::isFixedLengthVector to determine if the underlying vector type is of fixed length. An assert is introduced in EVT::getVectorNumElements that triggers for types that aren't fixed length. This is currently guarded by a flag added D75297 that is off by default and has been renamed to the more generic ENABLE_STRICT_FIXED_SIZE_VECTORS. Ideally we want to get rid of getVectorNumElements but a quick grep shows there are >350 uses in lib/CodeGen and 75 in lib/Target/AArch64 alone. All of these probably aren't EVT::getVectorNumElements (some may be the MVT equivalent), but there are many places to fixup and having the assert on by default would make the SVE upstreaming effort difficult. Reviewers: sdesmalen, efriedma, ctetreau, huntergr, rengolin Reviewed By: efriedma Subscribers: mgorny, kristof.beyls, hiraditya, danielkiss, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D76376 |
||
---|---|---|
.. | ||
AddLLVM.cmake | ||
AddLLVMDefinitions.cmake | ||
AddOCaml.cmake | ||
AddSphinxTarget.cmake | ||
CheckAtomic.cmake | ||
CheckCompilerVersion.cmake | ||
CheckLinkerFlag.cmake | ||
ChooseMSVCCRT.cmake | ||
CMakeLists.txt | ||
CrossCompile.cmake | ||
DetermineGCCCompatible.cmake | ||
FindLibpfm.cmake | ||
FindOCaml.cmake | ||
FindSphinx.cmake | ||
FindZ3.cmake | ||
GenerateVersionFromVCS.cmake | ||
GetHostTriple.cmake | ||
HandleLLVMOptions.cmake | ||
HandleLLVMStdlib.cmake | ||
LLVM-Config.cmake | ||
LLVMConfig.cmake.in | ||
LLVMConfigVersion.cmake.in | ||
LLVMDistributionSupport.cmake | ||
LLVMExternalProjectUtils.cmake | ||
LLVMInstallSymlink.cmake | ||
LLVMProcessSources.cmake | ||
TableGen.cmake | ||
UseLibtool.cmake | ||
VersionFromVCS.cmake |