- Dec 02, 2020
-
-
Qiu Chaofan authored
In lowering of FLT_ROUNDS_, FPSCR content will be moved into FP register and then GPR, and then truncated into word. For subtargets without direct move support, it will store and then load. The load address needs adjustment (+4) only on big-endian targets. This patch fixes it on using generic opcodes on little-endian and subtargets with direct-move. Reviewed By: steven.zhang Differential Revision: https://reviews.llvm.org/D91845
-
Georgii Rymar authored
This: 1) Changes `reportWarning` to `reportUniqueWarning` (no-op here). 2) Adds more context to the message. 3) Merges `broken-dynsym-link.test` into `dyn-symbols.test`, adds more testing. Differential revision: https://reviews.llvm.org/D92380
-
Qiu Chaofan authored
Commit 6b1341eb fixed alignment for 128-bit FP types on PowerPC. However, the quadword alignment adjustment shouldn't be applied to IBM extended double (ppc_fp128 in IR) values. Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D92278
-
Georgii Rymar authored
This reverts a side effect introduced in the code cleanup patch D43571: LLD started to emit empty output sections that are explicitly assigned to a segment. This patch fixes the issue by removing the !sec.phdrs.empty() special case from isDiscardable. As compensation, we add an early phdrs propagation step (see the inline comment). This is similar to one that we do in adjustSectionsAfterSorting. Differential revision: https://reviews.llvm.org/D92301
-
Hanhan Wang authored
Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D92416
-
Marek Kurdej authored
Add codecvt*<char16_t, char8_t> and codecvt*<char32_t, char8_t>. Deprecate codecvt<char(16|32)_t, char>. Enable disabled tests. Update _LIBCPP_STD_VER to use 20 for C++20. Add _LIBCPP_DEPRECATED_IN_CXX20 macro. Reviewed By: ldionne, #libc, #libc_abi Differential Revision: https://reviews.llvm.org/D91517
-
Martin Storsjö authored
This fixes linking code that uses some bits of the <random> header on mingw targets. Differential Revision: https://reviews.llvm.org/D92379
-
Marek Kurdej authored
Also, add notes about exporting ABI symbols. Later, we can add notes about using git-clang-format before sending a patch for review. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D92300
-
Raphael Isemann authored
The 'AlignAsBaseClass' part was a leftover form the align_as test that served as the template for this test.
-
Max Kazantsev authored
-
Max Kazantsev authored
-
QingShan Zhang authored
i1 is the native type for PowerPC if crbits is enabled. However, we need to promote the i1 to i64 as we didn't have the pattern for i1. Reviewed By: Qiu Chao Fang Differential Revision: https://reviews.llvm.org/D92067
-
River Riddle authored
-
Nico Weber authored
Also, for .o files, include full path as given on link command line. Before: lld: error: undefined symbol [...], referenced from sandbox_logging.o After: lld: error: undefined symbol [...], referenced from libseatbelt.a(sandbox_logging.o) Move archiveName up to InputFile so we can consistently use toString() to print InputFiles in diags, and pass it to the ObjFile ctor. This matches the ELF and COFF ports. Differential Revision: https://reviews.llvm.org/D92437 -
Kazu Hirata authored
The definition was removed on Aug 7, 2018 in commit 640cb003, but the declaration has remained since.
-
Chen Zheng authored
Reviewed By: samparker Differential Revision: https://reviews.llvm.org/D92159
-
Heejin Ahn authored
This adds missing `select` instruction support and block return type support for reference types. Also refactors WebAssemblyInstrRef.td and rearranges tests in reference-types.s. Tests don't include `exnref` types, because we currently don't support `exnref` for `ref.null` and the type will be removed soon anyway. Reviewed By: tlively, sbc100, wingo Differential Revision: https://reviews.llvm.org/D92359
-
Fangrui Song authored
-
Arthur O'Dwyer authored
The static_assert in "libcxx/include/memory" was the main offender here, but then I figured I might as well `git grep -i instantat` and fix all the instances I found. One was in user-facing HTML documentation; the rest were in comments or tests.
-
Arthur O'Dwyer authored
I used a lot of `git grep` to find places where `std::` was being used outside of comments and assert-messages. There were three outcomes: - Qualified function calls, e.g. `std::move` becomes `_VSTD::move`. This is the most common case. - Typenames that don't need qualification, e.g. `std::allocator` becomes `allocator`. Leaving these as `_VSTD::allocator` would also be fine, but I decided that removing the qualification is more consistent with existing practice. - Names that specifically need un-versioned `std::` qualification, or that I wasn't sure about. For example, I didn't touch any code in <atomic>, <math.h>, <new>, or any ext/ or experimental/ headers; and I didn't touch any instances of `std::type_info`. In some deduction guides, we were accidentally using `class Alloc = typename std::allocator<T>`, despite `std::allocator<T>`'s type-ness not being template-dependent. Because `std::allocator` is a qualified name, this did parse as we intended; but what we meant was simply `class Alloc = allocator<T>`. Differential Revision: https://reviews.llvm.org/D92250 -
Arthur O'Dwyer authored
Since we know exactly which identifiers we expect to find in `chrono`, a using-directive seems like massive overkill. Remove the directives and qualify the names as needed. One subtle trick here: In two places I replaced `*__p` with `*__p.get()`. The former is an unqualified call to `operator*` on a class type, which triggers ADL and breaks the new test. The latter is a call to the built-in `operator*` on pointers, which specifically does NOT trigger ADL thanks to [over.match.oper]/1. Differential Revision: https://reviews.llvm.org/D92243
-
Arthur O'Dwyer authored
This follows on from D56698. I copied this fix (simpler than D92142's) from commit 66e6e374. Differential Revision: https://reviews.llvm.org/D92239
-
Heejin Ahn authored
Without this `-DBUILD_SHARED_LIBS=ON` doesn't work.
-
Tony authored
-
Tony authored
Differential Revision: https://reviews.llvm.org/D92441
-
Muhammad Omair Javaid authored
lldb-dotest breaks due to duplicate TestAlignAsBaseClass.py. I have renamed later version to TestAlignAsBaseClassNonTemplateParam.py.
-
Chen Zheng authored
Reviewed By: jsji Differential Revision: https://reviews.llvm.org/D92070
-
Kazushi (Jam) Marukawa authored
Add vcmp, vmax, and vmin intrinsic instructions and regression tests. Reviewed By: simoll Differential Revision: https://reviews.llvm.org/D92387
-
River Riddle authored
[mlir][PDL] Use .getOperation() when construction SuccessorRange to avoid ambiguous constructor in GCC5
-
Vitaly Buka authored
-
Nico Weber authored
-
zhanghb97 authored
The test process of the ir_array_attributes.py depends on numpy. This patch checks numpy in Python bindings configuration. - Add NumPy in find_package as a required component to check numpy. - If numpy is found, print the version and include directory. Differential Revision: https://reviews.llvm.org/D92276
-
Nico Weber authored
-
River Riddle authored
-
Jianzhou Zhao authored
Reviewed-by: eugenis Differential Revision: https://reviews.llvm.org/D92275
-
Eric Leese authored
Under existing behavior discarded functions are relocated to have the start pc 0. This causes problems when debugging as they typically overlap the first function and lldb symbol resolution frequently chooses a discarded function instead of the correct one. Using the value -1 or -2 (depending on which DWARF section we are writing) is sufficient to prevent lldb from resolving to these symbols. Reviewed By: MaskRay, yurydelendik, sbc100 Differential Revision: https://reviews.llvm.org/D91803
-
Leonard Chan authored
This recommits fdbd84c6 whose initial build issues were fixed in 19bdc8e5.
-
Jessica Paquette authored
llvm/test/CodeGen/AArch64/GlobalISel/speculative-hardening-brcond.mir had a slash in its runline.
-
Vitaly Buka authored
-
Fangrui Song authored
In addition, disallow `-lto-new-pass-manager` (see D79371). Note: the ELF port has also adopted --no-lto-new-pass-manager Reviewed By: aeubanks Differential Revision: https://reviews.llvm.org/D92422
-