- Sep 14, 2016
-
-
Michal Gorny authored
Introduce a new LIBOMP_INSTALL_VARIABLES cache variable that can be used to disable creating libgomp and libiomp5 aliases on 'make install'. Those aliases are undesired e.g. on Gentoo systems where libomp is used purely by clang. Differential Revision: https://reviews.llvm.org/D24563 llvm-svn: 281512
-
Eugene Zelenko authored
Differential revision: https://reviews.llvm.org/D24526 llvm-svn: 281510
-
Dehao Chen authored
Summary: This patch converts finite/__finite to builtin functions so that it will be inlined by compiler. Reviewers: hfinkel, davidxl, efriedma Subscribers: efriedma, llvm-commits Differential Revision: https://reviews.llvm.org/D24483 llvm-svn: 281509
-
Adrian Prantl authored
This is a follow-up to r268778 that adds a couple of missing cases, most notably orphaned compile units. rdar://problem/28193346 llvm-svn: 281508
-
Valentina Giusti authored
Summary: This patch uses the instruction CPUID to verify that FXSAVE, XSAVE, AVX and MPX are supported by the target hardware. In case the HW supports XSAVE, and at least one of the extended register sets, it further checks if the target software has the kernel support for such features, by verifying that their XSAVE part is correctly managed. Differential Revision: https://reviews.llvm.org/D24559 llvm-svn: 281507
-
Matt Arsenault authored
analyzeBranch was renamed to use lowercase first, rename the related set to match. llvm-svn: 281506
-
Matt Arsenault authored
The main change is to return the code size from InsertBranch/RemoveBranch. Patch mostly by Tim Northover llvm-svn: 281505
-
Sanjay Patel authored
llvm-svn: 281504
-
Etienne Bergeron authored
Summary: Function __asan_default_options is called by __asan_init before the shadow memory got initialized. Instrumenting that function may lead to flaky execution. As the __asan_default_options is provided by users, we cannot expect them to add the appropriate function atttributes to avoid instrumentation. Reviewers: kcc, rnk Subscribers: dberris, chrisha, llvm-commits Differential Revision: https://reviews.llvm.org/D24566 llvm-svn: 281503
-
Simon Pilgrim authored
Until AVX512DQ we only support i64/vXi64 sitofp conversion as scalars. This patch sees if the sign bit extends far enough that we can truncate to a i32 type and then perform sitofp without loss of precision. Differential Revision: https://reviews.llvm.org/D24345 llvm-svn: 281502
-
Chad Rosier authored
llvm-svn: 281501
-
Chad Rosier authored
Mostly useful for getting consistent lit testing. llvm-svn: 281500
-
Simon Pilgrim authored
Remove the last user of the old getTargetShuffleNode helpers llvm-svn: 281499
-
Sanjay Patel authored
llvm-svn: 281498
-
Chad Rosier authored
llvm-svn: 281497
-
Rafael Espindola authored
llvm-svn: 281496
-
Sanjay Patel authored
llvm-svn: 281495
-
Simon Atanasyan authored
When the linker generates a relocatable object there is no TLS program header and we should not adjust TLS symbols value. llvm-svn: 281494
-
Sanjay Patel authored
llvm-svn: 281493
-
Etienne Bergeron authored
llvm-svn: 281492
-
Matt Arsenault authored
This avoids test regressions in a future commit. llvm-svn: 281491
-
Sanjay Patel authored
llvm-svn: 281490
-
Sanjay Patel authored
llvm-svn: 281489
-
Matt Arsenault authored
This addresses a TODO to handle operations besides and. This also starts eliminating no-op operations with a constant that can emerge later. llvm-svn: 281488
-
Saleem Abdulrasool authored
Move the definition of `getTriple()` into the header. It would just call `getTarget().getTriple()`. Inline the definition to allow the compiler to see the same amount of the layout as previously. Remove the more verbose `getTarget().getTriple()` in favour of `getTriple()`. llvm-svn: 281487
-
Jonas Hahnfeld authored
Differential Revision: https://reviews.llvm.org/D24504 llvm-svn: 281486
-
Matthew Simpson authored
This patch moves the processing of pointer induction variables in collectLoopUniforms from the consecutive pointer phase of the analysis to the phi node phase. Previously, if a pointer induction variable was used by both a scalarized non-memory instruction as well as a vectorized memory instruction, we would incorrectly identify the pointer as uniform. Pointer induction variables should be treated the same as other phi nodes. That is, they are uniform if all users of the induction variable and induction variable update are uniform. Differential Revision: https://reviews.llvm.org/D24511 llvm-svn: 281485
-
James Molloy authored
If a constant is unamed_addr and is only used within one function, we can save on the code size and runtime cost of an indirection by changing the global's storage to inside the constant pool. For example, instead of: ldr r0, .CPI0 bl printf bx lr .CPI0: &format_string format_string: .asciz "hello, world!\n" We can emit: adr r0, .CPI0 bl printf bx lr .CPI0: .asciz "hello, world!\n" This can cause significant code size savings when many small strings are used in one function (4 bytes per string). llvm-svn: 281484
-
Sjoerd Meijer authored
is an uint64_t. However, getter function getFlags returned an unsigned, and in function hasProperty (1 << MCFlag) was used instead of (1ULL << MCFlag). llvm-svn: 281483
-
Rafael Espindola authored
This just makes a followup patch easier to read. llvm-svn: 281482
-
Simon Pilgrim authored
llvm-svn: 281481
-
Simon Pilgrim authored
llvm-svn: 281480
-
Nemanja Ivanovic authored
This patch corresponds to review: https://reviews.llvm.org/D24021 In the initial implementation of this instruction, I forgot to account for variable indices. This patch fixes PR30189 and should probably be merged into 3.9.1 (I'll open a bug according to the new instructions). llvm-svn: 281479
-
Andrea Di Biagio authored
llvm-svn: 281478
-
Kuba Brecka authored
Differential Revision: https://reviews.llvm.org/D24297 llvm-svn: 281477
-
Kuba Brecka authored
[libcxx] Fix a typo in test/libcxx/test/target_info.py that prevents running tests on Darwin with sanitizers Differential Revision: https://reviews.llvm.org/D24297 llvm-svn: 281476
-
Kuba Brecka authored
This patch enables building and testing libcxx under ThreadSanitizer on OS X. CMake builds that have -DLLVM_USE_SANITIZER=Thread will automatically build libcxx with -fsanitize=thread and testing via lit then runs under TSan. Differential Revision: https://reviews.llvm.org/D24297 llvm-svn: 281475
-
Silviu Baranga authored
in order to make sure that its TargetMachine constructor is registered. This allows us to run the PEI machine pass with MIR input (see PR30324). llvm-svn: 281474
-
Nemanja Ivanovic authored
There is currently no codegen for Power9 that depends on the directive so this is NFC for now but will be important in the future. This was missed in r268950 so I'm adding it now. llvm-svn: 281473
-
Kuba Brecka authored
[asan] Enable -asan-use-private-alias on Darwin/Mach-O, add test for ODR false positive with LTO (compiler-rt part) The '-asan-use-private-alias’ option (disabled by default) option is currently only enabled for Linux and ELF, but it also works on Darwin and Mach-O. This option also fixes a known problem with LTO on Darwin (https://github.com/google/sanitizers/issues/647). This patch enables the support for Darwin (but still keeps it off by default) and adds the LTO test case. Differential Revision: https://reviews.llvm.org/D24292 llvm-svn: 281472
-