- Oct 23, 2009
-
-
Dan Gohman authored
the scale overflows pointer-sized arithmetic. This fixes PR5281. llvm-svn: 84954
-
Dan Gohman authored
exact backedge taken count, when checking for infinite loops. This allows it to delete loops with multiple exit conditions. llvm-svn: 84952
-
Chris Lattner authored
llvm-svn: 84943
-
Chris Lattner authored
implements something out of Target/README.txt producing: _foo: ## @foo movl 4(%esp), %eax movapd LCPI1_0, %xmm0 movapd %xmm0, (%eax) ret $4 instead of: _foo: ## @foo movl 4(%esp), %eax movapd _b, %xmm0 mulpd LCPI1_0, %xmm0 addpd _a, %xmm0 movapd %xmm0, (%eax) ret $4 llvm-svn: 84942
-
Chris Lattner authored
bytes (i256). llvm-svn: 84941
-
Chris Lattner authored
non-type-safe constant initializers. This sort of thing happens quite a bit for 4-byte loads out of string constants, unions, bitfields, and an interesting endianness check from sqlite, which is something like this: const int sqlite3one = 1; # define SQLITE_BIGENDIAN (*(char *)(&sqlite3one)==0) # define SQLITE_LITTLEENDIAN (*(char *)(&sqlite3one)==1) # define SQLITE_UTF16NATIVE (SQLITE_BIGENDIAN?SQLITE_UTF16BE:SQLITE_UTF16LE) all of these macros now constant fold away. This implements PR3152 and is based on a patch started by Eli, but heavily modified and extended. llvm-svn: 84936
-
Evan Cheng authored
llvm-svn: 84931
-
Dale Johannesen authored
they don't get lost; I don't think the originator has write access. llvm-svn: 84928
-
Victor Hernandez authored
llvm-svn: 84919
-
Bill Wendling authored
does. llvm-svn: 84916
-
David Goodwin authored
Allow the target to select the level of anti-dependence breaking that should be performed by the post-RA scheduler. The default is none. llvm-svn: 84911
-
Ted Kremenek authored
Use 'waitpid' instead of 'wait'. Basing Program::Wait() on 'wait()' prevents it being correct within a multithreaded context. This address: PR 5277 (Program::Wait is unsafe to call from multiple threads). Note: If waitpid() turns out to be non-portable, we can add more autoconf magic, or look into another solution. llvm-svn: 84903
-
- Oct 22, 2009
-
-
Benjamin Kramer authored
llvm-svn: 84898
-
Jeffrey Yasskin authored
llvm-svn: 84895
-
Bill Wendling authored
llvm-svn: 84894
-
Devang Patel authored
llvm-svn: 84886
-
Devang Patel authored
llvm-svn: 84885
-
Devang Patel authored
llvm-svn: 84884
-
Devang Patel authored
llvm-svn: 84878
-
Bob Wilson authored
llvm-svn: 84868
-
Nicolas Geoffray authored
before freeing them. llvm-svn: 84859
-
Benjamin Kramer authored
llvm-svn: 84849
-
Evan Cheng authored
Move if-conversion before post-regalloc scheduling so the predicated instruction get scheduled properly. llvm-svn: 84843
-
Evan Cheng authored
Load / store multiple was missing opportunites when the load / store bundles are at the end of the bb. Test case is already in, the bug is exposed by subsequent commit. llvm-svn: 84842
-
Chris Lattner authored
llvm-svn: 84841
-
Chris Lattner authored
to libanalysis. Instcombine shrinking... does this even make sense??? llvm-svn: 84840
-
Chris Lattner authored
Analysis/ConstantFolding.cpp. This doesn't change the behavior of instcombine but makes other clients of ConstantFoldInstruction able to handle loads. This was partially extracted from Eli's patch in PR3152. llvm-svn: 84836
-
Evan Cheng authored
llvm-svn: 84832
-
Evan Cheng authored
llvm-svn: 84831
-
Chris Lattner authored
llvm-svn: 84826
-
Devang Patel authored
llvm-svn: 84820
-
Evan Cheng authored
llvm-svn: 84813
-
Devang Patel authored
llvm-svn: 84811
-
Chris Lattner authored
llvm-svn: 84810
-
Anton Korobeynikov authored
Yay for ASCII graphics! llvm-svn: 84808
-
Anton Korobeynikov authored
llvm-svn: 84806
-
Devang Patel authored
Pass StringRef by value. llvm-svn: 84804
-
Dan Gohman authored
to break up CFG diamonds by banishing one of the blocks to the end of the function, which is bad for code density and branch size. This does pessimize MultiSource/Benchmarks/Ptrdist/yacr2, the benchmark cited as the reason for the change, however I've examined the code and it looks more like a case of gaming a particular branch than of being generally applicable. llvm-svn: 84803
-
Devang Patel authored
llvm-svn: 84801
-
Chris Lattner authored
patches for fixes like this instead of committing them directly. llvm-svn: 84799
-