- Apr 25, 2014
-
-
Kostya Serebryany authored
llvm-svn: 207223
-
Jiangning Liu authored
llvm-svn: 207222
-
Tim Northover authored
Also an unused variable, so double bonus! This should deal with PR19548. llvm-svn: 207221
-
Alexander Potapenko authored
llvm-svn: 207220
-
Bradley Smith authored
llvm-svn: 207219
-
Dmitry Vyukov authored
Fixes issue https://code.google.com/p/thread-sanitizer/issues/detail?id=45 llvm-svn: 207218
-
Chandler Carruth authored
SCCMap to test for nodes that have been re-added to the root SCC rather than a set vector. We already have done the SCCMap lookup, we juts need to test it in two different ways. In turn, do most of the processing of these nodes as they go into the root SCC rather than lazily. This simplifies the final loop to just stitch the root SCC into its children's parent sets. No functionlatiy changed. However, this makes a few things painfully obvious, which was my intent. =] There is tons of repeated code introduced here and elsewhere. I'm splitting the refactoring of that code into helpers from this change so its clear that this is the change which switches the datastructures used around, and the other is a pure factoring & deduplication of code change. llvm-svn: 207217
-
Dmitri Gribenko authored
It looks like on 18th April clang added dependency from clangCodeGen.a to LLVMProfileData.a and since then lldb have problem with linking to clangCodeGen.a due to missing symbols. This adds LLVMProfileData.a to USEDLIBS to fix that problem. Patch by Robert Matusewicz. llvm-svn: 207216
-
Kevin Qin authored
This patch is a supplement of implementing predicate of FP, enabling aarch64 backend no-fp tests on arm64 target for verification. During this, one bug is exposed and fixed by this patch. llvm-svn: 207215
-
Kevin Qin authored
According to the specification, CRC is an optional extension of the architecture. llvm-svn: 207214
-
Chandler Carruth authored
remove the nodes in the SCC from the SCC map entirely prior to the DFS walk. This allows the SCC map to represent both the state of not-yet-re-added-to-an-SCC and added-back-to-this-SCC independently. The first is being missing from the SCC map, the second is mapping back to 'this'. In a subsequent commit, I'm going to use this property to simplify the new node list for this SCC. In theory, I think this also makes the contract for orphaning a node from the graph slightly less confusing. Now it is also orphaned from the SCC graph. Still, this isn't quite right either, and so I'm not adding test cases here. I'll add test cases for the behavior of orphaning nodes when the code *actually* supports it. The change here is mostly incidental, my goal is simplifying the algorithm. llvm-svn: 207213
-
Chandler Carruth authored
child from the worklist, wait until we actually need to pop another element off of the worklist and skip over any that were already visited by the DFS. This also enables swapping the nodes of the SCC into the worklist. No functionality changed. llvm-svn: 207212
-
Dmitry Vyukov authored
llvm-svn: 207211
-
Kostya Serebryany authored
[asan] implement an experimental detector of ODR violations. Not tested yet outside of a tiny test, may need tuning. llvm-svn: 207210
-
Dmitry Vyukov authored
llvm-svn: 207209
-
Dmitry Vyukov authored
llvm-svn: 207208
-
Dmitry Vyukov authored
failure: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-centos-6.5/builds/3747/steps/test/logs/stdio llvm-svn: 207207
-
Dmitry Vyukov authored
+ fixes crashes due to races on symbolizer, see https://code.google.com/p/thread-sanitizer/issues/detail?id=55 llvm-svn: 207206
-
Dmitry Vyukov authored
llvm-svn: 207205
-
Dmitry Vyukov authored
+ fixes crashes due to races on symbolizer, see: https://code.google.com/p/thread-sanitizer/issues/detail?id=55 llvm-svn: 207204
-
Justin Bogner authored
We don't assign counters for implicit Decls, but we were emitting code to increment the (non-existent) counters and adding empty counter lists in the output. This fixes the checks in assignRegionCounters and emitInstrumentationData to do the right thing, and adds an assert for the pathological case of emitting zero counters. llvm-svn: 207203
-
Chandler Carruth authored
thing, just mucking up the code. I feel bad that I even wrote this loop. Very sorry. The diff is huge because of the indent change, but I promise all this is doing is realizing that the outer two loops were actually the exact same loops, and we didn't need two of them. llvm-svn: 207202
-
Chandler Carruth authored
factored into a more reasonable form, replace the tail call with a simple outer-loop continuation. It's sad that C++ makes this so awkward to write, but it seems more direct and clear than the tail call at this point. llvm-svn: 207201
-
Saleem Abdulrasool authored
Change the object streamer selection to a switch from a series of if conditions. Rather than defaulting to ELF, require that an ELF format is requested. The Windows/!ELF is maintained as MachO would have been selected first and will still provide a MachO format. Add an assertion that if COFF is requested that the target platform is Windows as only WinCOFF object emission is currently supported. llvm-svn: 207200
-
Anders Waldenborg authored
The returnvalue was handled as c_char_p which ment that ctypes handled it as a NUL-terminated string making it cut the contents at first NUL (or even worse - overrunning the buffer if it doesn't contain a NUL). Differential Revision: http://reviews.llvm.org/D3474 llvm-svn: 207199
-
David Blaikie authored
Code review feedback from Paul Robinson on r207022 llvm-svn: 207198
-
Craig Topper authored
llvm-svn: 207197
-
Craig Topper authored
llvm-svn: 207196
-
Duncan P. N. Exon Smith authored
Remove the concepts of "forward" and "general" mass distributions, which was wrong. The split might have made sense in an early version of the algorithm, but it's definitely wrong now. <rdar://problem/14292693> llvm-svn: 207195
-
Duncan P. N. Exon Smith authored
<rdar://problem/14292693> llvm-svn: 207194
-
Duncan P. N. Exon Smith authored
The branch weights were even before. Make them different. <rdar://problem/14292693> llvm-svn: 207193
-
Duncan P. N. Exon Smith authored
Strip irreducible testcases to pure control flow. The function calls made the branch weights more believable but cluttered it up a lot. There isn't going to be any constant analysis here, so just use dumb branch logic to clarify the important parts. <rdar://problem/14292693> llvm-svn: 207192
-
Duncan P. N. Exon Smith authored
<rdar://problem/14292693> llvm-svn: 207191
-
Duncan P. N. Exon Smith authored
<rdar://problem/14292693> llvm-svn: 207190
-
Duncan P. N. Exon Smith authored
Rather than scaling loop headers and then scaling all the loop members by the header frequency, scale `LoopData::Scale` itself, and scale the loop members by it. It's much more obvious what's going on this way, and doesn't cost any extra multiplies. <rdar://problem/14292693> llvm-svn: 207189
-
Duncan P. N. Exon Smith authored
<rdar://problem/14292693> llvm-svn: 207188
-
Duncan P. N. Exon Smith authored
<rdar://problem/14292693> llvm-svn: 207187
-
Duncan P. N. Exon Smith authored
When unwrapping loops, just visit the loops rather than all nodes. <rdar://problem/14292693> llvm-svn: 207186
-
Duncan P. N. Exon Smith authored
<rdar://problem/14292693> llvm-svn: 207185
-
Duncan P. N. Exon Smith authored
<rdar://problem/14292693> llvm-svn: 207184
-