- Feb 02, 2009
-
-
Dale Johannesen authored
among others. llvm-svn: 63555
-
Torok Edwin authored
Add an assert to check HasX86_64 status. llvm-svn: 63552
-
Dale Johannesen authored
llvm-svn: 63545
-
Chris Lattner authored
llvm-svn: 63544
-
Dale Johannesen authored
llvm-svn: 63543
-
Torok Edwin authored
llvm-svn: 63542
-
Duncan Sands authored
llvm-svn: 63540
-
Dale Johannesen authored
llvm-svn: 63537
-
Evan Cheng authored
llvm-svn: 63536
-
Chris Lattner authored
tests. Thanks for the beautiful reduced testcase Duncan! llvm-svn: 63529
-
Devang Patel authored
llvm-svn: 63527
-
Sanjiv Gupta authored
llvm-svn: 63523
-
Sanjiv Gupta authored
Made the common case of default address space directive as non-virtual for performance reasons. Provide a single virtual interface for directives of all sizes in non-default address spaces. llvm-svn: 63521
-
Duncan Sands authored
and remove trailing whitespace. No functionality change. llvm-svn: 63511
-
Duncan Sands authored
llvm-svn: 63510
-
Evan Cheng authored
llvm-svn: 63509
-
Evan Cheng authored
llvm-svn: 63506
-
Evan Cheng authored
Teach LowerBRCOND to recognize (xor (setcc x), 1). The xor inverts the condition. It's normally transformed by the dag combiner, unless the condition is set by a arithmetic op with overflow. llvm-svn: 63505
-
Chris Lattner authored
llvm-svn: 63504
-
Chris Lattner authored
llvm-svn: 63501
-
Chris Lattner authored
llvm-svn: 63500
-
Mon P Wang authored
llvm-svn: 63498
-
- Feb 01, 2009
-
-
Torok Edwin authored
var-args, and don't allow FP return values llvm-svn: 63495
-
Duncan Sands authored
crashes or wrong code with codegen of large integers: eliminate the legacy getIntegerVTBitMask and getIntegerVTSignBit methods, which returned their value as a uint64_t, so couldn't handle huge types. llvm-svn: 63494
-
Bill Wendling authored
llvm-svn: 63493
-
Owen Anderson authored
llvm-svn: 63492
-
Owen Anderson authored
Fix an issue in PHI construction that was exposed by GCC 4.2 producing a different set iteration order for the reg_iterator. llvm-svn: 63490
-
Evan Cheng authored
llvm-svn: 63489
-
- Jan 31, 2009
-
-
Dale Johannesen authored
llvm-svn: 63488
-
Nick Lewycky authored
turn icmp eq a+x, b+x into icmp eq a, b if a+x or b+x has other uses. This may have been increasing register pressure leading to the bzip2 slowdown. llvm-svn: 63487
-
Dale Johannesen authored
llvm-svn: 63486
-
Dale Johannesen authored
llvm-svn: 63485
-
Chris Lattner authored
improvements to the EvaluateInDifferentType code. This code works by just inserted a bunch of new code and then seeing if it is useful. Instcombine is not allowed to do this: it can only insert new code if it is useful, and only when it is converging to a more canonical fixed point. Now that we iterate when DCE makes progress, this causes an infinite loop when the code ends up not being used. llvm-svn: 63483
-
Duncan Sands authored
returned by getShiftAmountTy may be too small to hold shift values (it is an i8 on x86-32). Before and during type legalization, use a large but legal type for shift amounts: getPointerTy; afterwards use getShiftAmountTy, fixing up any shift amounts with a big type during operation legalization. Thanks to Dan for writing the original patch (which I shamelessly pillaged). llvm-svn: 63482
-
Chris Lattner authored
simplifydemandedbits to simplify instructions with *multiple uses* in contexts where it can get away with it. This allows it to simplify the code in multi-use-or.ll into a single 'add double'. This change is particularly interesting because it will cover up for some common codegen bugs with large integers created due to the recent SROA patch. When working on fixing those bugs, this should be disabled. llvm-svn: 63481
-
Chris Lattner authored
llvm-svn: 63480
-
Chris Lattner authored
Now, if it detects that "V" is the same as some other value, SimplifyDemandedBits returns the new value instead of RAUW'ing it immediately. This has two benefits: 1) simpler code in the recursive SimplifyDemandedBits routine. 2) it allows future fun stuff in instcombine where an operation has multiple uses and can be simplified in one context, but not all. #2 isn't implemented yet, this patch should have no functionality change. llvm-svn: 63479
-
Chris Lattner authored
llvm-svn: 63477
-
Chris Lattner authored
not doing so prevents it from properly iterating and prevents it from deleting the entire body of dce-iterate.ll llvm-svn: 63476
-
Mon P Wang authored
when A==B, -0.0 != +0.0. llvm-svn: 63474
-