- May 06, 2016
-
-
Aaron Ballman authored
llvm-svn: 268728
-
Andrey Bokhanko authored
This patch implements __unaligned (MS extension) as a proper type qualifier (before that, it was implemented as an ignored attribute). It also fixes PR27367. Differential Revision: http://reviews.llvm.org/D19654 llvm-svn: 268727
-
Sam Kolton authored
Summary: This change allows to specify "DefaultMethod" for optional operand (IsOptional = 1) in AsmOperandClass that return default value for operand. This is used in convertToMCInst to set default values in MCInst. Previously if you wanted to set default value for operand you had to create custom converter method. With this change it is possible to use standard converters even when optional operands presented. Reviewers: tstellarAMD, ab, craig.topper Subscribers: jyknight, dsanders, arsenm, nhaustov, llvm-commits Differential Revision: http://reviews.llvm.org/D18242 llvm-svn: 268726
-
Ryan Govostes authored
llvm-svn: 268725
-
Ryan Govostes authored
Allowing overriding the default ASAN shadow mapping offset with the -asan-shadow-offset option, and allow zero to be specified for both offset and scale. Patch by Aaron Carroll <aaronc@apple.com>. llvm-svn: 268724
-
Kuba Brecka authored
llvm-svn: 268723
-
Dylan McKay authored
Summary: This adds the majority of the AVR backend. Reviewers: hfinkel, dsanders, vkalintiris, arsenm Subscribers: dylanmckay Differential Revision: http://reviews.llvm.org/D17906 llvm-svn: 268722
-
Alexey Bataev authored
OpenMP 4.0 adds support for elemental functions using declarative directive '#pragma omp declare simd'. Patch adds mangling for simd functions in accordance with https://sourceware.org/glibc/wiki/libmvec?action=AttachFile&do=view&target=VectorABI.txt llvm-svn: 268721
-
Silviu Baranga authored
llvm-svn: 268720
-
Nikolay Haustov authored
Summary: Check calling convention in AMDGPUMachineFunction::isKernel This will be used for AMDGPU_HSA_KERNEL symbol type in output ELF. Also, in the future unused non-kernels may be optimized. Reviewers: tstellarAMD, arsenm Subscribers: arsenm, joker.eph, llvm-commits Differential Revision: http://reviews.llvm.org/D19917 llvm-svn: 268719 -
Nikolay Haustov authored
Reviewers: tstellarAMD, arsenm Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19918 llvm-svn: 268718
-
Nikolay Haustov authored
Summary: This will be used for AMDGPU_HSA_KERNEL symbol type in output ELF. Also, in the future unused non-kernels may be optimized. For now, also accept SPIR_KERNEL for HCC frontend. Also, add bitcode compatibility tests for missing calling conventions except AVR_BUILTIN which doesn't have parse code. Reviewers: tstellarAMD, arsenm Subscribers: arsenm, joker.eph, llvm-commits llvm-svn: 268717
-
Kuba Brecka authored
To invoke the Swift demangler, we use dlsym to locate swift_demangle. However, dlsym malloc's storage and stores it in thread-local storage. Since allocations from the symbolizer are done with the system allocator (at least in TSan, interceptors are skipped when inside the symbolizer), we will crash when we try to deallocate later using the sanitizer allocator again. To fix this, let's just not call dlsym from the demangler, and call it during initialization. Differential Revision: http://reviews.llvm.org/D19974 llvm-svn: 268716
-
Mehdi Amini authored
This test was crashing, and currently it breaks bootstrapping clang with debuginfo Differential Revision: http://reviews.llvm.org/D20008 From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268715
-
Zlatko Buljan authored
Differential Revision: http://reviews.llvm.org/D15744 llvm-svn: 268714
-
Maxim Ostapenko authored
In recovery mode, when ASan detects stack overflow (say, when infinite recursion detected), it tries to continue program execution and hangs on repetitive error reports. There isn't any sense to do it, we can just bail out on stack overflow error, because the program would crash soon anyway. Differential Revision: http://reviews.llvm.org/D19958 llvm-svn: 268713
-
Craig Topper authored
llvm-svn: 268712
-
Craig Topper authored
llvm-svn: 268711
-
Xinliang David Li authored
llvm-svn: 268710
-
Eric Fiselier authored
llvm-svn: 268709
-
Aaron Watry authored
Based on the amd-builtin, but explicitly vectorized for all sizes (not just float4), and includes a vectorized double implementation. Passes piglit (float) tests on pitcairn. Signed-off-by:
Aaron Watry <awatry@gmail.com> Reviewed-by:
Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 268708
-
Peter Collingbourne authored
llvm-svn: 268707
-
Craig Topper authored
llvm-svn: 268706
-
Craig Topper authored
Pattern predicates already appear to be emitted as far down as they can be. The optimization was making no changes on any in-tree target. llvm-svn: 268705
-
Xinliang David Li authored
DataValueSize is now removed. The change is consolidated with previous raw version bump. llvm-svn: 268704
-
Xinliang David Li authored
DataValueSize is now removed. The change is consolidated with previous raw version bump. llvm-svn: 268703
-
Xinliang David Li authored
llvm-svn: 268702
-
Philip Reames authored
llvm-svn: 268701
-
Ahmed Bougacha authored
If we don't, values that aren't precisely representable in f16 could be used as-is in a promoted f32 operation, which would produce incorrect results. AArch64 had the correct behavior; add a focused test. Fixes http://llvm.org/PR26871 llvm-svn: 268700
-
Rui Ueyama authored
llvm-svn: 268699
-
Rui Ueyama authored
This change seems to speed up LLD a bit if it has a lot of mergeable sections. The number is below. It's not too bad for a small patch. Time to link Clang (debug build): w/o patch 6.3696 seconds w/patch 6.2746 seconds (-1.5%) Differential Revision: http://reviews.llvm.org/D19933 llvm-svn: 268698
-
Justin Bogner authored
llvm-svn: 268697
-
Kevin Enderby authored
Fix window bots failures due to r268694 - Cleanup and refactor of malformedError() in lib/Object/MachOObjectFile.cpp . llvm-svn: 268696
-
Adam Nemet authored
This message used to be correct, when all we cared about was whether the dependence was safe (i.e. NoDep) or unsafe. With the current more precise characterization, this is a forward dep. llvm-svn: 268695
-
Kevin Enderby authored
No functional change. llvm-svn: 268694
-
Justin Bogner authored
This is a step towards removing the rampant undefined behaviour in SelectionDAG, which is a part of llvm.org/PR26808. We rename SelectionDAGISel::Select to SelectImpl and update targets to match, and then change Select to return void and consolidate the sketchy behaviour we're trying to get away from there. Next, we'll update backends to implement `void Select(...)` instead of SelectImpl and eventually drop the base Select implementation. llvm-svn: 268693
-
Justin Bogner authored
This opcode never happens in practice, and yet the logic we have in place to handle it would be undefined behaviour if we ever executed it. Remove it rather than trying to refactor code that's never reached. llvm-svn: 268692
-
Krzysztof Parzyszek authored
Patch by Apelete Seketeli. Differential Revision: http://reviews.llvm.org/D19968 llvm-svn: 268691
-
Krzysztof Parzyszek authored
llvm-svn: 268690
-
Eugene Zelenko authored
Differential revision: reviews.llvm.org/D19946 llvm-svn: 268689
-