Go to file
David Majnemer 3af5bf30e3 [InstCombine] Simplify (x >> y) <= x
This commit extends the patterns recognised by InstSimplify to also handle (x >> y) <= x in the same way as (x /u y) <= x.

The missing optimisation was found investigating why LLVM did not optimise away bound checks in a binary search: https://github.com/rust-lang/rust/pull/30917

Patch by Andrea Canciani!

Differential Revision: http://reviews.llvm.org/D16402

llvm-svn: 258422
2016-01-21 18:55:54 +00:00
clang Add an isVirtualAsWritten AST matcher. 2016-01-21 17:56:24 +00:00
clang-tools-extra Make modernize-use-default tolerant of delayed template parsing; this code was previously causing failed assertions because dyn_cast was being passed a null pointer due to the delay-parsed body. 2016-01-20 22:14:10 +00:00
compiler-rt [MSan] Add a test case for r258339. 2016-01-21 17:51:08 +00:00
debuginfo-tests
libclc AMDGPU: Add aliases for all VI targets 2015-12-15 18:37:04 +00:00
libcxx Implement LWG#2101 'Some transformation types can produce impossible types' Introduced a new (internal) type trait '__is_referenceable' with tests. Use that trait in add_lvalue_reference, add_rvalue_reference and add_pointer. 2016-01-21 18:22:43 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind Replace cmake check for printf with a check for fopen. 2015-12-10 00:47:08 +00:00
lld [ELF] - Refactoring of Writer<ELFT>::scanRelocs() 2016-01-21 09:14:22 +00:00
lldb Enable test log collection from remote debug servers 2016-01-21 17:54:14 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [InstCombine] Simplify (x >> y) <= x 2016-01-21 18:55:54 +00:00
openmp lit.cfg: Pass -isysroot to the SDK on Darwin 2016-01-19 19:26:43 +00:00
polly Fix the error in non-asserts Release mode build. NFC 2016-01-20 15:41:30 +00:00