Go to file
Craig Topper 81f1b4a361 [X86] Make X86TTIImpl::getCastInstrCost properly handle the case where AVX512 is enabled, but 512-bit vectors aren't legal.
Unlike most cost model functions this code makes a lot of table lookups without using the results from getTypeLegalizationCost. This means 512-bit vectors can be looked up even when the type isn't legal.

This patch adds a check around the two tables that contain 512-bit types to make sure that neither of the types would be split by type legalization. Meaning 512 bit types are illegal. I wanted to write this in a somewhat generic way that uses type legalization query hooks. But if prefered, I can switch to just using is512BitVector and the subtarget feature.

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

llvm-svn: 347786
2018-11-28 18:11:42 +00:00
clang [analyzer] Cleanup constructors in the Z3 backend 2018-11-28 17:22:49 +00:00
clang-tools-extra Fix false positive with lambda assignments in cert-err58-cpp. 2018-11-28 15:04:38 +00:00
compiler-rt [gcov] Disable instrprof-gcov-fork.test. 2018-11-28 17:24:07 +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] Remove dynarray 2018-11-28 18:02:00 +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 Simplify Symbol::getPltVA. 2018-11-28 17:42:59 +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 [X86] Make X86TTIImpl::getCastInstrCost properly handle the case where AVX512 is enabled, but 512-bit vectors aren't legal. 2018-11-28 18:11:42 +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.