llvm-project/llvm
Huihui Zhang b4f04d7135 [VectorCombine][SVE] Do not fold bitcast shuffle for scalable type.
First, shuffle cost for scalable type is not known for scalable type;
Second, we cannot reason if the narrowed shuffle mask for scalable type
is a splat or not.

E.g., Bitcast splat vector from type <vscale x 4 x i32> to <vscale x 8 x i16>
will involve narrowing shuffle mask <vscale x 4 x i32> zeroinitializer to
<vscale x 8 x i32> with element sequence of <0, 1, 0, 1, ...>, which cannot be
reasoned if it's a valid splat or not.

Reviewed By: spatel

Differential Revision: https://reviews.llvm.org/D86995
2020-09-02 15:02:16 -07:00
..
benchmarks
bindings [OCaml] Remove add_constant_propagation 2020-08-27 09:30:21 -07:00
cmake [CMake] Use find_library for ncurses 2020-08-31 20:06:21 -07:00
docs [LangRef] Fix condition for when a loop is considered parallel. 2020-09-01 15:41:59 -05:00
examples [examples] Fix dependencies for OrcV2Examples/LLJITWithThinLTOSummaries. 2020-08-25 11:51:20 -07:00
include Improve error handling for SmallVector programming errors 2020-09-02 15:00:26 -07:00
lib [VectorCombine][SVE] Do not fold bitcast shuffle for scalable type. 2020-09-02 15:02:16 -07:00
projects
resources
runtimes [runtimes] Remove TOOLCHAIN_TOOLS specialization 2020-08-24 13:48:29 -07:00
test [VectorCombine][SVE] Do not fold bitcast shuffle for scalable type. 2020-09-02 15:02:16 -07:00
tools Make sure that llvm-ml uses MASM integer lexing when in --as-lex mode 2020-09-02 16:03:01 -04:00
unittests [RFC][Target] Add a new triple called Triple::csky 2020-09-02 12:46:09 +08:00
utils [gn build] Fix COMPILER_RT_HAS_* defines for libclang_rt.profile 2020-09-02 14:29:59 -04:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [CMake] Remove -Wl,-allow-shlib-undefined which was added in rL221530 2020-09-01 21:13:45 -07:00
CODE_OWNERS.TXT Update my email address. 2020-08-21 10:15:26 -07:00
CREDITS.TXT Update my email address. 2020-08-21 10:15:26 -07:00
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.