Go to file
Justin Lebar b59c1dd5cf Avoid UB in maxIntN(64).
Summary:
Previously we were relying on 2's complement underflow in an int64_t.
Now we cast to a uint64_t so we explicitly get the behavior we want.

Reviewers: rnk

Subscribers: dylanmckay, llvm-commits

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

llvm-svn: 275722
2016-07-17 18:19:26 +00:00
clang [CodeGen] Some assorted cleanups 2016-07-17 00:39:12 +00:00
clang-tools-extra [clang-rename] remove obsolete tests and apply fixes to existing 2016-07-16 08:55:01 +00:00
compiler-rt [asan] trying to fix the windows build 2016-07-15 23:13:03 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc configure: Remove device specific defines 2016-06-17 20:30:50 +00:00
libcxx Constuct a sentry object in istream::readsome, and handle failures appropriately. Fixes PR#28217. 2016-07-13 16:58:48 +00:00
libcxxabi libc++abi: add a top level option for using CompilerRT 2016-07-15 00:49:42 +00:00
libunwind [PATCH] [libunwind][ehabi] Use early returns where possible. 2016-07-08 12:13:31 +00:00
lld Implement almost-zero-cost --trace-symbol. 2016-07-17 17:50:09 +00:00
lldb Fixed the location of the Swift bindings in the Xcode build. 2016-07-16 00:18:24 +00:00
llgo Upgrade all the .arcconfigs to https. 2016-07-14 13:15:37 +00:00
llvm Avoid UB in maxIntN(64). 2016-07-17 18:19:26 +00:00
openmp http://reviews.llvm.org/D22134: Implementation of OpenMP 4.5 nonmonotonic schedule modifier 2016-07-11 10:44:57 +00:00
parallel-libs Change mailing list names in README 2016-06-24 22:50:09 +00:00
polly GPGPU: Abort if any dummy function is called 2016-07-16 07:30:27 +00:00