- Oct 14, 2017
-
-
Simon Pilgrim authored
Avoid unnecessary std::string creations in the TreePredicateFn getters. llvm-svn: 315826
-
Simon Pilgrim authored
llvm-svn: 315825
-
Simon Pilgrim authored
llvm-svn: 315824
-
Bruno Cardoso Lopes authored
This reverts commit r315781, breaks: http://green.lab.llvm.org/green/job/Compiler_Verifiers_GlobalISEL/9882 llvm-svn: 315823
-
Konstantin Zhuravlyov authored
- Update docs to match llvm coding style - Add missing FP16_OVFL bit for gfx9 - Fix the size of the kernel descriptor in the docs Differential Revision: https://reviews.llvm.org/D38902 llvm-svn: 315822
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D38753 llvm-svn: 315821
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D38752 llvm-svn: 315819
-
Simon Pilgrim authored
llvm-svn: 315818
-
Simon Pilgrim authored
llvm-svn: 315817
-
Konstantin Zhuravlyov authored
llvm-svn: 315816
-
Simon Pilgrim authored
llvm-svn: 315815
-
Ed Maste authored
libunwind is known to work on FreeBSD i386, amd64 (x86_64) and arm64. It is the unwinder provided by the base system on all of those architectures. While here sort the OS list. Differential Revision: https://reviews.llvm.org/D38900 llvm-svn: 315814
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D38751 llvm-svn: 315813
-
Konstantin Zhuravlyov authored
- Do not allow amd_amdgpu_isa directives on non-amdgcn architectures - Do not allow amd_amdgpu_hsa_metadata on non-amdhsa OSes - Do not allow amd_amdgpu_pal_metadata on non-amdpal OSes Differential Revision: https://reviews.llvm.org/D38750 llvm-svn: 315812
-
Benjamin Kramer authored
The warnings in libc++ tests were fixed in the meantime. llvm-svn: 315811
-
Konstantin Zhuravlyov authored
Differential Revision: https://reviews.llvm.org/D38749 llvm-svn: 315810
-
Benjamin Kramer authored
llvm-svn: 315809
-
Konstantin Zhuravlyov authored
- Emit NT_AMD_AMDGPU_ISA - Add assembler parsing for isa version directive - If isa version directive does not match command line arguments, then return error Differential Revision: https://reviews.llvm.org/D38748 llvm-svn: 315808
-
Simon Pilgrim authored
If we are applying a byte mask to a value extracted from a shuffle, see if we can combine the mask into shuffle. Fixes the last issue with PR22415 llvm-svn: 315807
-
NAKAMURA Takumi authored
check-libcxx dislikes it. llvm-svn: 315806
-
Yaxun Liu authored
llvm-svn: 315805
-
Yaxun Liu authored
In OpenCL the kernel function and non-kernel function has different calling conventions. For certain targets they have different argument ABIs. Also kernels have special function attributes and metadata for runtime to launch them. The blocks passed to enqueue_kernel is supposed to be executed as kernels. As such, the block invoke function should be emitted as kernel with proper calling convention and argument ABI. This patch emits enqueued block as kernel. If a block is both called directly and passed to enqueue_kernel, separate functions will be generated. Differential Revision: https://reviews.llvm.org/D38134 llvm-svn: 315804
-
NAKAMURA Takumi authored
It broke check-libcxx with stage1-clang and stage1-lld. llvm-svn: 315803
-
Craig Topper authored
llvm-svn: 315802
-
Craig Topper authored
llvm-svn: 315801
-
Craig Topper authored
llvm-svn: 315800
-
Craig Topper authored
These select the same instruction as the non-bitcasted pattern. So this provides no additional value. llvm-svn: 315799
-
Craig Topper authored
[X86] Remove unnecessary bitconverts as the root of patterns for zero extended VCVTPD2UDQZ128rr and VCVTTPD2UDQZ128rr. We don't need a bitconvert as a root pattern in these cases. The types in the other parts of the pattern are sufficient to express the behavior of these instructions. llvm-svn: 315798
-
Craig Topper authored
This matches the patterns we have for the SSE/AVX version. This is a prerequisite for D38714. llvm-svn: 315797
-
Craig Topper authored
llvm-svn: 315796
-
Craig Topper authored
I believe these were added incorrectly under the belief that the load size was smaller than the input register size, but that's not true. llvm-svn: 315795
-
Craig Topper authored
[X86] Add an additional isel pattern to CVTDQ2PDrm/VCVTDQ2PDrm to enable load folding without the peephole pass. This pattern is already used in AVX512VL version of these instructions. Though AVX512VL version is missing other patterns. llvm-svn: 315794
-
Jordan Rose authored
This reverts r315697 and my ill-fated attempts to fix it on Windows. I'll try again when I get access to a Windows machine. llvm-svn: 315793
-
Jordan Rose authored
"No such file or directory: C:\\...\\tests\\Output\\shared-output.py.tmp/Output/Shared/SHARED.tmp" And yet other forward-slashes don't seem to be causing the same problem. I'll see if I can get ahold of a Windows machine to poke at this directly later. llvm-svn: 315792
-
Yaxun Liu authored
Currently llvm assembler emits parsing error for valid IR assembly alloca i32, i32 9, addrspace(5) when alloca addr space is 5. This patch fixes that. Differential Revision: https://reviews.llvm.org/D38713 llvm-svn: 315791
-
Jakub Kuderski authored
Summary: This patch removes the `verifyNCD` check. The reason for this is that the other checks are sufficient to prove or disprove correctness of any DominatorTree, and that `verifyNCD` doesn't provide (in my option) better error messages then the other ones. Additionally, this should give a (small) improvement to the total verification time, as the check is O(n), and checking the sibling property takes O(n^3). Reviewers: dberlin, grosser, davide, brzycki Reviewed By: brzycki Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38802 llvm-svn: 315790
-
Vedant Kumar authored
There were two copies of the logic needed to construct a line stats object for each line in a range: this patch brings it down to one. In the future, this will make it easier for IDE clients to display coverage in-line in source editors. To do that, we just need to move the new LineCoverageIterator class to libCoverage. llvm-svn: 315789
-
Daniel Sanders authored
[globalisel][tablegen] Fix an unused variable warning caused by a typo (corrected OtherInsnID->OtherOpIdx). The tests were passing by luck since the instruction ID and operand index happened to be the same. llvm-svn: 315788
-
Benjamin Kramer authored
If the variable construction can be constant evaluated it doesn't have side effects, so removing it is always safe. We only try to evaluate variables that are unused, there should be no impact on compile time. Differential Revision: https://reviews.llvm.org/D38678 llvm-svn: 315787
-
Vedant Kumar authored
The function sanitizer only checks indirect calls through function pointers. This excludes all non-static member functions (constructor calls, calls through thunks, etc. all use a separate code path). Don't emit function signatures for functions that won't be checked. Apart from cutting down on code size, this should fix a regression on Linux caused by r313096. For context, see the mailing list discussion: r313096 - [ubsan] Function Sanitizer: Don't require writable text segments Testing: check-clang, check-ubsan Differential Revision: https://reviews.llvm.org/D38913 llvm-svn: 315786
-