hanchenye-llvm-project/llvm
Cullen Rhodes 7b8d50b141 [InstSimplify] Clarify use of FixedVectorType in SimplifySelectInst
Folding a select of vector constants that include undef elements only
applies to fixed vectors, but there's no earlier check the type is not
scalable so it crashes for scalable vectors. This adds a check so this
optimization is only attempted for fixed vectors.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D92046
2020-11-27 09:55:29 +00:00
..
benchmarks
bindings Adding PoisonValue for representing poison value explicitly in IR 2020-11-25 17:33:51 -07:00
cmake [clangd] Fix use of system-installed GRPC after f726101b62 2020-11-26 23:08:27 +01:00
docs [LangRef] Add poison constant 2020-11-27 10:29:52 +09:00
examples
include Revert "[DebugInfo] Improve dbg preservation in LSR." 2020-11-27 08:52:32 +01:00
lib [InstSimplify] Clarify use of FixedVectorType in SimplifySelectInst 2020-11-27 09:55:29 +00:00
projects
resources
runtimes
test [InstSimplify] Clarify use of FixedVectorType in SimplifySelectInst 2020-11-27 09:55:29 +00:00
tools [llvm-readelf/obj] - Stop calling `reportError` in `printArchSpecificInfo()`. 2020-11-27 10:27:00 +03:00
unittests [BasicAA] Fix BatchAA results for phi-phi assumptions 2020-11-26 21:43:50 +01:00
utils [gn build] sync script: try to make a loop clearer 2020-11-25 21:16:22 -05:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.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.