- Sep 15, 2016
-
-
Tamas Berghammer authored
llvm-svn: 281594
-
Filipe Cabecinhas authored
Summary: Continue work on PR30351 Reviewers: vitalybuka, kcc, eugenis Subscribers: kubabrecka, llvm-commits Differential Revision: https://reviews.llvm.org/D24554 llvm-svn: 281593
-
Filipe Cabecinhas authored
Summary: Continue work on PR30351 Reviewers: vitalybuka, kcc, eugenis Subscribers: kubabrecka, llvm-commits Differential Revision: https://reviews.llvm.org/D24552 llvm-svn: 281592
-
Filipe Cabecinhas authored
Summary: Continue work on PR30351 Reviewers: vitalybuka, kcc, eugenis Subscribers: llvm-commits, kubabrecka Differential Revision: https://reviews.llvm.org/D24551 llvm-svn: 281591
-
Vedant Kumar authored
llvm-svn: 281590
-
Vedant Kumar authored
Copying in the full text of the function doesn't help at all when we already know that it's never executed. Just say that it's unexecuted -- the relevant source text has already been printed. llvm-svn: 281589
-
Vedant Kumar authored
Doing so is pointless, since the whole view is usually visible in a small amount of space. llvm-svn: 281588
-
Wei Mi authored
The change in rL281586 is in llvm component and tests updated here are in clang component, so I have to commit them consecutively. llvm-svn: 281587
-
Wei Mi authored
The patch is to partially fix PR10584. Correlated Value Propagation queries LVI to check non-null for pointer params of each callsite. If we know the def of param is an alloca instruction, we know it is non-null and can return early from LVI. Similarly, CVP queries LVI to check whether pointer for each mem access is constant. If the def of the pointer is an alloca instruction, we know it is not a constant pointer. These shortcuts can reduce the cost of CVP significantly. Differential Revision: https://reviews.llvm.org/D18066 llvm-svn: 281586
-
Jonas Hahnfeld authored
Copy variable LLVM_BUILD_MAIN_SRC_DIR from LLVMConfig.cmake to LLVM_MAIN_SRC_DIR as it is named for in-tree builds. This ensures that add_lit_target() can reliably find llvm-lit which is not necessarily in the PATH. Differential Revision: https://reviews.llvm.org/D24503 llvm-svn: 281585
-
Kostya Serebryany authored
llvm-svn: 281584
-
Kostya Serebryany authored
llvm-svn: 281583
-
NAKAMURA Takumi authored
llvm-svn: 281582
-
Vedant Kumar authored
llvm-svn: 281581
-
Kostya Serebryany authored
llvm-svn: 281580
-
Vedant Kumar authored
Having the same title, timestamp, etc. occur repeatedly creates an unnecessary distraction when paging through a report. llvm-svn: 281579
-
Vedant Kumar authored
E.g the 'showProjectSummary' test contains some checks which can't fail because they match themselves... llvm-svn: 281578
-
Kostya Serebryany authored
[libFuzzer] implement print_pcs with trace-pc-guard. Change the trace-pc-guard heuristic for 8-bit counters to look more like in AFL (not that it's provable better, but the existin test preferes this heuristic) llvm-svn: 281577
-
Ahmed Bougacha authored
Avoid redefining the weak stub when building gotsan.cc llvm-svn: 281576
-
Wei Mi authored
The test exercises the branch in scev expansion when the value in ValueOffsetPair is a ptr and the offset is not divisible by the elem type size of value. Differential Revision: https://reviews.llvm.org/D24088 llvm-svn: 281575
-
Kostya Serebryany authored
llvm-svn: 281574
-
Justin Lebar authored
[doc] [CUDA] Add sections about STL support and differences between nvcc and clang to CompileCudaWithLLVM.rst. llvm-svn: 281573
-
Sanjoy Das authored
llvm-svn: 281570
-
Jim Ingham authored
This keeps them from conflicting with other symbols names, so it's worth their being less convenient to use for indexing. llvm-svn: 281569
-
Kostya Serebryany authored
llvm-svn: 281568
-
Ahmed Bougacha authored
'weak' doesn't behave like it does on linux. llvm-svn: 281567
-
Aaron Watry authored
Signed-off-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 281566
-
Aaron Watry authored
Just use lgamma_r and ignore the value returned in the second argument Signed-off-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 281565
-
Aaron Watry authored
Ported from the amd-builtins branch, which is itself based on the Sun Microsystems implementation. Signed-off-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 281564
-
Aaron Watry authored
This macro is currently unused, but I plan to use it shortly. The previous form did casts of pointers without an address space, which doesn't work so well for CL 1.x. Signed-off-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 281563
-
Eric Fiselier authored
This patch causes a couple of issues: 1) It triggers http://llvm.org/PR30341. Although the bug is not truly a libc++ bug it breaks the LLVM build using libc++. Reverting this patch is only a temporary workaround until Clang is fixed. 2) It adds yet another ABI incompatibility when libc++.so is compiled with GCC. Specifically GCC doesn't ignore the _LIBCPP_INLINE_VISIBILITY on the out-of-line definition when compiling the dylib. This causes the externally instantiated ~basic_string symbol to have hidden visibility. This patch should be recommitted after addressing (1) and (2). (2) can be fixed by adding _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY which is defined as __attribute__((visibility("default"), always_inline)) as opposed to _LIBCPP_INLINE_VISIBILITY which makes the symbol hidden. llvm-svn: 281562
-
Sanjay Patel authored
The pattern matching and transforms are identical; the cmp predicate just changes. llvm-svn: 281561
-
Zachary Turner authored
llvm-svn: 281560
-
Sanjay Patel authored
llvm-svn: 281559
-
Reid Kleckner authored
llvm-svn: 281558
-
Artem Belevich authored
Commit was breaking our internal tests. llvm-svn: 281557
-
Zachary Turner authored
The `CVType` had two redundant fields which were confusing and error-prone to fill out. By treating member records as a distinct type from leaf records, we are able to simplify this quite a bit. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D24432 llvm-svn: 281556
-
Zachary Turner authored
This completes being able to write all the interesting values of a PDB TPI stream. Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D24370 llvm-svn: 281555
-
Reid Kleckner authored
Summary: This fixes a dumpbin warning on objects produced by the MC assembler when starting from text. All .debug$S sections are supposed to be marked IMAGE_SCN_MEM_DISCARDABLE. The main, non-COMDAT .debug$S section had this set, but any comdat ones were not being marked discardable because there was no .section flag for it. This change does two things: - If the section name starts with .debug, implicitly mark the section as discardable. This means we do the same thing as gas on .s files with DWARF from GCC, which is important. - Adds the 'D' flag to the .section directive on COFF to explicitly say a section is discardable. We only emit this flag if the section name does not start with .debug. This allows the user to explicitly tweak their section flags without worrying about magic section names. The only thing you can't do in this scheme is to create a non-discardable section with a name starting with ".debug", but hopefully users don't need that. Reviewers: majnemer, rafael Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24582 llvm-svn: 281554
-
Kostya Serebryany authored
llvm-svn: 281553
-