- Jan 03, 2019
-
-
Nico Weber authored
It was added in r257236 but then the one use was removed in r309517. Since no test should call %host_cc, remove the pattern. Differential Revision: https://reviews.llvm.org/D56200 llvm-svn: 350348
-
Adrian Prantl authored
llvm-svn: 350347
-
Adrian Prantl authored
llvm-svn: 350346
-
Stefan Granitz authored
This reverts commit r350290. llvm-svn: 350345
-
Stefan Granitz authored
This reverts commit r350296. llvm-svn: 350344
-
Jordan Rupprecht authored
llvm-svn: 350343
-
Kristina Brooks authored
Use report_fatal_error in MCStreamer::EmitRawTextImpl instead of using errs() and explain the rationale behind it not being llvm_unreachable() to save confusion for any future maintainers. Differential Revision: https://reviews.llvm.org/D56245 llvm-svn: 350342
-
Armando Montanez authored
Follow up for D53051 This patch introduces the tool associated with the ELF implementation of TextAPI (previously llvm-tapi, renamed for better distinction). This tool will house a number of features related to enalysis and manipulation of shared object's exposed interfaces. The first major feature for this tool is support for producing binary stubs that are useful for compile-time linking of shared objects. This patch introduces beginnings of support for reading binary ELF objects to work towards that goal. Added: - elfabi tool. - support for reading architecture from a binary ELF file into an ELFStub. - Support for writing .tbe files. Differential Revision: https://reviews.llvm.org/D55352 llvm-svn: 350341
-
Nico Weber authored
-plugin already prints an error if the name of an unknown plugin is passed. -add-plugin used to silently ignore that, now it errors too. Differential Revision: https://reviews.llvm.org/D56273 llvm-svn: 350340
-
Nico Weber authored
This makes the target name consistent with how all the other unit tests are named. Differential Revision: https://reviews.llvm.org/D56216 llvm-svn: 350339
-
Sanjay Patel authored
llvm-svn: 350338
-
Jordan Rupprecht authored
llvm-svn: 350337
-
Jordan Rupprecht authored
[llvm-objcopy][ELF] Implement a mutable section visitor that updates size-related fields (Size, EntrySize, Align) before layout. Summary: Fix EntrySize, Size, and Align before doing layout calculation. As a side cleanup, this removes a dependence on sizeof(Elf_Sym) within BinaryReader, so we can untemplatize that. This unblocks a cleaner implementation of handling the -O<format> flag. See D53667 for a previous attempt. Actual implementation of the -O<format> flag will come in an upcoming commit, this is largely a NFC (although not _totally_ one, because alignment on binary input was actually wrong before). Reviewers: jakehehrlich, jhenderson, alexshap, espindola Reviewed By: jhenderson Subscribers: emaste, arichardson, llvm-commits Differential Revision: https://reviews.llvm.org/D56211 llvm-svn: 350336
-
Arnaud Bienner authored
Summary: Patch by Arnaud Bienner Reviewers: sylvestre.ledru, thakis, serge-sans-paille Reviewed By: thakis Subscribers: arphaman, dyung, anemet, llvm-commits, cfe-commits Differential Revision: https://reviews.llvm.org/D55382 llvm-svn: 350335
-
Anna Thomas authored
NFC: This adds the dom tree verification under debug mode at a point just before we start unrolling the loop. This allows us to verify dom tree at a state where it is much smaller and before the unrolling actually happens. This also implies we do not need to run -verify-dom-info everytime to see if the DT is in a valid state when we transform the loop for runtime unrolling. llvm-svn: 350334
-
Alexey Bataev authored
Summary: One of the LLVM optimizations, split critical edges, also clones tail instructions. This is a dangerous operation for __syncthreads() functions and this transformation leads to undefined behavior or incorrect results. Patch fixes this problem by replacing __syncthreads() function with the assembler instruction, which cost is too high and wich cannot be copied. Reviewers: grokos, gtbercea, kkwli0 Subscribers: guansong, openmp-commits, caomhin Differential Revision: https://reviews.llvm.org/D56274 llvm-svn: 350333
-
Evandro Menezes authored
Add new scheduling predicates to identify the ASIMD loads and stores using the post indexed addressing mode. llvm-svn: 350332
-
Kuba Mracek authored
Re-disable the sanitizer_common/TestCases/Posix/getfsent.cc test. Recent macOS versions don't have the /etc/fstab file any more so we cannot test getfsent/setfsent APIs on Darwin. llvm-svn: 350331
-
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
-