- Oct 24, 2016
-
-
Pavel Labath authored
If we don't have futimens(), we fall back to futimes(), which only supports microsecond timestamps. In that case, we need to explicitly cast away the extra precision in setLastModificationAndAccessTime(). llvm-svn: 284977
-
Pavel Labath authored
llvm-svn: 284976
-
Pavel Labath authored
llvm-svn: 284975
-
Pavel Labath authored
Summary: Most of the changes are very straight-forward. The only choice I had to make was to use second-precision time points in the Archive classes. I did this because the archive files use that precision in the on-disk representation anyway. Reviewers: rafael, zturner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25773 llvm-svn: 284974
-
Joel Jones authored
Summary: Add relocations for AArch64 ILP32. Includes: - Addition of definitions for R_AARCH32_* - Definition of new -target-abi: ilp32 - Definition of data layout string - Tests for added relocations. Not comprehensive, but matches existing tests for 64-bit. Renames "CHECK-OBJ" to "CHECK-OBJ-LP64". - Tests for llvm-readobj Reviewers: zatrazz, peter.smith, echristo, t.p.northover Subscribers: aemerson, rengolin, mehdi_amini Differential Revision: https://reviews.llvm.org/D25159 llvm-svn: 284973
-
Krzysztof Parzyszek authored
llvm-svn: 284972
-
Pablo Barrio authored
Summary: These are good candidates for jump threading. This enables later opts (such as InstCombine) to combine instructions from the selects with instructions out of the selects. SimplifyCFG will fold the select again if unfolding wasn't worth it. Patch by James Molloy and Pablo Barrio. Reviewers: reames, bkramer, mcrosier, gberry, haicheng, jmolloy, sebpop Subscribers: jojo, rengolin, llvm-commits Differential Revision: https://reviews.llvm.org/D25477 llvm-svn: 284971
-
Pavel Labath authored
It's quite sad that we have to edit so many files just to add a register. I am going to investigate how to merge these definitions somehow, but for now this should at least get arm64 linux working again. llvm-svn: 284970
-
Artem Dergachev authored
I guess we should always specify triples in all analyzer tests, regardless. llvm-svn: 284969
-
Simon Pilgrim authored
We need to include windows.h first even though it breaks default include ordering rules llvm-svn: 284968
-
Michael Zuckerman authored
because new test file is failing in some OS. test/CodeGen/avx512-reduceIntrin.c llvm-svn: 284967
-
Pavel Labath authored
Summary: This is a follow-up to D25416. It removes all usages of TimeValue from llvm/Support library (except for the actual TimeValue declaration), and replaces them with appropriate usages of std::chrono. To facilitate this, I have added small utility functions for converting time points and durations into appropriate OS-specific types (FILETIME, struct timespec, ...). Reviewers: zturner, mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25730 llvm-svn: 284966
-
Pavel Labath authored
llvm-svn: 284965
-
Pavel Labath authored
llvm-svn: 284964
-
Michael Zuckerman authored
[X86][AVX512][Clang][Intrinsics][reduce] Adding missing reduce (Operators: +,*,&&,||) intrinsics to Clang Committed after LGTM and check-all Vector-reduction arithmetic accepts vectors as inputs and produces scalars as outputs. This class of vector operation forms the basis of many scientific computations. In vector-reduction arithmetic, the evaluation off is independent of the order of the input elements of V. Used bisection method. At each step, we partition the vector with previous step in half, and the operation is performed on its two halves. This takes log2(n) steps where n is the number of elements in the vector. Differential Revision: https://reviews.llvm.org/D25527 llvm-svn: 284963
-
Simon Dardis authored
Add synci to the microMIPS instruction definitions, mark the MIPS sync & synci as not being part of microMIPS. This does not cover the sync instruction alias, as that will be handled with a different patch. Add sync to the valid tests for microMIPS. Reviewers: vkalintiris Differential Revision: https://reviews.llvm.org/D25795 llvm-svn: 284962
-
Alex Lorenz authored
This commit improves the '-Wformat' warnings by ensuring that the formatting checker can see through Objective-C message sends when we are calling an Objective-C method with an appropriate format_arg attribute. rdar://23622446 Differential Revision: https://reviews.llvm.org/D25820 llvm-svn: 284961
-
Artem Dergachev authored
This checker does not emit reports, however it influences the analysis by providing complete summaries for, or otherwise improving modeling of, various standard library functions. This should reduce the number of infeasible paths explored during analysis. The custom function summary format used in this checker is superior to body farms by causing less unnecessary state splits, which would result in better analysis performance. Differential Revision: https://reviews.llvm.org/D20811 llvm-svn: 284960
-
Alex Lorenz authored
has no field declaration. This commit fixes an invalid Winitializer-overrides warning that's shown when analyzing a second (or any after the first) instantiation of a designated initializer. This invalid warning is fixed by making sure that a DesignatedInitExpr is rebuilt by the tree transformer when it has a field designator whose FieldDecl* hasn't been yet initialized. This ensures that a different DesignatedInitExpr is processed by Sema for every instantiation, and thus the invalid warning is avoided. rdar://28768441 Differential Revision: https://reviews.llvm.org/D25777 llvm-svn: 284959
-
Jonas Hahnfeld authored
llvm-svn: 284958
-
Hal Finkel authored
Fix the implementation of OptReportLocationInfo's operator < so that contexts with different unroll counts are reported separately. llvm-svn: 284957
-
Craig Topper authored
[AVX-512] Replace 64-bit element and 512-bit vector pmin/pmax builtins with native IR like we do for 128/256-bit, but with the addition of masking. llvm-svn: 284956
-
Craig Topper authored
Clang patch to replace 512-bit vector and 64-bit element versions with native IR will follow. llvm-svn: 284955
-
Craig Topper authored
[AVX-512] Replace masked 128/256-bit byte, word, and dword min/max builtins with selects and the older unmasked builtins. llvm-svn: 284954
-
Sanjay Patel authored
llvm-svn: 284953
-
Eric Fiselier authored
llvm-svn: 284952
-
- Oct 23, 2016
-
-
Petr Hosek authored
Fuchsia is a new operating system which uses libunwind as unwinder. Differential Revision: https://reviews.llvm.org/D25899 llvm-svn: 284951
-
Petr Hosek authored
musl's pthread implementations use volatile types in their structs which is not being constexpr in C++11 but is in C++14. Differential Revision: https://reviews.llvm.org/D25491 llvm-svn: 284950
-
Simon Pilgrim authored
llvm-svn: 284949
-
Justin Lebar authored
Summary: With MSVC 2013 and GCC < 4.8 gone, we can use the "constexpr" keyword. Reviewers: bkramer, mehdi_amini Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D25901 llvm-svn: 284947
-
Eric Fiselier authored
llvm-svn: 284946
-
Eric Fiselier authored
llvm-svn: 284945
-
Eric Fiselier authored
llvm-svn: 284944
-
Eric Fiselier authored
llvm-svn: 284943
-
Eric Fiselier authored
llvm-svn: 284942
-
Eric Fiselier authored
llvm-svn: 284941
-
Simon Pilgrim authored
llvm-svn: 284940
-
Simon Pilgrim authored
We were defaulting to SSE2 costs which weren't taking into account the availability of PBLENDW/PBLENDVB to improve merging of per-element shift results. llvm-svn: 284939
-
Simon Pilgrim authored
llvm-svn: 284938
-
Simon Pilgrim authored
More obvious implementation and faster too. llvm-svn: 284937
-