- Jan 09, 2019
-
-
Evandro Menezes authored
Improve the modeling of ALU instructions. llvm-svn: 350663
-
Evandro Menezes authored
Add more entropy to the test cases. llvm-svn: 350662
-
Evandro Menezes authored
llvm-svn: 350661
-
Stephen Kelly authored
Summary: There is no reason for it to not be a StringRef. Making it one simplifies existing code, and makes follow-up features easier. Reviewers: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D56415 llvm-svn: 350660
-
Jonas Devlieghere authored
I was looking at the code in BreakpointList.cpp and found it deserved a quick cleanup. - Use std::vector instead of a std::list. - Extract duplicate code for notifying. - Remove code duplication when returning a const value. - Use range-based for loop. - Use early return in loops. Differential revision: https://reviews.llvm.org/D56425 llvm-svn: 350659
-
David Carlier authored
- Is a file descriptor flavor FreeBSD's specific. - reentrant version included. Reviewers: vitalybuka, krytarowski, emaste Reviewed By: emaste Differential Revision: https://reviews.llvm.org/D56268 llvm-svn: 350658
-
Jorge Gorbe Moya authored
Differential Revision: https://reviews.llvm.org/D56452 llvm-svn: 350657
-
Zachary Turner authored
Starting in C++17, MSVC introduced a new mangling for function parameters that are themselves noexcept functions. This patch makes llvm-undname properly demangle them. Patch by Zachary Henkel Differential Revision: https://reviews.llvm.org/D55769 llvm-svn: 350656
-
Zachary Turner authored
This generates -Wnonportable-include-dir warnings, and doesn't need to be there. It seems this was just checked in on accident. llvm-svn: 350655
-
Adrian Prantl authored
Revert "Revert "Revert "Resubmit rL345008 "Split MachinePipeliner code into header and cpp files"""" This reverts commit D56084. llvm-svn: 350654
-
https://reviews.llvm.org/D56084.Adrian Prantl authored
This reverts commit r350650 llvm-svn: 350653
-
Jonas Devlieghere authored
PdbAstBuilder.cpp:273:20: warning: unused function 'GetParentUniqueName' [-Wunused-function] PdbAstBuilder.cpp:267:13: warning: unused function 'IsUniqueNameEnumTag' [-Wunused-function] llvm-svn: 350652
-
Adrian Prantl authored
llvm-svn: 350651
-
https://reviews.llvm.org/D56084Adrian Prantl authored
This unbreaks all bots that build with -DLLVM_ENABLE_MODULES=1 llvm-svn: 350650
-
Louis Dionne authored
Summary: r306722 added diagnostics when aligned allocation is used with deployment targets that do not support it, but the first macosx supporting aligned allocation was incorrectly set to 10.13. In reality, the dylib shipped with macosx10.13 does not support aligned allocation, but the dylib shipped with macosx10.14 does. Reviewers: ahatanak Subscribers: christof, jkorous, dexonsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D56445 llvm-svn: 350649
-
Philip Pfaffe authored
llvm-svn: 350648
-
Philip Pfaffe authored
A straightforward port of tsan to the new PM, following the same path as D55647. Differential Revision: https://reviews.llvm.org/D56433 llvm-svn: 350647
-
Sanjay Patel authored
llvm-svn: 350646
-
Erich Keane authored
Windows doesn't allow common with alignment >32 bits, so these tests were broken in windows mode. This patch makes 'common' optional in these cases. Change-Id: I4d5fdd07ecdafc3570ef9b09cd816c2e5e4ed15e llvm-svn: 350645
-
JF Bastien authored
Alignment of __block isn't relevant to this test, remove its checking. llvm-svn: 350644
-
Erich Keane authored
As reported in PR33035, LLVM crashes if given a common object with an alignment of greater than 32 bits. This is because the COFF file format does not support these alignments, so emitting them is broken anyway. This patch changes any global definitions greater than 32 bit alignment to no longer be in 'common'. https://bugs.llvm.org/show_bug.cgi?id=33035 Differential Revision: https://reviews.llvm.org/D56391 Change-Id: I48609289753b7f3b58c5e2bc1712756750fbd45a llvm-svn: 350643
-
Erik Pilkington authored
Thanks to Richard Smith for pointing this out. llvm-svn: 350642
-
Paul Robinson authored
llvm-svn: 350641
-
Anna Thomas authored
Summary: This fixes the IDom for exit blocks and all blocks reachable from the exit blocks, when runtime unrolling under multiexit/exiting case. We initially had a restrictive check that the IDom is only updated when it is the header of the loop. However, we also need to update the IDom to the correct one when the IDom is any block within the original loop. See added test cases (which fail dom tree verification without the patch). Reviewers: reames, mzolotukhin, mkazantsev, hfinkel Reviewed by: brzycki, kuhar Subscribers: zzheng, dmgreen, llvm-commits Differential Revision: https://reviews.llvm.org/D56284 llvm-svn: 350640
-
Erik Pilkington authored
This reverts commit r350585. There was some late post-commit review on phab. llvm-svn: 350639
-
Alexander Kornienko authored
Summary: `buildASTFromCodeWithArgs()` was creating a memory buffer referencing a stack-allocated string. This diff changes the implementation to copy the code string into the memory buffer so that said buffer owns the memory. Patch by Yitzhak Mandelbaum. Reviewers: alexfh Reviewed By: alexfh Subscribers: cfe-commits, EricWF Differential Revision: https://reviews.llvm.org/D55765 llvm-svn: 350638
-
Yonghong Song authored
Commit f1db33c5c1a9 ("[BPF] Disable relocation for .BTF.ext section") assigned relocation type R_BPF_NONE if the fixup type is FK_Data_4 and the symbol is temporary. The reason is we use FK_Data_4 as a fixup type for insn offsets in .BTF.ext section. Just checking whether the symbol is temporary is not enough. For example, .debug_info may reference some strings whose fixup is FK_Data_4 with a temporary symbol as well. To truely reflect the case for .BTF.ext section, this patch further checks that the section associateed with the symbol must be SHF_ALLOC and SHF_EXECINSTR, i.e., in the text section. This fixed the above-mentioned problem. Signed-off-by:Yonghong Song <yhs@fb.com> llvm-svn: 350637
-
Paul Robinson authored
Finishes off the functional part of PR36168. Differential Revision: https://reviews.llvm.org/D56393 llvm-svn: 350636
-
Bruno Ricci authored
Use the newly available space in the bit-fields of Stmt. This saves one pointer per CXXScalarValueInitExpr. NFC. llvm-svn: 350635
-
- Jan 08, 2019
-
-
Alexey Bataev authored
Prohibited use of the orphaned cancellation directives. llvm-svn: 350634
-
Haojian Wu authored
Summary: Unfortunately, yaml::Input::setCurrentDocument() and yaml::Input::nextDocument() are internal APIs, the way we use them may cause a nullptr accessing when processing an empty YAML file. Reviewers: ilya-biryukov Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits Differential Revision: https://reviews.llvm.org/D56442 llvm-svn: 350633
-
Nico Weber authored
Differential Revision: https://reviews.llvm.org/D56375 llvm-svn: 350632
-
Nico Weber authored
Now that the PowerPC and WebAssembly targets are added, this check passes. Differential Revision: https://reviews.llvm.org/D56417 llvm-svn: 350631
-
Florian Hahn authored
This patch adds a convenience report() method for physical registers and uses it to print the offending register with the 'MBB has allocatable live-in' error. Reviewers: MatzeB, rtereshin, dsanders Reviewed By: dsanders Differential Revision: https://reviews.llvm.org/D55946 llvm-svn: 350630
-
Nico Weber authored
The PowerPC target itself is similar to the X86 target in https://reviews.llvm.org/rL348903 The llvm-exegesis unittests bits are similar to the corresponding AArch64 in https://reviews.llvm.org/rL350499 The whole patch is very similar to the WebAssembly target being added in https://reviews.llvm.org/rL350628 Also add a dep from tools/llvm-exegesis/lib to the AArch64 subdir, which I failed to do in r350499. The motivation for this target is solely that it has a unit test and I want to enable the GN<->CMake unittest syncing check for llvm. Differential Revision: https://reviews.llvm.org/D56416 llvm-svn: 350629
-
Nico Weber authored
The WebAssembly target itself is similar to the X86 target in https://reviews.llvm.org/rL348903 The unittests bits are similar to the corresponding AArch64 in https://reviews.llvm.org/rL350499 The motivation for this target is solely that it has a unit test and I want to enable the GN<->CMake unittest syncing check for llvm. (After this, only the PowerPC target is needed and I can turn it on.) Differential Revision: https://reviews.llvm.org/D56374 llvm-svn: 350628
-
Bruno Ricci authored
Use the newly available space in the bit-fields of Stmt. This saves one pointer per CXXNoexceptExpr/SubstNonTypeTemplateParmExpr. Use this opportunity to run clang-format on these two classes and fix some style issues. NFC overall. llvm-svn: 350627
-
Petr Pavlu authored
Commit rL347861 introduced an unintentional change in the behaviour when compiling for AArch64 at -O0 with -global-isel=0. Previously, explicitly disabling GlobalISel resulted in using FastISel but an updated condition in the commit changed it to using SelectionDAG. The patch fixes this condition and slightly better organizes the code that chooses the instruction selector. Fixes PR40131. Differential Revision: https://reviews.llvm.org/D56266 llvm-svn: 350626
-
Bruno Ricci authored
Use the newly available space in the bit-fields of Stmt. Additionally store FirstQualifierFoundInScope as a trailing object since it is most of the time null (non-null for 2 of the 35446 CXXDependentScopeMemberExpr when parsing all of Boost). It would be possible to move the data for the nested-name-specifier to a trailing object too to save another 2 pointers, however doing so did actually regress the time taken to parse all of Boost slightly. This saves 8 bytes + 1 pointer per CXXDependentScopeMemberExpr in the vast majority of cases. Differential Revision: https://reviews.llvm.org/D56367 Reviewed By: rjmccall llvm-svn: 350625
-
Philip Pfaffe authored
The new-pm version of DA is untested. Testing requires a printer, so add that and use it in the existing DA tests. Differential Revision: https://reviews.llvm.org/D56386 llvm-svn: 350624
-