- Oct 29, 2020
-
-
Sam McCall authored
auto must be used for the code to parse. Differential Revision: https://reviews.llvm.org/D89700
-
Mehdi Amini authored
Getting the body of a Module is a common need which justifies a dedicated accessor instead of forcing users to go through the region->blocks->front unwrapping manually. Differential Revision: https://reviews.llvm.org/D90287
-
Fangrui Song authored
Spot by Craig Topper.
-
Dylan McKay authored
This patch modifies the Clang AVR toolchain so that it always passes the '-Tdata=0x800100' to the linker for ATmega328 devices. This matches AVR-GCC behaviour, and also corresponds to the address of the start of the data section in data space according to the ATmega328 datasheet. Without this, clang does not produce a valid ATmega328 binary. When targeting all non-ATmega328 chips, a warning will be emitted due to the fact that proper handling for the chips data section address is not yet implemented. I've held off adding other microcontrollers for now, mostly because the AVR toolchain logic is smeared across LLVM core TableGen files, and two Clang libraries. The 'family detection' logic is also only implemented for ATmega328 at the moment, for similar reasons. In the future, I aim to write an RFC to llvm-dev to find a better way for LLVM to expose target-specific details such as these to compiler frontends. Differential Revision: https://reviews.llvm.org/D86629
-
Tom Weaver authored
both deferred_globals.cpp namespace.cpp require lldb in order to run and will fail if it's not available. add the required lines to the top of the tests.
-
Kadir Cetinkaya authored
-
Thomas Lively authored
Rename __builtin_wasm_q15mulr_saturate_s_i8x16 to __builtin_wasm_q15mulr_saturate_s_i16x8, fixing the implied lane interpretation of the result.
-
Jay Foad authored
-
Heejin Ahn authored
Differential Revision: https://reviews.llvm.org/D90294
-
Thomas Lively authored
As proposed in https://github.com/WebAssembly/simd/pull/376. This commit implements new builtin functions and intrinsics for these instructions, but does not yet add them to wasm_simd128.h because they have not yet been merged to the proposal. These are the first instructions with opcodes greater than 0xff, so this commit updates the MC layer and disassembler to handle that correctly. Differential Revision: https://reviews.llvm.org/D90253
-
Paul C. Anagnostopoulos authored
Use it in the AMDGPU target to eliminate !add(value1, !mul(value2, -1)) Differential Revision: https://reviews.llvm.org/D90107
-
Matt Arsenault authored
The MIR parser may infer SSA, so -run-pass=regallocgreedy would hit a verifier error after multiple vreg defs are added.
-
- Oct 28, 2020
-
-
Sebastian Neubauer authored
-
Fangrui Song authored
Fixes https://github.com/ClangBuiltLinux/linux/issues/1186 If a non-SHF_LINK_ORDER orphan is added first, `firstIsec->flags & SHF_LINK_ORDER` will be zero and we currently assert when calling `getLinkOrderDep`. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D90200
-
Simon Pilgrim authored
As discussed on PR26418 rGea84dc95 incorrectly set the knl cpuname to tremont (and missed out the tremont cpuname entirely).
-
Nathan James authored
Remove the need to heap allocate a string for each style option lookup while reading or writing options.p Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D90244
-
Simon Pilgrim authored
This seems to due to a bad merge by rG156e8b37
-
Ulrich Weigand authored
This test is currently marked as XFAIL on s390x, but it is randomly passing, causing build bot issues. Setting as UNSUPPORTED for now.
-
Simon Pilgrim authored
MSVC was complaining as it couldn't see the Base::ChildIteratorBase default constructor.
-
Florian Hahn authored
Also re-generate the check lines using update_llc_test_checks.py.
-
Jay Foad authored
This is in preparation for fixing some spurious double spaces in the disassembly.
-
Djordje Todorovic authored
Basically, this just improves the dump of the Value stored within a location. If the defining instruction number is zero, it means it is "live-in". Before the patch: ESI --> bb 0 inst 0 loc ESI After: ESI --> Value{bb: 0, inst: live-in, loc: ESI} This is an NFC. Differential Revision: https://reviews.llvm.org/D90309 -
JonChesterfield authored
[libomptarget][nvptx] Undef, weak shared variables Shared variables on nvptx, and LDS on amdgcn, are uninitialized at the start of kernel execution. Therefore create the variables with undef instead of zeros, motivated in part by the amdgcn back end rejecting LDS+initializer. Common is zero initialized, which seems incompatible with shared. Thus change them to weak, following the direction of https://reviews.llvm.org/rG7b3eabdcd215 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D90248
-
Nabeel Omer authored
deferred_globals.cpp: Verify that debug information for a local variable does not hide a global definition that has the same name namespace.cpp: Ensure that the debug information for a global variable includes namespace information. Differential Revision: https://reviews.llvm.org/D89462 Author: Nabeel Omer <nabeel.omer@sony.com>
-
Georgii Rymar authored
In rG6d656c96 I had to relax the check from `CONTENT: 21 3c 61 72 63 68 3e 0a 12{{$}}` to `CONTENT: 21 3c 61 72 63 68 3e 0a 12` to fix the FreeBSD bot quickly: http://lab.llvm.org:8011/#/builders/28/builds/547 It turns out that "od" prints a trailing white space on FreeBSD, that is why EOL mark ({{$}}) can't be used. But we still want to check the output size. This patch adds a check of output size with "wc -c", similar to how it is done below in the same test. This restores the original strictness.
-
Louis Dionne authored
<locale.h> is lower level than <__locale>, so that's where we want the error to live for systems that don't provide localization support.
-
Louis Dionne authored
The explicit call to `std::setlocale(LC_ALL, "C")` isn't required, since the Standard already says the equivalent of this call is performed on program startup.
-
Georgii Rymar authored
Seems that llvm-ar has a different behavior on MAC and BB fails: http://45.33.8.238/mac/22696/log.txt This replaces llvm-ar with yaml2obj.
-
Paul C. Anagnostopoulos authored
-
Georgii Rymar authored
It was added in D89949. FreeBSD bot fails: http://lab.llvm.org:8011/#/builders/28/builds/547
-
LLVM GN Syncbot authored
-
Qingyi Liu authored
Added lowering rule from `SinOp` to `__nv_sinf` and `__nv_sin` Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D90147
-
Florian Hahn authored
This patch adds a new reduction pass that tries to remove aliases. It runs early, as most of those likely can be removed up-front in practice. This substantially improves llvm-reduce for IR generated by the swift compiler, which can generate a lot of aliases which lead to lots of invalid reductions. Reviewed By: lebedev.ri Differential Revision: https://reviews.llvm.org/D90260
-
Paul C. Anagnostopoulos authored
Add a few cross-references among TableGen documents. Differential Revision: https://reviews.llvm.org/D90186 Add cross-references between TableGen documents.
-
Benjamin Kramer authored
-
Benjamin Kramer authored
This reverts commit d981c7b7 and a87d7b3d. Test fails under msan.
-
Georgii Rymar authored
The libbogus11.a archive was removed by D90013. But it is used by another test: llvm-objdump\MachO\disassemble-g-dsym.test BB failture: http://lab.llvm.org:8011/#/builders/109/builds/1450
-
Jay Foad authored
-
Georgii Rymar authored
Currently the test uses 14 precompiled binaries. With the functionality implemented in D89949, it is possible to remove them and use YAMLs instead. Differential revision: https://reviews.llvm.org/D90013
-
LLVM GN Syncbot authored
-