- Jan 30, 2018
-
-
Zaara Syeda authored
candidates with coldcc attribute. This recommits r322721 reverted due to sanitizer memory leak build bot failures. Original commit message: This patch adds support for the coldcc calling convention for Power. This changes the set of non-volatile registers. It includes a pass to stress test the implementation by marking all static directly called functions with the coldcc attribute through the option -enable-coldcc-stress-test. It also includes an option, -ppc-enable-coldcc, to add the coldcc attribute to functions which are cold at all call sites based on BlockFrequencyInfo when the containing function does not call any non cold functions. Differential Revision: https://reviews.llvm.org/D38413 llvm-svn: 323778
-
Daniel Sanders authored
Summary: `struct crashreporter_annotations_t` gained one more `uint64_t` field in `CRASHREPORTER_ANNOTATIONS_VERSION` 5 causing an annoying clang warning: ``` llvm/lib/Support/PrettyStackTrace.cpp:92:65: warning: missing field 'abort_cause' initializer [-Wmissing-field-initializers] = { CRASHREPORTER_ANNOTATIONS_VERSION, 0, 0, 0, 0, 0, 0 }; ^ 1 warning generated ``` Let's fix it. Patch by Roman Tereshin Reviewers: qcolombet, echristo, beanz, dexonsmith Reviewed By: echristo Subscribers: dsanders, dexonsmith, beanz, echristo, qcolombet, llvm-commits Differential Revision: https://reviews.llvm.org/D42268 llvm-svn: 323777
-
Simon Pilgrim authored
llvm-svn: 323776
-
Evandro Menezes authored
Update any test case relevant for Exynos M3. llvm-svn: 323775
-
Evandro Menezes authored
This feature enables special handling of cheap as move in the existing custom handling specifically for Exynos processors. Differential revision: https://reviews.llvm.org/D42387 llvm-svn: 323774
-
Evandro Menezes authored
Add the scheduling and cost model for Exynos M3. Differential revision: https://reviews.llvm.org/D42387 llvm-svn: 323773
-
Alexander Kornienko authored
More specifically, clang-tidy/rename_check.py misc-incorrect-roundings \ bugprone-incorrect-roundings --check_class_name IncorrectRoundings llvm-svn: 323768
-
Alexander Kornienko authored
llvm-svn: 323766
-
Alexander Kornienko authored
llvm-svn: 323765
-
Daniel Neilson authored
Summary: There's an asymmetry in the definitions of findBaseDefiningValueOfVector() and findBaseDefiningValue() of RS4GC. The later handles call and invoke instructions, and the former does not. This appears to be simple oversight. This patch remedies the oversight by adding the call and invoke cases to findBaseDefiningValueOfVector(). Reviewers: DaniilSuchkov, anna Reviewed By: anna Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D42653 llvm-svn: 323764
-
Pavel Labath authored
We also need to be .EXE-aware when searching for the clang binary. llvm-svn: 323763
-
Andrei Elovikov authored
llvm-svn: 323762
-
Eric Liu authored
This reverts commit r323690. This causes crash in llc. See the original commit thread for details. llvm-svn: 323761
-
Simon Pilgrim authored
llvm-svn: 323760
-
Sanjay Patel authored
We missed a critical check in D30703. We must make sure that no intermediate store is sitting between the stores that we want to merge. This should fix: https://bugs.llvm.org/show_bug.cgi?id=36129 Differential Revision: https://reviews.llvm.org/D42663 llvm-svn: 323759
-
Martin Pelikan authored
Summary: When there's a mismatch of a function argument being right after the wrong function, print an offset into the file where that happened, to ease further debugging. Reviewers: dberris, eizan, kpw Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D42492 llvm-svn: 323758
-
Jonas Devlieghere authored
This patch moves the implementation of the print methods from the header to the cpp file. llvm-svn: 323757
-
Martin Pelikan authored
Summary: Turns out sizeof(packed) isn't as strong as we'd hoped. This makes sure that when we initialize the padding, all 12 bytes will be zero. Reviewers: dberris, kpw, eizan Subscribers: delcypher, llvm-commits, #sanitizers Differential Revision: https://reviews.llvm.org/D42494 llvm-svn: 323755
-
Brock Wyma authored
As per the LLVM Developer Policy under "Obtainiing Commit Access". llvm-svn: 323754
-
Pavel Labath authored
Summary: The difference between this and regular LLDB_LOG is that this one clears the error object unconditionally. This was inspired by the ObjectFileELF bug (r322664), where the error object was being cleared only if logging was enabled. Reviewers: davide, zturner, jingham, clayborg Subscribers: lldb-commits, emaste Differential Revision: https://reviews.llvm.org/D42182 llvm-svn: 323753
-
Simon Pilgrim authored
llvm-svn: 323752
-
Sam McCall authored
llvm-svn: 323751
-
Amaury Sechet authored
Change simple-register-allocation-read-undef.mir so that it doesn't fail if the file path contains 'dead' . NFC llvm-svn: 323748
-
George Rimar authored
llvm-svn: 323747
-
Pavel Labath authored
The logic was incorrect because on windows, we need to look for yaml2obj.EXE. I implement the search in terms of distutils.spawn.find_executable, which should handle the platform differences for us. llvm-svn: 323744
-
Pavel Labath authored
It fails due to an assertion (if these are enabled). llvm-svn: 323736
-
Sam McCall authored
Summary: This should speed up global code completion by avoiding deserializing preamble declarations to look up names. The tradeoff is memory usage. Currently the index is fairly naive and may not be much faster, but there's lots of performance headroom. These two changes go together because results from the index get copied a couple of times, so we should avoid it for huge sets. Also the flag should be -completion-limit, rather than -limit-completion. Reviewers: hokein, ioeric, ilya-biryukov Subscribers: klimek, jkorous-apple, cfe-commits Differential Revision: https://reviews.llvm.org/D42669 llvm-svn: 323734
-
Diana Picus authored
These are handled by the TableGen'erated code. llvm-svn: 323732
-
Diana Picus authored
Straightforward mapping (integer operand to GPR, floating point operand to FPR). llvm-svn: 323731
-
Diana Picus authored
Legal if we have hardware support, libcall otherwise. Also add supporting code to the legalizer helper for libcalls. llvm-svn: 323730
-
George Rimar authored
Currently symbols assigned or created by linkerscript are not processed early enough. As a result it is not possible to version them or assign any other flags/properties. Patch creates Defined symbols for -defsym and linkerscript symbols early, so that issue from above can be addressed. It is based on Rafael Espindola's version of D38239 patch. Fixes PR34121. Differential revision: https://reviews.llvm.org/D41987 llvm-svn: 323729
-
Diana Picus authored
The work is done by the TableGen'erated code. llvm-svn: 323728
-
Diana Picus authored
Straightforward mapping (integer operand goes to GPR, floating point operand goes to FPR). llvm-svn: 323727
-
Diana Picus authored
Legal if we have hardware support for floating point, libcalls otherwise. Also add the necessary support for libcalls in the legalizer helper. llvm-svn: 323726
-
Martin Storsjö authored
Differential Revision: https://reviews.llvm.org/D42621 llvm-svn: 323725
-
Craig Topper authored
llvm-svn: 323724
-
Vedant Kumar authored
llvm-svn: 323723
-
Yan Zhang authored
add prefix with '_' support for property name. Corresponding apple dev doc: https://developer.apple.com/library/content/qa/qa1908/_index.html Reviewers: benhamilton, hokein Reviewed By: benhamilton Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D42464 llvm-svn: 323722
-
Wolfgang Pieb authored
[DWARF] Corrected test committed in r323670 to use llc instead of llc_dwarf to avoid multiple triples. llvm-svn: 323721
-
Marshall Clow authored
llvm-svn: 323720
-