Go to file
Peter Collingbourne f0380bac5f Silence ubsan after r367926.
Fixes e.g.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-ubsan/builds/14273

We can't left shift here because left shifting of a negative number is UB.
The same doesn't apply to unsigned arithmetic, but switching to unsigned
doesn't appear to stop ubsan from complaining, so we need to mask out the
high bits.

llvm-svn: 367959
2019-08-06 00:21:30 +00:00
clang [Sema] attempt to appease buildbots after r367940 2019-08-05 23:19:15 +00:00
clang-tools-extra [clang-doc] Fix link generation 2019-08-06 00:11:34 +00:00
compiler-rt Build libfuzzer libcxx-static with PIC 2019-08-05 22:55:17 +00:00
debuginfo-tests Make nrvo-string test more robust. 2019-06-27 20:38:37 +00:00
libclc Revert "Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC" 2019-08-05 17:23:23 +00:00
libcxx [libc++] Accept any non-zero return for .fail.cpp tests 2019-08-05 21:26:50 +00:00
libcxxabi [libc++] Take 2: Integrate the PSTL into libc++ 2019-08-05 18:29:14 +00:00
libunwind [runtimes] Don't depend on libpthread on Android 2019-07-22 20:41:03 +00:00
lld [ELF][test] Reorganize some tls-*.s tests 2019-08-05 15:34:01 +00:00
lldb [CompilerType] Simplify the interface a bit more.. 2019-08-06 00:01:52 +00:00
llgo IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
llvm Silence ubsan after r367926. 2019-08-06 00:21:30 +00:00
openmp [OpenMP] Add support for GOMP_*_nonmonotonic_* functions 2019-08-05 23:23:52 +00:00
parallel-libs Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
polly Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC 2019-08-05 05:43:48 +00:00
pstl [NFC][pstl] Remove stray semi-colon 2019-08-05 21:20:42 +00:00
.arcconfig Update monorepo .arcconfig with new project callsign. 2019-01-31 14:34:59 +00:00
.clang-format Add .clang-tidy and .clang-format files to the toplevel of the 2019-01-29 16:43:16 +00:00
.clang-tidy Disable tidy checks with too many hits 2019-02-01 11:20:13 +00:00
.gitignore Change /build to /build* in top-level .gitignore. 2019-08-02 02:14:08 +00:00
README.md

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.