- Feb 12, 2009
-
-
Chris Lattner authored
llvm-svn: 64363
-
Chris Lattner authored
forget about already inserted expressions. llvm-svn: 64362
-
Nick Lewycky authored
llvm-svn: 64352
-
- Feb 11, 2009
-
-
Nate Begeman authored
the two non-mask arguments to a shufflevector must be the same width, but they do not have to be the same width as the result value. llvm-svn: 64335
-
- Feb 10, 2009
-
-
Devang Patel authored
llvm-svn: 64226
-
Devang Patel authored
llvm-svn: 64207
-
- Feb 09, 2009
-
-
Dale Johannesen authored
llvm-svn: 64177
-
- Feb 08, 2009
-
-
Bill Wendling authored
llvm-svn: 64065
-
Bill Wendling authored
llvm-svn: 64062
-
- Feb 07, 2009
-
-
Mon P Wang authored
changes the address space of the pointer. llvm-svn: 64035
-
Mike Stump authored
llvm-svn: 64003
-
- Feb 06, 2009
-
-
Devang Patel authored
llvm-svn: 63923
-
Chris Lattner authored
llvm-svn: 63916
-
Devang Patel authored
Ignore dbg intrinsics while propagating conditional expression info. Take 2. llvm-svn: 63898
-
- Feb 05, 2009
-
-
Devang Patel authored
Revert rev. 63876. It is causing llvm-gcc bootstrap failure. llvm-svn: 63888
-
Devang Patel authored
llvm-svn: 63880
-
Devang Patel authored
llvm-svn: 63876
-
- Feb 03, 2009
-
-
Devang Patel authored
If "optimize for size" attribute is set then block non-trivial loop unswitches but allow trivial loop unswitches. llvm-svn: 63670
-
Chris Lattner authored
llvm-svn: 63659
-
Chris Lattner authored
renaming it to ConvertScalar_ExtractValue llvm-svn: 63658
-
Chris Lattner authored
no functionality change. llvm-svn: 63652
-
Chris Lattner authored
functionality change. llvm-svn: 63651
-
Chris Lattner authored
aggregate values. loads are not yet handled (coming soon to an sroa near you). llvm-svn: 63649
-
Chris Lattner authored
accessed at least once as a vector. This prevents it from compiling the example in not-a-vector into: define double @test(double %A, double %B) { %tmp4 = insertelement <7 x double> undef, double %A, i32 0 %tmp = insertelement <7 x double> %tmp4, double %B, i32 4 %tmp2 = extractelement <7 x double> %tmp, i32 4 ret double %tmp2 } instead, producing the integer code. Producing vectors when they aren't otherwise in the program is dangerous because a lot of other code treats them carefully and doesn't want to break them down. OTOH, many things want to break down tasty i448's. llvm-svn: 63638
-
Evan Cheng authored
llvm-svn: 63631
-
Chris Lattner authored
llvm-svn: 63620
-
Chris Lattner authored
crazy cases like: struct f { int A, B, C, D, E, F; }; short test4() { struct f A; A.A = 1; memset(&A.B, 2, 12); return A.C; } llvm-svn: 63596
-
Chris Lattner authored
With the new world order, it can handle cases where the first store into the alloca is an element of the vector, instead of requiring the first analyzed store to have the vector type itself. This allows us to un-xfail test/CodeGen/X86/vec_ins_extract.ll. llvm-svn: 63590
-
- Feb 02, 2009
-
-
Chris Lattner authored
llvm-svn: 63544
-
Chris Lattner authored
tests. Thanks for the beautiful reduced testcase Duncan! llvm-svn: 63529
-
Duncan Sands authored
and remove trailing whitespace. No functionality change. llvm-svn: 63511
-
Duncan Sands authored
llvm-svn: 63510
-
Chris Lattner authored
llvm-svn: 63500
-
- Jan 31, 2009
-
-
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
-
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
-
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
-