- Apr 03, 2020
-
-
Benjamin Kramer authored
Same funcitonality, but a bit friendlier for users passing it along to APIs that take ArrayRefs.
-
Louis Dionne authored
This test regressed with 5ade17e0, but we never noticed it because .pass.mm tests were skipped due to a bug in our Lit config. This commit fixes is_pointer (by essentially reverting tha part of 5ade17e0) and also adds .pass.mm tests to the list of supported test suffixes. We can explore how to support __is_pointer with Objective-C++ qualifiers as a follow-up -- the main goal of this commit is to fix the regression quickly and make sure all tests of the suite are run.
-
Guillaume Chatelet authored
-
Louis Dionne authored
AppleClang seems to support these extensions by default, but other compilers don't.
-
-
Simon Pilgrim authored
-
Simon Pilgrim authored
-
Sid Manning authored
A PC-relative relocation referencing a non-preemptible absolute symbol (due to STT_TLS) is not representable in -pie/-shared mode. Differential Revision: https://reviews.llvm.org/D77021
-
LLVM GN Syncbot authored
-
Sam McCall authored
Reviewers: hokein Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77348
-
Kadir Cetinkaya authored
This reverts commit 31b6e182. As it was breaking `arc diff` workflow for multiple people.
-
jasonliu authored
Summary: For current architect, we always require setContainingCsect to be called on every MCSymbol got used in XCOFF context. This is very hard to achieve because symbols gets created everywhere and other MCSymbol types(ELF, COFF) do not have similar rules. It's very easy to miss setting the containing csect, and we would need to add a lot of XCOFF specialized code around some common code area. This patch intendeds to do 1. Rely on getFragment().getParent() to get csect from labels. 2. Only use get/setRepresentedCsect (was get/setContainingCsect) if symbol itself represents a csect. Reviewers: DiggerLin, hubert.reinterpretcast, daltenty Differential Revision: https://reviews.llvm.org/D77080
-
Simon Atanasyan authored
1. It's redundant to explicitly check that string does not contain `PAUSE_MM` token if check that the `PAUSE` token is followed by an angle bracket. 2. The removed `CHECK-NOT` directives do not have trailing colons.
-
Guillaume Chatelet authored
Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77312
-
Simon Pilgrim authored
[X86][AVX] Add tests showing failure to use chained PACKSS/PACKUS for multi-stage compaction shuffles The sign/zero extended top bits mean that we could use chained PACK*S ops here
-
Yaxun (Sam) Liu authored
Differential Revision: https://reviews.llvm.org/D77329
-
Konrad Kleine authored
Summary: This commit just tries to invert some `if`'s logic to `return`/`continue` early. Reviewers: jankratochvil, teemperor Reviewed By: jankratochvil, teemperor Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D77377
-
Martin Probst authored
Summary: C++ defines a number of keywords that are regular identifiers in JavaScript, e.g. `concept`: const concept = 1; // legit JS This change expands the existing `IsJavaScriptIdentifier(Tok)` function to return false for C++ keywords that aren't keywords in JS. Reviewers: krasimir Subscribers: jfb, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D77311 -
Denis Khalikov authored
Summary: Add support for 3D memrefs in mlir-vulkan-runner and simple test. Differential Revision: https://reviews.llvm.org/D77157
-
Benjamin Kramer authored
-
Benjamin Kramer authored
-
Peter Smith authored
In the near future llvm-mc will resolve the fixups that generate R_ARM_THUMB_PC8 and R_ARM_THUMB_PC12 at assembly time (see comments in D72892), and forbid inter-section references. Change the LLD tests for these relocations to use .inst and .reloc to avoid LLD tests failing when this happens. The tests generate the same instructions, relocations and symbols. I will need to make equivalent changes for D75349 Arm equivalent relocations, but this is still in review so these don't need changing before llvm-mc. Differential Revision: https://reviews.llvm.org/D77200
-
Guillaume Chatelet authored
Summary: This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77297
-
Jay Foad authored
-
Guillaume Chatelet authored
Summary: The change in IRTranslator is not trivial but is NFC as far as I can tell. This is patch is part of a series to introduce an Alignment type. See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this patch for the introduction of the type: https://reviews.llvm.org/D64790 Reviewers: courbet Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77292
-
Vitaly Buka authored
LLVM includes .clang-format files which must be respected.
-
OCHyams authored
Reviewed By: vsk, aprantl, djtodoro Differential Revision: https://reviews.llvm.org/D77318
-
Guillaume Chatelet authored
Summary: I think it would be better to require the alignment to be >= 1. It is currently confusing to allow both values. Reviewers: courbet Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77372
-
scentini authored
-
Scott Constable authored
This pass replaces each indirect call/jump with a direct call to a thunk that looks like: lfence jmpq *%r11 This ensures that if the value in register %r11 was loaded from memory, then the value in %r11 is (architecturally) correct prior to the jump. Also adds a new target feature to X86: +lvi-cfi ("cfi" meaning control-flow integrity) The feature can be added via clang CLI using -mlvi-cfi. This is an alternate implementation to https://reviews.llvm.org/D75934 That merges the thunk insertion functionality with the existing X86 retpoline code. Differential Revision: https://reviews.llvm.org/D76812 -
scentini authored
-
Igor Kudrin authored
The old name was a bit misleading because the functions actually return contributions to the corresponding sections. Differential revision: https://reviews.llvm.org/D77302
-
Sourabh Singh Tomar authored
Summary: This patch adds parsing and dumping DWARFv5 .debug_macro section in llvm-dwarfdump, it does not introduce any new switch. Existing switch "--debug-macro" should be used to dump macinfo or macro section. Reviewed By: dblaikie, ikudrin, jhenderson Differential Revision: https://reviews.llvm.org/D73086
-
Serguei Katkov authored
isGCValue should detect whether the deopt value is a GC pointer. Currently it checks by finding the value in SI.Bases and SI.Ptrs. However these data structures contain only those values which have corresponding gc.relocate call. So we can miss GC value if it does not have gc.relocate call (dead after the call). Check GC strategy whether pointer is GC one or consider any pointer to be GC one conservatively. Reviewers: reames, dantrushin Reviewed By: reames Subscribers: hiraditya, llvm-commits Differential Revision: https://reviews.llvm.org/D77130
-
Xiang1 Zhang authored
Author: Xiang1 Zhang <xiang1.zhang@intel.com> Date: Fri Apr 3 11:25:38 2020 +0800 Enable IBT(Indirect Branch Tracking) in JIT with CET(Control-flow Enforcement Technology) -
Scott Constable authored
Introduce a ThunkInserter CRTP base class from which new thunk types can inherit, e.g., thunks to mitigate https://software.intel.com/security-software-guidance/software-guidance/load-value-injection. Differential Revision: https://reviews.llvm.org/D76811
-
LLVM GN Syncbot authored
-
Scott Constable authored
There are applications for indirect call/branch thunks other than retpoline for Spectre v2, e.g., https://software.intel.com/security-software-guidance/software-guidance/load-value-injection Therefore it makes sense to refactor X86RetpolineThunks as a more general capability. Differential Revision: https://reviews.llvm.org/D76810
-
Siddhartha Bagaria authored
D49116 was using clang-format-diff because at the time of its writing, it needed to handle the subversion repo as well. Differential Revision: https://reviews.llvm.org/D77363
-
laith sakka authored
Summary: Add mapping from exp2 math functions to corresponding SVML calls. This is a follow up and extension for llvm diff https://reviews.llvm.org/D19544 Test Plan: - update test case and run ninja check. - run tests locally Reviewers: wenlei, hoyFB, mmasten, mzolotukhin, spatel Reviewed By: spatel Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77114
-