- Jan 03, 2019
-
-
Marshall Clow authored
llvm-svn: 350330
-
Michal Gorny authored
Include CheckAtomic CMake module from LLVM in order to detect support for atomics when building stand-alone. Otherwise, the HAVE_CXX_ATOMICS64_WITHOUT_LIB variable is undefined and clangd wrongly attempts to link -latomic on systems not using the library. Original bug report: https://bugs.gentoo.org/667016 Differential Revision: https://reviews.llvm.org/D56061 llvm-svn: 350329
-
Alexey Bataev authored
nvvm_barrier0. Use runtime functions instead of the direct call to the nvvm intrinsics. It allows to prevent some dangerous LLVM optimizations, that breaks the code for the NVPTX target. llvm-svn: 350328
-
Serge Guelton authored
Update documentation and shebang. Differential Revision: https://reviews.llvm.org/D56252 llvm-svn: 350327
-
Serge Guelton authored
In Python2 next() is used wile it's __next__ in Python3. Differential Revision: https://reviews.llvm.org/D56250 llvm-svn: 350326
-
Haojian Wu authored
llvm-svn: 350325
-
Haojian Wu authored
llvm-svn: 350324
-
Simon Pilgrim authored
We were only testing costs for legal source vector element counts llvm-svn: 350323
-
Andrea Di Biagio authored
llvm-svn: 350322
-
Alex Bradbury authored
This matches GNU assembler behaviour. llvm-svn: 350321
-
Serge Guelton authored
Differential Revision: https://reviews.llvm.org/D56258 llvm-svn: 350320
-
Serge Guelton authored
Get rid of Python version specific shebang. Differential Revision: https://reviews.llvm.org/D55207 llvm-svn: 350319
-
Serge Guelton authored
StringIO is obsoleted in Python3, replaced by io.BytesIO or io.StringIO depending on the use. Differential Revision: https://reviews.llvm.org/D55196 llvm-svn: 350318
-
Aaron Ballman authored
Diagnose an unused result from a call through a function pointer whose return type is marked [[nodiscard]]. When a function returns a type and that type was declared [[nodiscard]], we diagnose any unused results from that call as though the function were marked nodiscard. The same behavior should apply to calls through a function pointer. This addresses PR31526. llvm-svn: 350317
-
Serge Guelton authored
Rely on numbers.Integral instead of int/long Differential Revision: https://reviews.llvm.org/D56262 llvm-svn: 350316
-
Serge Guelton authored
Differential Revision: https://reviews.llvm.org/D56261 llvm-svn: 350315
-
Serge Guelton authored
Use portable `in` operator instead of `has_key(...)` method. Differential Revision: https://reviews.llvm.org/D56260 llvm-svn: 350314
-
Serge Guelton authored
Differential Revision: https://reviews.llvm.org/D56259 llvm-svn: 350313
-
Serge Guelton authored
Always use `items()` and introduce extra `list(...)` call when needed. Differential Revision: https://reviews.llvm.org/D56257 llvm-svn: 350312
-
Serge Guelton authored
Differential Revision: https://reviews.llvm.org/D56256 llvm-svn: 350311
-
Serge Guelton authored
Differential Revision: https://reviews.llvm.org/D56254 llvm-svn: 350310
-
Serge Guelton authored
Use range instead of xrange whenever possible. The extra list creation in Python2 is generally not a performance bottleneck. Differential Revision: https://reviews.llvm.org/D56253 llvm-svn: 350309
-
Serge Guelton authored
Python3 uses assertRaisesRegex instad of assertRaisesRegexp. Differential Revision: https://reviews.llvm.org/D56251 llvm-svn: 350308
-
Serge Guelton authored
Make sure all print statements are compatible with Python 2 and Python3 using the `from __future__ import print_function` statement. Differential Revision: https://reviews.llvm.org/D56249 llvm-svn: 350307
-
Kadir Cetinkaya authored
Summary: This only changes behavior in cases when the file itself is a symlink. When canonicalizing paths do not look at tryGetRealPathName, which contains the resolved path for files that are symlinks. Instead first build the absolute path even if it contains some symlinks on the path. Then resolve only the symlinks on the path and leave it as it is if the file itself is a symlink. Reviewers: ilya-biryukov Reviewed By: ilya-biryukov Subscribers: ioeric, MaskRay, jkorous, arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D56263 llvm-svn: 350306
-
Philip Pfaffe authored
Summary: Keeping msan a function pass requires replacing the module level initialization: That means, don't define a ctor function which calls __msan_init, instead just declare the init function at the first access, and add that to the global ctors list. Changes: - Pull the actual sanitizer and the wrapper pass apart. - Add a newpm msan pass. The function pass inserts calls to runtime library functions, for which it inserts declarations as necessary. - Update tests. Caveats: - There is one test that I dropped, because it specifically tested the definition of the ctor. Reviewers: chandlerc, fedor.sergeev, leonardchan, vitalybuka Subscribers: sdardis, nemanjai, javed.absar, hiraditya, kbarton, bollu, atanasyan, jsji Differential Revision: https://reviews.llvm.org/D55647 llvm-svn: 350305
-
Ilya Biryukov authored
Summary: Only run completion when we were trigerred on '->' and '::', otherwise send an error code in return. To avoid automatically invoking completions in cases like 'a >^' or 'a ? b :^'. Reviewers: hokein Reviewed By: hokein Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits Differential Revision: https://reviews.llvm.org/D55994 llvm-svn: 350304
-
Ilya Biryukov authored
llvm-svn: 350303
-
Diogo N. Sampaio authored
This file was missing on the patch llvm-svn: 350302
-
Simon Pilgrim authored
Use X86/X64 check prefixes Use nounwind to reduce cfi noise llvm-svn: 350301
-
Simon Pilgrim authored
Enables SLP vectorization for the SSE2 PADDS/PADDUS/PSUBS/PSUBUS style intrinsics llvm-svn: 350300
-
Diogo N. Sampaio authored
SB (Speculative Barrier) is only mandatory from 8.5 onwards but is optional from Armv8.0-A. This patch adds a command line option to enable SB, as it was previously only possible to enable by selecting -march=armv8.5-a. This patch also renames FeatureSpecRestrict to FeatureSB. Reviewed By: olista01, LukeCheeseman Differential Revision: https://reviews.llvm.org/D55990 llvm-svn: 350299
-
Pavel Labath authored
llvm-svn: 350298
-
Simon Pilgrim authored
llvm-svn: 350297
-
Lama Saba authored
llvm-svn: 350296
-
Simon Pilgrim authored
Costs for real SSE2 instructions llvm-svn: 350295
-
Pavel Labath authored
llvm-svn: 350294
-
Simon Pilgrim authored
llvm-svn: 350293
-
Piotr Sobczak authored
Summary: The commit rL348922 introduced a means to set Metadata section kind for a global variable, if its explicit section name was prefixed with ".AMDGPU.metadata.". This patch changes that prefix to ".AMDGPU.comment.", as "metadata" in the section name might lead to ambiguity with metadata used by AMD PAL runtime. Change-Id: Idd4748800d6fe801441d91595fc21e5a4171e668 Reviewers: kzhuravl Reviewed By: kzhuravl Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits Differential Revision: https://reviews.llvm.org/D56197 llvm-svn: 350292
-
Pavel Labath authored
Summary: instead of returning the architecture through by-ref argument and a boolean value indicating success, we can just return the ArchSpec directly. Since the ArchSpec already has an invalid state, it can be used to denote the failure without the additional bool. Reviewers: clayborg, zturner, espindola Subscribers: emaste, arichardson, JDevlieghere, lldb-commits Differential Revision: https://reviews.llvm.org/D56129 llvm-svn: 350291
-