Go to file
Sanjay Patel 8aac22e06a [SelectionDAG] fix bug in translating funnel shift with non-power-of-2 type
The bug is visible in the constant-folded x86 tests. We can't use the
negated shift amount when the type is not power-of-2:
https://rise4fun.com/Alive/US1r

...so in that case, use the regular lowering that includes a select
to guard against a shift-by-bitwidth. This path is improved by only
calculating the modulo shift amount once now.

Also, improve the rotate (with power-of-2 size) lowering to use
a negate rather than subtract from bitwidth. This improves the
codegen whether we have a rotate instruction or not (although
we can still see that we're not matching to a legal rotate in
all cases).

llvm-svn: 338592
2018-08-01 17:17:08 +00:00
clang [Format] Fix for bug 35641 2018-08-01 15:32:56 +00:00
clang-tools-extra Update docs version and clear release notes after 8.0.0 version bump 2018-08-01 14:09:00 +00:00
compiler-rt Add missing condition 2018-08-01 15:30:14 +00:00
debuginfo-tests [DWARF] Change a test to ensure the creation of a __debug_ranges section. 2018-07-31 19:37:29 +00:00
libclc atom: Use volatile pointers for cl_khr_{global,local}_int32_{base,extended}_atomics 2018-06-21 19:27:39 +00:00
libcxx Update version to 8.0.0svn: cmake, includes files and docs 2018-08-01 13:54:28 +00:00
libcxxabi Update version to 8.0.0svn 2018-08-01 14:25:03 +00:00
libunwind Bump version number to 8.0.0svn 2018-08-01 15:22:27 +00:00
lld Update docs version and clear release notes after 8.0.0 version bump 2018-08-01 14:07:20 +00:00
lldb Don't ignore byte_order in Stream::PutMaxHex64 2018-08-01 17:12:58 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [SelectionDAG] fix bug in translating funnel shift with non-power-of-2 type 2018-08-01 17:17:08 +00:00
openmp [OMPT,tests] Fix taskloop testcase scheduling effects 2018-08-01 16:15:18 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly Update docs version and clear release notes after 8.0.0 version bump 2018-08-01 14:11:32 +00:00
README.md

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.