- Feb 21, 2011
-
-
Cameron Zwarich authored
of a constant had a minor typo introduced when copying it from the book, which caused it to favor negative approximations over positive approximations in many cases. Positive approximations require fewer operations beyond the multiplication. In the case of division by 3, we still generate code that is a single instruction larger than GCC's code. llvm-svn: 126097
-
Chandler Carruth authored
-Wformat-security on -Wformat, not vice-versa. Fixes PR8486. Patch by Oleg Slezberg. llvm-svn: 126096
-
- Feb 20, 2011
-
-
Oscar Fuentes authored
Requires CMake 2.8.3 or newer. llvm-svn: 126094
-
Oscar Fuentes authored
llvm-svn: 126093
-
Oscar Fuentes authored
Requires CMake 2.8.3 or newer. llvm-svn: 126092
-
Rafael Espindola authored
PR9245. llvm-svn: 126091
-
Oscar Fuentes authored
CMake complained about this while generating VS project files but was okay with it while generating makefiles on Linux. llvm-svn: 126090
-
Rafael Espindola authored
used by the linker and not by nm or ar. llvm-svn: 126089
-
Nick Lewycky authored
test for that. With this change, test/CodeGen/X86/codegen-dce.ll no longer finds any instructions to DCE, so delete the test. Also renamed J and JP to I and IP in RecursivelyDeleteDeadPHINode. llvm-svn: 126088
-
Daniel Dunbar authored
llvm-svn: 126087
-
Rafael Espindola authored
libxul links in 7m0.403s. llvm-svn: 126085
-
Benjamin Kramer authored
llvm-svn: 126084
-
Oscar Fuentes authored
Visual Studio. llvm-svn: 126083
-
Benjamin Kramer authored
llvm-svn: 126082
-
Benjamin Kramer authored
We usually catch this kind of optimization through InstSimplify's distributive magic, but or doesn't distribute over xor in general. "A | ~(A | B) -> A | ~B" hits 24 times on gcc.c. llvm-svn: 126081
-
Nadav Rotem authored
The DAGCombiner folds the zext into complex load instructions. This patch prevents this optimization on vectors since none of the supported targets knows how to perform load+vector_zext in one instruction. llvm-svn: 126080
-
Richard Smith authored
llvm-svn: 126078
-
Nick Lewycky authored
by Andrew Clinton! llvm-svn: 126077
-
Nick Lewycky authored
one Value set. This is faster because we only need to use the set when there isn't already an entry in the map. No functionality change! llvm-svn: 126076
-
Daniel Dunbar authored
llvm-svn: 126073
-
Eric Christopher authored
since one needs to be a register operand. Just use movss instead of forcing an operand into a register. Fixes PR9239 llvm-svn: 126072
-
Stephen Wilson authored
parallel with the rest of the tools directory as it depends on Clang. This patch was first applied in r125956 and subsequently reverted in r125964 as it broke in-tree builds. Makefile.rules was fixed up in r126070 to handle missing optional directories for the in-tree case, so it should be safe now to bring this patch back in. llvm-svn: 126071
-
Stephen Wilson authored
Do not try to descend into optional build directories if they do not exist. This makes the build logic symmetric for both the in tree and out of tree cases. llvm-svn: 126070
-
Richard Smith authored
This fixes PR 8738, 9060 and 9132. llvm-svn: 126069
-
Oscar Fuentes authored
of testing for its presence at cmake time. This way the build automatically regenerates the makefiles when a svn update brings in a new sublibrary. llvm-svn: 126068
-
Greg Clayton authored
N streams by making the stream a vector of stream shared pointers that is protected by a mutex. Streams can be get/set by index which allows indexes to be defined as stream indentifiers. If a stream is set at index 3 and there are now streams in the collection, then empty stream objects are inserted to ensure that stream at index 3 has a valid stream. There is also an append method that allows a stream to be pushed onto the stack. This will allow our streams to be very flexible in where the output goes. Modified the CommandReturnObject to use the new StreamTee functionality. This class now defines two StreamTee indexes: 0 for the stream string stream, and 1 for the immediate stream. This is used both on the output and error streams. Added the ability to get argument types as strings or as descriptions. This is exported through the SBCommandInterpreter API to allow external access. Modified the Driver class to use the newly exported argument names from SBCommandInterpreter::GetArgumentTypeAsCString(). llvm-svn: 126067
-
Ken Dyck authored
intended. llvm-svn: 126066
-
Nick Lewycky authored
llvm-svn: 126065
-
Ken Dyck authored
llvm-svn: 126064
-
Richard Smith authored
llvm-svn: 126063
-
Anders Carlsson authored
llvm-svn: 126062
-
Anders Carlsson authored
Add a new ObjCExceptions member variable to LangOptions. This controls whether Objective-C exceptions are enabled or not (they are by default). llvm-svn: 126061
-
Peter Collingbourne authored
llvm-svn: 126060
-
- Feb 19, 2011
-
-
Chris Lattner authored
a typedef. llvm-svn: 126059
-
Eli Friedman authored
the instruction passed in. Make sure to account for this correctly, instead of looping infinitely. llvm-svn: 126058
-
Douglas Gregor authored
comparison itself is a constant expression. Fixes PR7536. llvm-svn: 126057
-
Chris Lattner authored
designators: allowing codegen when the element initializer is a constant or something else without a side effect. This unblocks enough to let process.c in the linux kernel build, PR9257. llvm-svn: 126056
-
Douglas Gregor authored
attribute, we also care about those with the "constructor" attribute. Fixes PR6521. llvm-svn: 126055
-
Eli Friedman authored
llvm-svn: 126054
-
Anders Carlsson authored
llvm-svn: 126053
-