llvm-project/llvm
Christopher Tetreault b6c6bab9a5 [SVE] Fix incorrect usage of getNumElements() in InstCombineCalls
Summary:
Remove incorrect usage of getNumElements() from visitCallInst(). The
number of elements was being used to construct a DemandedElts bitfield.
This operation does not make sense for scalable vectors. Cast to
FixedVectorType

Identified by test case Clang :: CodeGen/aarch64-sve-intrinsics/acle_sve_mla.c

Reviewers: rengolin, efriedma, sdesmalen, c-rhodes, david-arm

Reviewed By: david-arm

Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79524
2020-05-07 08:46:51 -07:00
..
benchmarks
bindings Update go bindings for 2dea3f1298 2020-04-22 19:02:59 +02:00
cmake [cmake] restrict object library dependency generation to PUBLIC libraries 2020-05-04 14:12:42 -07:00
docs [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
examples [examples] Fix an incomplete comment. 2020-05-01 11:06:41 -07:00
include [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
lib [SVE] Fix incorrect usage of getNumElements() in InstCombineCalls 2020-05-07 08:46:51 -07:00
projects
resources
runtimes
test Revert "[SLP] add another bailout for load-combine patterns" 2020-05-07 16:31:52 +02:00
tools [dsymutil] Add option to print statistics about the .debug_info size. 2020-05-06 19:48:45 -07:00
unittests SplitIndirectBrCriticalEdges: Fix Branch Probability update 2020-05-07 15:31:44 +07:00
utils [gn build] Port e3ffe7269b 2020-05-07 10:11:03 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Revert "[lldb][cmake] Also use local submodule visibility on Darwin" 2020-05-05 15:23:34 +02: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.