- May 06, 2016
-
-
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
-
Rafael Espindola authored
This is hopefully last case where we would produce a relocation to a read only section. llvm-svn: 268688
-
Xinliang David Li authored
llvm-svn: 268687
-
Enrico Granata authored
"Allow LanguageRuntimes to return an error if they fail in the course of dynamic type discovery This is not meant to report that a value doesn't have a dynamic type - it is only meant as a mechanism to propagate actual type discovery issues (e.g. malformed type metadata for languages that have such a notion) This information is used by ValueObjectDynamic to set its own m_error, which is a fairly sharp and heavyweight tool to begin with For the time being, this is an architectural improvement but a practical no-op as no existing runtimes are actually setting errors" I need to think about what I want to do in this space more carefully - this attempt might be too heavy of a hammer for the nail I am trying to fix, and I don't want to leave it in while I ponder llvm-svn: 268686
-
Chris Bieneman authored
Since the option was removed in r268670, the cache scripts should stop referring to it. llvm-svn: 268685
-
Davide Italiano authored
llvm-svn: 268684
-
Reid Kleckner authored
This FIXME was already fixed, and these LF_* enum names were inconsistent. llvm-svn: 268683
-
Chad Rosier authored
llvm-svn: 268682
-
-
Mehdi Amini authored
This reverts commit r268658. I incorrectly diagnose this as the source of an assertion during an LTO bootstrap of clang. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 268680
-