llvm-project/llvm
David Sherwood da731894a2 [CodeGen] Replace calls to getVectorNumElements() in DAGTypeLegalizer::SetSplitVector
In DAGTypeLegalizer::SetSplitVector I have changed calls in the assert
from getVectorNumElements() to getVectorElementCount(), since this
code path works for both fixed and scalable vectors.

This fixes up one warning in the test:

  sve-sext-zext.ll

Differential Revision: https://reviews.llvm.org/D83196
2020-07-10 08:29:17 +01:00
..
benchmarks
bindings
cmake [cmake] Use CMAKE_GENERATOR to determine if Ninja is used 2020-07-08 13:04:13 +02:00
docs [Docs] CodingStandards: for_each is discouraged 2020-07-09 23:10:42 +03:00
examples [docs/examples] As part of using inclusive language within the llvm 2020-06-20 00:51:18 -07:00
include [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils 2020-07-10 11:22:43 +05:30
lib [CodeGen] Replace calls to getVectorNumElements() in DAGTypeLegalizer::SetSplitVector 2020-07-10 08:29:17 +01:00
projects
resources
runtimes [libc++] Fix the runtimes build after making __config_site mandatory 2020-06-26 01:26:34 -04:00
test [WebAssembly][NFC] Simplify vector shift lowering and add tests 2020-07-10 00:18:59 -07:00
tools [NFC] Extract the code to write instr profile into function writeInstrProfile 2020-07-09 16:30:28 -07:00
unittests [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils 2020-07-10 11:22:43 +05:30
utils [CodeMoverUtils] Move OrderedInstructions to CodeMoverUtils 2020-07-10 11:22:43 +05:30
.clang-format
.clang-tidy
.gitattributes
.gitignore [clangd] Store index in '.cache/clangd/index' instead of '.clangd/index' 2020-07-07 14:53:45 +02:00
CMakeLists.txt Fix missing build dependencies on omp_gen 2020-07-02 07:55:20 -06:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.