- Dec 26, 2012
-
-
Hal Finkel authored
For the time being this includes only some dummy test cases. Once the generic implementation of the intrinsics cost function does something other than assuming scalarization in all cases, or some target specializes the interface, some real test cases can be added. Also, for consistency, I changed the type of IID from unsigned to Intrinsic::ID in a few other places. llvm-svn: 171079
-
Craig Topper authored
Remove alignment requirement from VCVTSS2SD in folding tables. Reverting r171049. This instruction doesn't require alignment. llvm-svn: 171078
-
Rafael Espindola authored
This fixes pr14691, which I think is a regression from r168519. llvm-svn: 171077
-
Hal Finkel authored
llvm-svn: 171076
-
- Dec 25, 2012
-
-
Hal Finkel authored
llvm-svn: 171075
-
Richard Smith authored
due to FORCE_CLANG_DIAGNOSTICS_CRASH=1. Also add a test for that env var. llvm-svn: 171074
-
Hal Finkel authored
As with the prefetch intrinsic to which it maps, simply have dcbt marked as reading from and writing to its arguments instead of having unmodeled side effects. While this might cause unwanted code motion (because aliasing checks don't really capture cache-line sharing), it is more important that prefetches in unrolled loops don't block the scheduler from rearranging the unrolled loop body. llvm-svn: 171073
-
Hal Finkel authored
Use of store or load with the atomic specifier on 64-bit types would cause instruction-selection failures. As with the 32-bit case, these can use the default expansion in terms of cmp-and-swap. llvm-svn: 171072
-
Evgeniy Stepanov authored
llvm-svn: 171071
-
Evgeniy Stepanov authored
VectorType::getInteger() can not be used with them, because pointer size depends on the target. llvm-svn: 171070
-
Evgeniy Stepanov authored
llvm-svn: 171069
-
Erik Verbruggen authored
Changed getLocStart() and getLocEnd() to be required for Stmts, and make getSourceRange() optional. The default implementation for getSourceRange() is build the range by calling getLocStart() and getLocEnd(). llvm-svn: 171067
-
Benjamin Kramer authored
This only failed on hosts that don't have SSE41. llvm-svn: 171066
-
Evgeniy Stepanov authored
llvm-svn: 171065
-
Benjamin Kramer authored
llvm-svn: 171064
-
Benjamin Kramer authored
pcmpeqd, pshufd, pshufd, pand is cheaper than unpack + cmpq, sbbq, cmpq, sbbq + pack. Small speedup on loop-vectorized viterbi (-march=core2). llvm-svn: 171063
-
Evgeniy Stepanov authored
llvm-svn: 171062
-
Alexey Samsonov authored
llvm-svn: 171061
-
Alexey Samsonov authored
llvm-svn: 171060
-
Evgeniy Stepanov authored
llvm-svn: 171059
-
Kostya Serebryany authored
[asan] add a test for right OOB with special large sizes. Fix this test in asan_allocator2. More test tweaking for allocator2 llvm-svn: 171058
-
Dmitry Vyukov authored
llvm-svn: 171057
-
Guy Benyei authored
Add intel_ocl_bicc calling convention as a function attribute to clang. The calling convention is already implemented in LLVM. llvm-svn: 171056
-
Kostya Serebryany authored
[sanitizer] increase the maximum size class of the fast allocator. This should save quite a bit of memory in tsan/msan (and later in asan). This also puts more stress on the large allocator. Add a couple of checks llvm-svn: 171055
-
Dmitry Vyukov authored
(the old code won't work with new allocator) llvm-svn: 171054
-
Rafael Espindola authored
the body of a functions. The problem was that hasBody looks at the entire chain and causes problems to -fvisibility-inlines-hidden if the cache was not invalidated. Original message: Cache visibility of decls. This unifies the linkage and visibility caching. I first implemented this when working on pr13844, but the previous fixes removed the performance advantage of this one. This is still a step in the right direction for making linkage and visibility cheap to use. llvm-svn: 171053
-
Kostya Serebryany authored
[asan] properly define ASAN_LOW_MEMORY. Due to a mistake it has been always true causing redzone and quarantine sizes to be smaller than it was some time before (and out of sync with the documentation). Also make one test less greedy llvm-svn: 171052
-
Nick Lewycky authored
llvm-svn: 171051
-
NAKAMURA Takumi authored
It broke stage2. llvm-svn: 171050
-
Nadav Rotem authored
llvm-svn: 171049
-
Rafael Espindola authored
This unifies the linkage and visibility caching. I first implemented this when working on pr13844, but the previous fixes removed the performance advantage of this one. This is still a step in the right direction for making linkage and visibility cheap to use. llvm-svn: 171048
-
Bob Wilson authored
These are now generally used for all diagnostics from the backend, not just for inline assembly, so this drops the "InlineAsm" from the names. No functional change. (I've left aliases for the old names but only for long enough to let me switch over clang to use the new ones.) llvm-svn: 171047
-
- Dec 24, 2012
-
-
NAKAMURA Takumi authored
"check-all" can be executed with 0 status, "check-all does nothing, no tools built." LLVM_EXTERNAL_CLANG_BUILD=OFF LLVM_BUILD_TOOLS=OFF can reproduce this. Oscar Fuentes reported this. Thank you. llvm-svn: 171046
-
Nick Lewycky authored
llvm-svn: 171045
-
Nick Lewycky authored
llvm-svn: 171044
-
Nick Lewycky authored
llvm-svn: 171043
-
Benjamin Kramer authored
This affords us to use std::string's allocation routines and use the destructor for the memory management. Switching to that also means that we can use operator==(const std::string&, const char *) to perform the string comparison rather than resorting to libc functionality (i.e. strcmp). Patch by Saleem Abdulrasool! Differential Revision: http://llvm-reviews.chandlerc.com/D230 llvm-svn: 171042
-
rdar://problem/12867368Bob Wilson authored
When the backend is used from clang, it should produce proper diagnostics instead of just printing messages to errs(). Other clients may also want to register their own error handlers with the LLVMContext, and the same handler should work for warnings in the same way as the existing emitError methods. llvm-svn: 171041
-
Dmitri Gribenko authored
Now we really pass -Wcovered-switch-default if the compiler supports it. llvm-svn: 171040
-
Daniel Jasper authored
Apply all formatting changes that clang-format would apply to its own source code. All choices seem to improve readability (or at least not make it worse). No functional changes. llvm-svn: 171039
-