Go to file
Alexey Bataev 579c2d9d64 [SLP]Fix PR39774: Set ReductionRoot if the original instruction is vectorized.
Summary:
If the original reduction root instruction was vectorized, it might be
removed from the tree. It means that the insertion point may become
invalidated and the whole vectorization of the reduction leads to the
incorrect output result.
The ReductionRoot instruction must be marked as externally used so it
could not be removed. Otherwise it might cause inconsistency with the
cost model and we may end up with too optimistic optimization.

Reviewers: RKSimon, spatel, hfinkel, mkuper

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D54955

llvm-svn: 347759
2018-11-28 14:34:11 +00:00
clang Re-commit r347417 "Re-Reinstate 347294 with a fix for the failures." 2018-11-28 14:04:12 +00:00
clang-tools-extra Re-commit r347419 "Update call to EvaluateAsInt() to the new syntax." 2018-11-28 14:04:26 +00:00
compiler-rt [CMake] Add a missing case of TO_CMAKE_PATH 2018-11-27 09:23:15 +00:00
debuginfo-tests Set config.lit_tools_dir, which is needed by lit.llvm.initialize. 2018-11-06 21:54:27 +00:00
libclc travis: Add cmake build 2018-11-27 16:07:21 +00:00
libcxx [libcxx] Make sure the re-export logic works when paths contain spaces 2018-11-27 21:13:31 +00:00
libcxxabi [Demangle] remove itaniumFindTypesInMangledName 2018-11-27 16:11:24 +00:00
libunwind [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
lld Fix a typo. 2018-11-28 13:20:39 +00:00
lldb Revert r347673 "Catch up with EvaluateAsInt() clang API change." 2018-11-28 14:30:18 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [SLP]Fix PR39774: Set ReductionRoot if the original instruction is vectorized. 2018-11-28 14:34:11 +00:00
openmp [OpenMP][libomptarget] Add new version of SPMD deinit kernel function with argument 2018-11-27 21:23:40 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly [CMake] Fix generation of exported targets in build directory 2018-11-06 15:18:17 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

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.