- May 17, 2011
-
-
Devang Patel authored
llvm-svn: 131480
-
Devang Patel authored
llvm-svn: 131427
-
- May 16, 2011
-
-
Devang Patel authored
Radar 9422775. llvm-svn: 131422
-
Rafael Espindola authored
corrupted when setjmp returns again. llvm-svn: 131399
-
- May 14, 2011
-
-
Benjamin Kramer authored
llvm-svn: 131345
-
Stuart Hastings authored
rdar://problem/9267970 Patch by Julien Lerouge! llvm-svn: 131339
-
- May 13, 2011
-
-
Julien Lerouge authored
set. rdar://9423996 llvm-svn: 131283
-
Andrew Trick authored
the users. llvm-svn: 131277
-
- May 12, 2011
-
-
Andrew Trick authored
Interleave IV simplifications. Currently involves EliminateComparison and EliminateRemainder. Next I'll add EliminateExtend. llvm-svn: 131210
-
- May 10, 2011
-
-
Devang Patel authored
llvm-svn: 131112
-
- May 06, 2011
-
-
Duncan Sands authored
return the pointer being dereferenced, it returns the pointee, but a call might return the pointer itself. llvm-svn: 130979
-
Nick Lewycky authored
llvm-svn: 130967
-
- May 05, 2011
-
-
Eli Friedman authored
PR9838: Fix transform introduced in r127064 to not trigger when only one side of the icmp is an exact shift. llvm-svn: 130954
-
Nick Lewycky authored
crash. llvm-svn: 130911
-
Nick Lewycky authored
llvm-svn: 130903
-
Nick Lewycky authored
filename. llvm-svn: 130897
-
Devang Patel authored
llvm-svn: 130895
-
Devang Patel authored
llvm-svn: 130894
-
Devang Patel authored
llvm-svn: 130880
-
- May 04, 2011
-
-
Devang Patel authored
llvm-svn: 130876
-
Devang Patel authored
llvm-svn: 130869
-
Nick Lewycky authored
frontend, if applicable. llvm-svn: 130835
-
Andrew Trick authored
This adds functionality to remove size/zero extension during indvars without generating a canonical IV and rewriting all IV users. It's disabled by default so should have no effect on codegen. Work in progress. llvm-svn: 130829
-
Andrew Trick authored
Only create a canonical IV for backedge taken count if it will actually be used by LinearFunctionTestReplace. And some related cleanup, preparing to reduce dependence on canonical IVs. No significant effect on x86 or arm in the test-suite. llvm-svn: 130799
-
- May 03, 2011
-
-
Benjamin Kramer authored
llvm-svn: 130755
-
Dan Gohman authored
model constants which can be added to base registers via add-immediate instructions which don't require an additional register to materialize the immediate. llvm-svn: 130743
-
- May 02, 2011
-
-
Devang Patel authored
Scanning entire basic block may be too expensive in terms of compile time. Instead, just use whatever location info first non-phi instruction has. llvm-svn: 130729
-
Duncan Sands authored
llvm-svn: 130705
-
Duncan Sands authored
This automagically provides a transform noticed by my super-optimizer as occurring quite often: "rem x, (select cond, x, 1)" -> 0. llvm-svn: 130694
-
- May 01, 2011
-
-
Chris Lattner authored
problem reported on cfe-dev. llvm-svn: 130661
-
- Apr 30, 2011
-
-
Benjamin Kramer authored
This obviously helps a lot if the division would be turned into a libcall (think i64 udiv on i386), but div is also one of the few remaining instructions on modern CPUs that become more expensive when the bitwidth gets bigger. This also helps register pressure on i386 when dividing chars, divb needs two 8-bit parts of a 16 bit register as input where divl uses two registers. int foo(unsigned char a) { return a/10; } int bar(unsigned char a, unsigned char b) { return a/b; } compiles into (x86_64) _foo: imull $205, %edi, %eax shrl $11, %eax ret _bar: movzbl %dil, %eax divb %sil, %al movzbl %al, %eax ret llvm-svn: 130615
-
Benjamin Kramer authored
This folds away silly stuff like (a&255)/1000 -> 0. llvm-svn: 130614
-
Devang Patel authored
llvm-svn: 130551
-
- Apr 29, 2011
-
-
Devang Patel authored
llvm-svn: 130536
-
Peter Collingbourne authored
llvm-svn: 130528
-
Peter Collingbourne authored
llvm-svn: 130527
-
Peter Collingbourne authored
llvm-svn: 130526
-
Benjamin Kramer authored
llvm-svn: 130489
-
Benjamin Kramer authored
Fixes PR9809. llvm-svn: 130485
-
Devang Patel authored
llvm-svn: 130450
-