Go to file
Alexey Bataev fa80c47c6a [SLP] Fix vectorization for tree with trunc to minimum required bit width.
Summary:
If the vectorized tree has truncate to minimum required bit width and
the vector type of the cast operation after the truncation is the same
as the vector type of the cast operands, count cost of the vector cast
operation as 0, because this cast will be later removed.
Also, if the vectorization tree root operations are integer cast operations, do not consider them as candidates for truncation. It will just create extra number of the same vector/scalar operations, which will be removed by instcombiner.

Reviewers: RKSimon, spatel, mkuper, hfinkel, mssimpso

Subscribers: llvm-commits

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

llvm-svn: 322946
2018-01-19 14:40:13 +00:00
clang [Fuchsia] Tests for the Fuzzer support in Fuchsia driver 2018-01-19 04:08:06 +00:00
clang-tools-extra [clangd] Merge index-provided completions with those from Sema. 2018-01-19 14:34:02 +00:00
compiler-rt [XRay] [compiler-rt] fix heap overflow by computing record pointers correctly 2018-01-19 13:18:40 +00:00
debuginfo-tests [debuginfo-tests] Support moving debuginfo-tests to llvm/projects 2017-12-12 16:54:20 +00:00
libclc half_divide: Implement using x/y 2018-01-18 21:12:06 +00:00
libcxx Wrote my own version of is_permutation; that was dominating the timings 2018-01-19 03:17:45 +00:00
libcxxabi [cmake] [libcxxabi] Don't print warning when tests are disabled. 2018-01-18 18:29:36 +00:00
libunwind [PPC64] Added vector registers. 2018-01-16 20:54:10 +00:00
lld [ELF] Keep tests from wrinting to the test directory. 2018-01-19 14:15:13 +00:00
lldb Remove Platform references from the Host module 2018-01-19 11:10:54 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [SLP] Fix vectorization for tree with trunc to minimum required bit width. 2018-01-19 14:40:13 +00:00
openmp Sprinkle a few <cstdlib> includes, for libomptarget sources using 2018-01-18 18:24:22 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [ScopBuilder] Revise statement naming when there are multiple statements per BB. 2018-01-18 15:15:50 +00:00
README.md Add an svn project to contain the files that appear at the root of the 2017-10-19 21:09:49 +00:00

README.md

Low Level Virtual Machine (LLVM)

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