- Oct 26, 2013
-
-
Alp Toker authored
It wasn't passing on UNIX with LIT_USE_INTERNAL_SHELL=1 due to cat globbing. llvm-svn: 193443
-
Rui Ueyama authored
The internal byte array of the SmallString filled by createTemporaryFile() is not guaranteed to be NUL-terminated. We need to call c_str() to handle it safely. llvm-svn: 193442
-
Fariborz Jahanian authored
in my last patch. // rdar://14989999 llvm-svn: 193441
-
- Oct 25, 2013
-
-
Rui Ueyama authored
llvm-svn: 193440
-
Fariborz Jahanian authored
backing warning is not used in one of its accessor methods. // rdar://14989999 llvm-svn: 193439
-
Andrew Trick authored
Partial fix for PR17459: wrong code at -O3 on x86_64-linux-gnu (affecting trunk and 3.3) When SCEV expands a recurrence outside of a loop it attempts to scale by the stride of the recurrence. Chained recurrences don't work that way. We could compute binomial coefficients, but would hve to guarantee that the chained AddRec's are in a perfectly reduced form. llvm-svn: 193438
-
Andrew Trick authored
Partial fix for PR17459: wrong code at -O3 on x86_64-linux-gnu (affecting trunk and 3.3) ScalarEvolutionNormalization was attempting to normalize by adding and subtracting strides. Chained recurrences don't work that way. llvm-svn: 193437
-
Rafael Espindola authored
This patch teaches GlobalStatus to analyze a call that uses the global value as a callee, not as an argument. With this change internalize call handle the common use of linkonce_odr functions. This reduces the number of linkonce_odr functions in a LTO build of clang (checked with the emit-llvm gold plugin option) from 1730 to 60. llvm-svn: 193436
-
Rui Ueyama authored
llvm-svn: 193435
-
Hal Finkel authored
The loop vectorizer does not currently understand how to vectorize extractelement instructions. The existing check, which excluded all vector-valued instructions, did not catch extractelement instructions because it checked only the return value. As a result, vectorization would proceed, producing illegal instructions like this: %58 = extractelement <2 x i32> %15, i32 0 %59 = extractelement i32 %58, i32 0 where the second extractelement is illegal because its first operand is not a vector. llvm-svn: 193434
-
Nico Weber authored
llvm-svn: 193433
-
David Blaikie authored
llvm-svn: 193432
-
Rafael Espindola authored
llvm-svn: 193431
-
Rafael Espindola authored
GCC on fedora 18 ARM only uses 2 -L options. Clang prints two extra ones, but we should not include them in the test as they are not required. llvm-svn: 193430
-
Rafael Espindola authored
llvm-svn: 193429
-
Rafael Espindola authored
clang first so that the build still works. llvm-svn: 193428
-
David Blaikie authored
llvm-svn: 193427
-
Greg Clayton authored
llvm-svn: 193426
-
rdar://problem/15263540Greg Clayton authored
Added a new key that we understand for the "qHostInfo" packet: "default_packet_timeout:T;" where T is a default packet timeout in seconds. This allows GDB servers with known slow packet response times to increase the default timeout to a value that makes sense for the connection. llvm-svn: 193425
-
Rui Ueyama authored
llvm-svn: 193424
-
Rafael Espindola authored
We don't have any checks that depend on the version of fedora, so we can simplify. llvm-svn: 193423
-
Quentin Colombet authored
Patch by Cameron McInally <cameron.mcinally@nyu.edu> llvm-svn: 193422
-
Quentin Colombet authored
Patch by Cameron McInally <cameron.mcinally@nyu.edu> llvm-svn: 193421
-
Daniel Sanders authored
Summary: Currently shared library builds (BUILD_SHARED_LIBS=ON in cmake) fail three bugpoint tests (BugPoint/remove_arguments_test.ll, BugPoint/crash-narrowfunctiontest.ll, and BugPoint/metadata.ll). If I run the bugpoint commands that llvm-lit runs with without -silence-passes I see errors such as this: opt: error while loading shared libraries: libLLVMSystemZInfo.so: failed to map segment from shared object: Cannot allocate memory It seems that the increased size of the binaries in a shared library build is causing the subprocess to exceed the 100MB memory limit. This patch therefore increases the default limit to a level at which these tests pass. Reviewers: dsanders Reviewed By: dsanders CC: llvm-commits, rafael Differential Revision: http://llvm-reviews.chandlerc.com/D2013 llvm-svn: 193420
-
Rafael Espindola authored
llvm-svn: 193419
-
Jordan Rose authored
Specifically, this warns when a character literal is added (using '+') to a variable with type 'char *' (or any other pointer to character type). Like -Wstring-plus-int, there is a fix-it to change "foo + 'a'" to "&foo['a']" iff the character literal is on the right side of the string. Patch by Anders Rönnholm! llvm-svn: 193418
-
Evgeniy Stepanov authored
llvm-svn: 193417
-
Benjamin Kramer authored
Detected by valgrind. llvm-svn: 193416
-
Evgeniy Stepanov authored
llvm-svn: 193415
-
Chris Wailes authored
llvm-svn: 193414
-
Rafael Espindola authored
llvm-svn: 193413
-
Rafael Espindola authored
This fix a memory leak found by valgrind. Calling it from the base class destructor would not destroy the BasicCallGraph bits. FIXME: BasicCallGraph is the only thing that inherits from CallGraph. Can we merge the two? llvm-svn: 193412
-
Evgeniy Stepanov authored
When running application in DynamoRIO hybrid mode only, only uninstrumented modules will run in DynamoRIO and be instrumented by the client, so we do not need module table in MSanDR. Patch by Qin Zhao. llvm-svn: 193411
-
Daniel Jasper authored
Specifically make clang-format less eager to break after the opening parenthesis of a function call. Before: aaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: aaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); Apparently that is preferable. This penalties are adapted conservatively, we might have to increase them a little bit further. llvm-svn: 193410
-
Evgeniy Stepanov authored
The function is deprecated. llvm-svn: 193409
-
Evgeniy Stepanov authored
llvm-svn: 193408
-
Ed Maste authored
llvm-svn: 193407
-
Evgeniy Stepanov authored
llvm-svn: 193406
-
Evgeniy Stepanov authored
llvm-svn: 193405
-
Rafael Espindola authored
llvm-svn: 193404
-