- Jan 01, 2011
-
-
Rafael Espindola authored
llvm-svn: 122667
-
Anton Korobeynikov authored
llvm-svn: 122666
-
Chris Lattner authored
new testcase. llvm-svn: 122662
-
Duncan Sands authored
is the wrong hammer for this nail, and is probably right. llvm-svn: 122661
-
Chris Lattner authored
aggressively. In practice, this doesn't help anything though, see the todo. llvm-svn: 122660
-
Chris Lattner authored
should be correct now. llvm-svn: 122659
-
Rafael Espindola authored
llvm-svn: 122658
-
Duncan Sands authored
numbering, in which it considers (for example) "%a = add i32 %x, %y" and "%b = add i32 %x, %y" to be equal because the operands are equal and the result of the instructions only depends on the values of the operands. This has almost no effect (it removes 4 instructions from gcc-as-one-file), and perhaps slows down compilation: I measured a 0.4% slowdown on the large gcc-as-one-file testcase, but it wasn't statistically significant. llvm-svn: 122654
-
Che-Liang Chiou authored
llvm-svn: 122653
-
Che-Liang Chiou authored
llvm-svn: 122652
-
- Dec 30, 2010
-
-
Nick Lewycky authored
Fixes PR8861. llvm-svn: 122641
-
Che-Liang Chiou authored
llvm-svn: 122638
-
- Dec 29, 2010
-
-
Daniel Dunbar authored
llvm-svn: 122630
-
Rafael Espindola authored
llvm-svn: 122624
-
NAKAMURA Takumi authored
llvm-svn: 122620
-
NAKAMURA Takumi authored
llvm-svn: 122619
-
NAKAMURA Takumi authored
llvm-svn: 122618
-
Rafael Espindola authored
llvm-svn: 122615
-
Rafael Espindola authored
like 6 is a fixed point of that and so the previous tests were OK :-) llvm-svn: 122614
-
Rafael Espindola authored
llvm-svn: 122612
-
Rafael Espindola authored
llvm-svn: 122611
-
Rafael Espindola authored
llvm-svn: 122609
-
- Dec 28, 2010
-
-
Rafael Espindola authored
llvm-svn: 122602
-
Rafael Espindola authored
llvm-svn: 122591
-
Rafael Espindola authored
llvm-svn: 122590
-
- Dec 27, 2010
-
-
Rafael Espindola authored
llvm-svn: 122584
-
Daniel Dunbar authored
llvm-svn: 122583
-
Rafael Espindola authored
llvm-svn: 122579
-
Rafael Espindola authored
supports. llvm-svn: 122577
-
Chris Lattner authored
memsets. This is still missing one important validity check, but this is enough to compile stuff like this: void test0(std::vector<char> &X) { for (std::vector<char>::iterator I = X.begin(), E = X.end(); I != E; ++I) *I = 0; } void test1(std::vector<int> &X) { for (long i = 0, e = X.size(); i != e; ++i) X[i] = 0x01010101; } With: $ clang t.cpp -S -o - -O2 -emit-llvm | opt -loop-idiom | opt -O3 | llc to: __Z5test0RSt6vectorIcSaIcEE: ## @_Z5test0RSt6vectorIcSaIcEE ## BB#0: ## %entry subq $8, %rsp movq (%rdi), %rax movq 8(%rdi), %rsi cmpq %rsi, %rax je LBB0_2 ## BB#1: ## %bb.nph subq %rax, %rsi movq %rax, %rdi callq ___bzero LBB0_2: ## %for.end addq $8, %rsp ret ... __Z5test1RSt6vectorIiSaIiEE: ## @_Z5test1RSt6vectorIiSaIiEE ## BB#0: ## %entry subq $8, %rsp movq (%rdi), %rax movq 8(%rdi), %rdx subq %rax, %rdx cmpq $4, %rdx jb LBB1_2 ## BB#1: ## %for.body.preheader andq $-4, %rdx movl $1, %esi movq %rax, %rdi callq _memset LBB1_2: ## %for.end addq $8, %rsp ret llvm-svn: 122573
-
- Dec 26, 2010
-
-
Chris Lattner authored
llvm-svn: 122572
-
Rafael Espindola authored
llvm-svn: 122568
-
Rafael Espindola authored
llvm-svn: 122566
-
- Dec 25, 2010
-
-
Chris Lattner authored
rejected by the mc assembler. llvm-svn: 122557
-
- Dec 24, 2010
-
-
Benjamin Kramer authored
This allows us to compile "int cst[] = {-1, -1, -1};" into movl $-1, 16(%rsp) movq $-1, 8(%rsp) instead of movl _cst+8(%rip), %eax movl %eax, 16(%rsp) movq _cst(%rip), %rax movq %rax, 8(%rsp) llvm-svn: 122548
-
Daniel Dunbar authored
llvm-svn: 122547
-
Kevin Enderby authored
preprocessed .s files and matches darwin gas. rdar://8798690 Also fix a comment on the next line of AsmParser.cpp after this new code. llvm-svn: 122531
-
Owen Anderson authored
are not the low bits of x, but the bits that WILL be the low bits after the operation completes. llvm-svn: 122529
-
- Dec 23, 2010
-
-
Bob Wilson authored
If the basic block containing the BCCi64 (or BCCZi64) instruction ends with an unconditional branch, that branch needs to be deleted before appending the expansion of the BCCi64 to the end of the block. llvm-svn: 122521
-
Torok Edwin authored
llvm-svn: 122517
-