Go to file
David Majnemer 6c30f49af3 InstCombine: Flip the order of two urem transforms
There are two transforms in visitUrem that conflict with each other.

*) One, if a divisor is a power of two, subtracts one from the divisor
   and turns it into a bitwise-and.
*) The other unwraps both operands if they are surrounded by zext
   instructions.

Flipping the order allows the subtraction to go beneath the sign
extension.

llvm-svn: 181668
2013-05-12 00:07:05 +00:00
clang CodeGen: Refactor SetLLVMFunctionAttributesForDefinition to use an AttrBuilder. 2013-05-11 12:45:37 +00:00
clang-tools-extra cpp11-migrate: Fix crash in AddOverride due to template instantiations 2013-05-10 14:04:58 +00:00
compiler-rt Try to fix Windows build too 2013-05-08 18:15:01 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx İsmail Dönmez: Enable quick_exit on linux. 2013-05-10 17:36:59 +00:00
libcxxabi Add capability to demangle invocation functions for ObjC blocks. 2013-04-10 19:44:03 +00:00
lld [lld] Add help text for -flavor option. 2013-05-11 01:24:38 +00:00
lldb Update ProcessKDP and ProcessMachCore to use ConstString plugin 2013-05-11 03:09:05 +00:00
llvm InstCombine: Flip the order of two urem transforms 2013-05-12 00:07:05 +00:00
polly Sort includes 2013-05-07 08:11:54 +00:00