- Dec 17, 2019
-
-
Nico Weber authored
The %update_cc_test_checks substitution only gets added if python3 is on path, so the test fails if it isn't. Don't run the test when it would fail. Also include the '%' in the arg to add_update_script_substition(), to help greppability.
-
Fangrui Song authored
-
Fangrui Song authored
This change only affects EM_386. relOff can be computed from `index` easily, so it is unnecessarily passed as a parameter. Both in.plt and in.iplt entries are written by writePLT. For in.iplt, the instruction `push reloc_offset` will change because `index` is now different. Fortunately, this does not matter because `push; jmp` is only used by PLT. IPLT does not need the code sequence. Reviewed By: grimar, ruiu Differential Revision: https://reviews.llvm.org/D71518
-
Fangrui Song authored
-
Nico Weber authored
-
Alexey Bataev authored
-
John McCall authored
directly to {read,write}UInt32. This will be useful for textual formats. NFC. -
John McCall authored
-
John McCall authored
-
John McCall authored
-
John McCall authored
This will be required by TemplateName.
-
John McCall authored
properties from a value. This is useful when the properties of a case are actually read out of a specific structure, as with TemplateName.
-
John McCall authored
-
John McCall authored
This patch doesn't actually use this serialization for anything, but follow-ups will move the current handling of various standard types over to this.
-
John McCall authored
-
John McCall authored
I'm going to introduce some uses of the property read/write methods.
-
John McCall authored
-
Alexey Bataev authored
-
Alexey Bataev authored
According to OpenMP 5.0, if clause can be used in for simd directive. If condition in the if clause if false, the non-vectorized version of the loop must be executed.
-
Julian Lettner authored
-
Sam McCall authored
Revert "[clangd] Reapply b60896fa Fall back to selecting token-before-cursor if token-after-cursor fails." This reverts commit a0ff8cd6. Buildbot failures I can't chase further tonight.
-
Jonas Paulsson authored
Now that the machine verifier will check for cases of register/immediate MachineOperands and their correspondence to the MC instruction descriptor, this patch adds the operand types to the descriptors where they were previously missing. All MCOI::OPERAND_UNKNOWN operand types have been handled to get a known type, except for G_... (global isel) instructions. Review: Ulrich Weigand https://reviews.llvm.org/D71494
-
Steven Wu authored
Summary: llvm-cxxfilt wasn't correctly demangle COFF import thunk in those two cases before: * demangle in split mode (multiple words from commandline) * the import thunk prefix was added no matter the later part of the string can be demangled or not Now llvm-cxxfilt should handle both case correctly. Reviewers: compnerd, erik.pilkington, jhenderson Reviewed By: jhenderson Subscribers: jkorous, dexonsmith, ributzka, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71425
-
Teresa Johnson authored
Summary: Follow-on to D66428 and D71193, to build the TLI per-function so that -fno-builtin* handling can be migrated to use function attributes. See discussion on D61634 for background. This is an enabler for fixing handling of these options for LTO, for example. With D71193, the -fno-builtin* flags are converted to function attributes, so we can now set this information per-function on the TLI. In this patch, the TLI constructor is changed to take a Function, which can be used to override the available builtins. The TLI is augmented with an array that can be used to specify which builtins are not available for the corresponding function. The available function checks are changed to consult this override before checking the underlying module level baseline TLII. New code is added to set this override array based on the attributes. I also removed the code that sets availability in the TLII in clang from the options, which is no longe...
-
Aaron Ballman authored
-
Sam Elliott authored
Summary: Add unwinding support for 64-bit RISC-V. This is from the FreeBSD implementation with the following minor changes: - Renamed and renumbered DWARF registers to match the RISC-V ABI [1] - Use the ABI mneumonics in getRegisterName() instead of the exact register names - Include checks for __riscv_xlen == 64 to facilitate adding the 32-bit ABI in the future. [1] https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md Patch by Mitchell Horne (mhorne) Reviewers: lenary, luismarques, compnerd, phosek Reviewed By: lenary, luismarques Subscribers: arichardson, sameer.abuasal, abidh, asb, aprantl, krytarowski, simoncook, kito-cheng, christof, shiva0217, rogfer01, rkruppe, PkmX, psnobl, benna, lenary, s.egerton, luismarques, emaste, cfe-commits Differential Revision: https://reviews.llvm.org/D68362
-
David Greene authored
If a function requires optnone to trigger a crash, it must also have noline, otherwise it will fail a verifier check. Differential revision: https://reviews.llvm.org/D69522
-
JonChesterfield authored
Revert "Revert "[libomptarget] Move resource id functions into target specific code, implement for amdgcn"" Summary: This reverts commit dd8a7fcd. Alexey reports undefined symbols for the new inline functions defined in target_impl.h This does not reproduce for me for nvptx, or amdgcn, under release or debug builds. I believe the patch is fine, based on: - the semantics of an inline function in C++ (the cuda INLINE functions end up as linkonce_odr in IR), which are only legal to drop if they have no uses - the code generated from a debug build of clang 9 does not show these undef symbols - the tests pass - the code is trivial To progress from here I either need: - A tie break - someone to play the role of CI in determining whether the patch works - Alexey to provide sufficient information about his build for me to reproduce the failure - Alexey to debug why the symbols are disappearing for him and report back Reviewers: ABataev, jdoerfert, grokos Subscribers:...
-
Miloš Stojanović authored
Check if the TargetStreamer can be accessed. Differential Revision: https://reviews.llvm.org/D71477
-
LLVM GN Syncbot authored
-
- Dec 16, 2019
-
-
Miloš Stojanović authored
Test latency with explicit register dependency, without and with forbidden registers. Differential Revision: https://reviews.llvm.org/D71471
-
Alexey Bataev authored
According to OpenMP 5.0, if clause can be used in for simd directive. If condition in the if clause if false, the non-vectorized version of the loop must be executed.
-
Erich Keane authored
As brought up in D71467, a group of floating point builtins automatically promoted floats to doubles because they used the variadic builtin tag to support an overload set. The result is that the parameters were treated as a variadic pack, which always promots float->double. This resulted in the wrong answer being given in cases with certain values of NaN.
-
Ulrich Weigand authored
Handle -march=native in systemz::getSystemZTargetCPU, similar to how this is done on other platforms. Also change the return type to std::string instead of const char *.
-
Sam McCall authored
[clangd] Reapply b60896fa Fall back to selecting token-before-cursor if token-after-cursor fails. This reverts commit 8f876d51.
-
Sam McCall authored
Revert "[clangd] Reapply b60896fa Fall back to selecting token-before-cursor if token-after-cursor fails." This reverts commit 2500a8d5.
-
Sam McCall authored
[clangd] Reapply b60896fa Fall back to selecting token-before-cursor if token-after-cursor fails. This reverts commit f0604e73 The issue with movability of Tweak::Selection was addressed in 7dc388bd
-
Sam McCall authored
-
Aaron Ballman authored
-
Dmitri Gribenko authored
This reverts commit d6417f55. The tests depend on builtin headers, which is not intentionally supported in clangd tests; these tests are broken in some build environments.
-