- Nov 22, 2010
-
-
Benjamin Kramer authored
This currently only catches the most basic case, a two-case switch, but can be extended later. llvm-svn: 119964
-
Duncan Sands authored
is never used. Patch by Cameron Zwarich. llvm-svn: 119963
-
Duncan Sands authored
when assertions are disabled. llvm-svn: 119962
-
Eric Christopher authored
that branch tables are special. llvm-svn: 119954
-
- Nov 21, 2010
-
-
Wesley Peck authored
Implement ELF object file writing support for the MBlaze backend. Its not perfect yet, but it works for many tests. llvm-svn: 119952
-
Wesley Peck authored
llvm-svn: 119951
-
Wesley Peck authored
32-bit immediate values. llvm-svn: 119950
-
Wesley Peck authored
fill a delay slot are moved to fill a different delay slot. llvm-svn: 119949
-
Chris Lattner authored
llvm-svn: 119948
-
Chris Lattner authored
llvm-svn: 119947
-
Benjamin Kramer authored
Initialize MemDep's TD member so buildbots don't trip over an uninitialized pointer (TD is passed to PHITransAddr). I wonder why this didn't explode earlier. llvm-svn: 119944
-
Duncan Sands authored
folding improvements: if P points to a type of size zero, turn "gep P, N" into "P". More generally, if a gep index type has size zero, instcombine could replace the index with zero, but that is not done here. llvm-svn: 119942
-
Duncan Sands authored
llvm-svn: 119941
-
Bill Wendling authored
llvm-svn: 119940
-
Bill Wendling authored
llvm-svn: 119938
-
Bill Wendling authored
the code to not add a "condition code" if it's trap. llvm-svn: 119937
-
Bill Wendling authored
- Add comments saying where the encodings for other instructions came from. llvm-svn: 119936
-
Chris Lattner authored
zero sized elements. This allows us to compile: #include <string> void foo() { std::string s; } into an empty function. llvm-svn: 119933
-
Chris Lattner authored
when transfering between i64 gprs and mmx regs. llvm-svn: 119931
-
Chris Lattner authored
method in MemDep instead of inserting an instruction, doing a query, then removing it. Neither operation is effectively cached. llvm-svn: 119930
-
Chris Lattner authored
destination location of a memcpy/memmove. I'm not clear about whether TBAA works on these, so I'm leaving it out for now. Dan, please revisit this when convenient. llvm-svn: 119928
-
Chris Lattner authored
llvm-svn: 119927
-
Chris Lattner authored
llvm-svn: 119925
-
Owen Anderson authored
llvm-svn: 119923
-
Chris Lattner authored
void a(int x) { if (((1<<x)&8)==0) b(); } into "x != 3", which occurs over 100 times in 403.gcc but in no other program in llvm-test. llvm-svn: 119922
-
Chris Lattner authored
llvm-svn: 119920
-
Jim Grosbach authored
llvm-svn: 119918
-
Rafael Espindola authored
llvm-svn: 119917
-
Chris Lattner authored
allowing the memcpy to be eliminated. Unfortunately, the requirements on byval's without explicit alignment are really weak and impossible to predict in the mid-level optimizer, so this doesn't kick in much with current frontends. The fix is to change clang to set alignment on all byval arguments. llvm-svn: 119916
-
- Nov 20, 2010
-
-
Bill Wendling authored
llvm-svn: 119913
-
Eric Christopher authored
mode variables. Handle frame indexes in load/store and allocas again. llvm-svn: 119912
-
Eric Christopher authored
to match the one from the load emitter above. llvm-svn: 119911
-
Benjamin Kramer authored
llvm-svn: 119908
-
Anton Korobeynikov authored
llvm-svn: 119905
-
Anton Korobeynikov authored
llvm-svn: 119904
-
Benjamin Kramer authored
llvm-svn: 119903
-
Duncan Sands authored
so don't claim they are. They are allocated using DAG.getNode, so attempts to access MemSDNode fields results in reading off the end of the allocated memory. This fixes crashes with "llc -debug" due to debug code trying to print MemSDNode fields for these barrier nodes (since the crashes are not deterministic, use valgrind to see this). Add some nasty checking to try to catch this kind of thing in the future. llvm-svn: 119901
-
Andrew Trick authored
Removing the useless test that I added recently. It was meant as an example, but not complicated enough to merit another test. llvm-svn: 119898
-
Andrew Trick authored
llvm-svn: 119896
-
Andrew Trick authored
llvm-svn: 119895
-