Go to file
Craig Topper 7e3e7afca8 [ConstantRange][SimplifyCFG] Add a helper method to allow SimplifyCFG to determine if a ConstantRange has more than 8 elements without requiring an allocation if the ConstantRange is 64-bits wide.
Previously SimplifyCFG used getSetSize which returns an APInt that is 1 bit wider than the ConstantRange's bit width. In the reasonably common case that the ConstantRange is 64-bits wide, this requires returning a 65-bit APInt. APInt's can only store 64-bits without a memory allocation so this is inefficient.

The new method takes the 8 as an input and tells if the range contains more than that many elements without requiring any wider math.

llvm-svn: 302385
2017-05-07 22:22:11 +00:00
clang Update LanguageExtensions doc to refer to C++14 instead of C++1y 2017-05-06 23:26:04 +00:00
clang-tools-extra [clang-tidy] Use cxxStdInitializerListExpr in modernize-use-emplace 2017-05-05 23:00:37 +00:00
compiler-rt [builtins] Fixup emulated TLS for mingw. 2017-05-06 15:13:17 +00:00
debuginfo-tests Add additional CHECKs to safestack.c. 2017-04-17 17:57:05 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Temporarly XFAIL aligned new/delete tests on Windows. 2017-05-07 22:10:56 +00:00
libcxxabi [libcxxabi][CMake] Set library dir when built under runtimes/ 2017-05-04 06:04:49 +00:00
libunwind [CMake][libunwind] Fix the -target and -gcc-toolchain flag handling 2017-04-16 06:08:44 +00:00
lld Fix undefined pthread references when building against libc++ 2017-05-06 22:10:14 +00:00
lldb Be a little more permissive in DynamicLoaderMacOS::CanLoadImage 2017-05-06 01:15:47 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [ConstantRange][SimplifyCFG] Add a helper method to allow SimplifyCFG to determine if a ConstantRange has more than 8 elements without requiring an allocation if the ConstantRange is 64-bits wide. 2017-05-07 22:22:11 +00:00
openmp [OpenMP] libomptarget: test correction for use with OpenMP 4.5 2017-04-27 18:54:00 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [Polly] Added OpenCL Runtime to GPURuntime Library for GPGPU CodeGen 2017-05-07 21:03:46 +00:00