- Dec 26, 2010
-
-
Chris Lattner authored
llvm-svn: 122559
-
- Dec 23, 2010
-
-
Benjamin Kramer authored
llvm-svn: 122495
-
Benjamin Kramer authored
int test(unsigned long a, unsigned long b) { return -(a < b); } compiles to _test: ## @test cmpq %rsi, %rdi ## encoding: [0x48,0x39,0xf7] sbbl %eax, %eax ## encoding: [0x19,0xc0] ret ## encoding: [0xc3] instead of _test: ## @test xorl %ecx, %ecx ## encoding: [0x31,0xc9] cmpq %rsi, %rdi ## encoding: [0x48,0x39,0xf7] movl $-1, %eax ## encoding: [0xb8,0xff,0xff,0xff,0xff] cmovael %ecx, %eax ## encoding: [0x0f,0x43,0xc1] ret ## encoding: [0xc3] llvm-svn: 122451
-
- Dec 11, 2010
-
-
Benjamin Kramer authored
to catch cases where n != m with a shift. llvm-svn: 121608
-
- Dec 01, 2010
-
-
Evan Cheng authored
legalization time. Since at legalization time there is no mapping from SDNode back to the corresponding LLVM instruction and the return SDNode is target specific, this requires a target hook to check for eligibility. Only x86 and ARM support this form of sibcall optimization right now. rdar://8707777 llvm-svn: 120501
-
- Nov 21, 2010
-
-
Chris Lattner authored
llvm-svn: 119947
-
- Sep 02, 2010
-
-
Dan Gohman authored
there are clearly no stores between the load and the store. This fixes this miscompile reported as PR7833. This breaks the test/CodeGen/X86/narrow_op-2.ll optimization, which is safe, but awkward to prove safe. Move it to X86's README.txt. llvm-svn: 112861
-
- Aug 29, 2010
-
-
Eli Friedman authored
llvm-svn: 112411
-
- Jul 22, 2010
-
-
Eric Christopher authored
for lowering without sse2. Add a couple of new testcases. Fixes a few libgomp tests and latent bugs. Remove a few todos. llvm-svn: 109078
-
- Jun 03, 2010
-
-
Eli Friedman authored
llvm-svn: 105375
-
- Mar 01, 2010
-
-
Dan Gohman authored
llvm-svn: 97450
-
- Feb 10, 2010
-
-
Eli Friedman authored
code with lots of bitfields. llvm-svn: 95809
-
- Jan 14, 2010
-
-
Chris Lattner authored
llvm-svn: 93373
-
Chris Lattner authored
llvm-svn: 93372
-
- Jan 04, 2010
-
-
Dan Gohman authored
llvm-svn: 92511
-
- Dec 21, 2009
-
-
Eli Friedman authored
llvm-svn: 91823
-
- Oct 27, 2009
-
-
Bill Wendling authored
llvm-svn: 85334
-
Bill Wendling authored
llvm-svn: 85332
-
Bill Wendling authored
llvm-svn: 85331
-
Bill Wendling authored
llvm-svn: 85329
-
- Jul 30, 2009
-
-
Evan Cheng authored
llvm-svn: 77584
-
- Jun 30, 2009
-
-
Chris Lattner authored
llvm-svn: 74509
-
Chris Lattner authored
llvm-svn: 74508
-
- Jun 16, 2009
-
-
Chris Lattner authored
llvm-svn: 73472
-
Chris Lattner authored
llvm-svn: 73471
-
- Jun 12, 2009
-
-
Eli Friedman authored
add a few suggestions from looking at some assembly code. llvm-svn: 73210
-
- May 25, 2009
-
-
Chris Lattner authored
even on Core2, not just AMD processors which was a surprise to me. llvm-svn: 72396
-
Chris Lattner authored
llvm-svn: 72387
-
- Mar 12, 2009
-
-
Chris Lattner authored
related transformations out of target-specific dag combine into the ARM backend. These were added by Evan in r37685 with no testcases and only seems to help ARM (e.g. test/CodeGen/ARM/select_xform.ll). Add some simple X86-specific (for now) DAG combines that turn things like cond ? 8 : 0 -> (zext(cond) << 3). This happens frequently with the recently added cp constant select optimization, but is a very general xform. For example, we now compile the second example in const-select.ll to: _test: movsd LCPI2_0, %xmm0 ucomisd 8(%esp), %xmm0 seta %al movzbl %al, %eax movl 4(%esp), %ecx movsbl (%ecx,%eax,4), %eax ret instead of: _test: movl 4(%esp), %eax leal 4(%eax), %ecx movsd LCPI2_0, %xmm0 ucomisd 8(%esp), %xmm0 cmovbe %eax, %ecx movsbl (%ecx), %eax ret This passes multisource and dejagnu. llvm-svn: 66779
-
- Mar 10, 2009
-
-
Dan Gohman authored
llvm-svn: 66515
-
Dan Gohman authored
llvm-svn: 66508
-
- Mar 08, 2009
-
-
Chris Lattner authored
llvm-svn: 66360
-
Chris Lattner authored
llvm-svn: 66359
-
- Feb 17, 2009
-
-
Chris Lattner authored
llvm-svn: 64719
-
- Feb 16, 2009
-
-
Dan Gohman authored
llvm-svn: 64620
-
- Feb 08, 2009
-
-
Chris Lattner authored
llvm-svn: 64093
-
- Dec 06, 2008
-
-
Chris Lattner authored
llvm-svn: 60632
-
- Nov 30, 2008
-
-
Eli Friedman authored
llvm-svn: 60286
-
- Nov 11, 2008
-
-
Evan Cheng authored
llvm-svn: 59052
-
- Oct 24, 2008
-
-
Torok Edwin authored
llvm-svn: 58104
-