- Mar 08, 2020
-
-
Nathan Chancellor authored
GCC does not warn on casts from pointers to enumerators, while clang currently does: https://godbolt.org/z/3DFDVG This causes a bunch of extra warnings in the Linux kernel, where certain structs contain a void pointer to avoid using a gigantic union for all of the various types of driver data, such as versions. Add a diagnostic that allows certain projects like the kernel to disable the warning just for enums, which allows those projects to keep full compatibility with GCC but keeps the intention of treating casts to integers and enumerators the same by default so that other projects have the opportunity to catch issues not noticed before (or follow suite and disable the warning). Link: https://github.com/ClangBuiltLinux/linux/issues/887 Reviewed By: rjmccall Differential Revision: https://reviews.llvm.org/D75758
-
Craig Topper authored
[X86] Add DAG combine to replace vXi64 vzext_movl+scalar_to_vector with vYi32 vzext_movl+scalar_to_vector if the upper 32 bits of the scalar are zero. We can just use a 32-bit copy and zero in the SSE domain when we zero the upper bits. Remove an isel pattern that becomes dead with this.
-
Craig Topper authored
-
Craig Topper authored
Remove now unneeded isel patterns.
-
Argyrios Kyrtzidis authored
[Index/USRGeneration] Make sure that ObjC properties in categories also get namescoped properly for USR generation If the property is in a category that has module names from external_declaration property, make sure they are included in the USR. rdar://59897320
-
- Mar 07, 2020
-
-
kpdev authored
-
- Mar 08, 2020
-
-
Rafael Ávila de Espíndola authored
This fixes https://bugs.llvm.org/show_bug.cgi?id=45096 Differential Revision: https://reviews.llvm.org/D75701
-
- Mar 07, 2020
-
-
Ruyman authored
Summary: User can select the version of SYCL the compiler will use via the flag -sycl-std, similar to -cl-std. The flag defines the LangOpts.SYCLVersion option to the version of SYCL. The default value is undefined. If driver is building SYCL code, flag is set to the default SYCL version (1.2.1) The preprocessor uses this variable to define CL_SYCL_LANGUAGE_VERSION macro, which should be defined according to SYCL 1.2.1 standard. Only valid value at this point for the flag is 1.2.1. Co-Authored-By:
David Wood <Q0KPU0H1YOEPHRY1R2SN5B5RL@david.davidtw.co> Signed-off-by:
Ruyman Reyes <ruyman@codeplay.com> Subscribers: ebevhan, Anastasia, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D72857
-
- Mar 08, 2020
-
-
Craig Topper authored
-
Mehdi Amini authored
It is almost identical to the top-level .clang-tidy, except that {Member,Parameter,Variable}Case use camelBack. -
Michał Górny authored
-
Nikita Popov authored
Fixes a regression from D75801. SimplifyDemandedUseBits() is also supposed to compute the known bits (of the demanded subset) of the instruction. For unknown instructions it does so by directly calling computeKnownBits(). For known instructions it will compute known bits itself. However, for instructions where only some cases are handled directly (e.g. a constant shift amount) the known bits invocation for the unhandled case is sometimes missing. This patch adds the missing calls and thus removes the main discrepancy with ExpensiveCombines mode. Differential Revision: https://reviews.llvm.org/D75804
-
Matt Arsenault authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
-
- Mar 07, 2020
-
-
Sanjay Patel authored
-
Sanjay Patel authored
-
Sourabh Singh Tomar authored
functions.
-
Stefanos Baziotis authored
It is possible that an instruction to be changed to unreachable is in the same block with a terminator that can be constant-folded. In this case, as of now, the instruction will be changed to unreachable before the terminator is folded. But, then the whole BB becomes invalidated and so when we go ahead to fold the terminator, we trap. Change the order of these two. Differential Revision: https://reviews.llvm.org/D75780
-
River Riddle authored
MSVC MSVC has problems if the type of the bitfield is different, leading to invalid code generation.
-
Mason Remy authored
Summary: On Windows, building `mlir_c_runner_utils` doesn't properly export symbols, thus resulting in an implib not being created, which causes an error when consuming LLVM from external projects. Differential Revision: https://reviews.llvm.org/D75769
-
Uday Bondhugula authored
Summary: - remove stray toAffineExpr decl in affine analysis (name duplicate of mlir::toAffineExpr) - rename mlir::toAffineExpr for better readability - related NFC changes Signed-off-by:
Uday Bondhugula <uday@polymagelabs.com> Differential Revision: https://reviews.llvm.org/D75694
-
Amara Emerson authored
This reverts commit 5583c2f2. The lldb bot failure was a test that was fragile and sensitive to irrelevant changes in instruction ordering. Re-committing this as the test should have been skipped for AArch64 now. Differential Revision: https://reviews.llvm.org/D75555
-
Hal Finkel authored
-
Hal Finkel authored
This is an update to the documentation of our community code-review process. Based on the RFC: High-Level Code-Review Documentation Update (http://lists.llvm.org/pipermail/llvm-dev/2019-November/136808.html). In this patch, I've pulled out the documentation into a separate file, and broken it into a number of subsections. This is, of course, just one further step in better documenting our community processes. I expect we'll continue to improve this over time. Thank you to everyone who provided feedback! Differential Revision: https://reviews.llvm.org/D71916
-
River Riddle authored
MSVC qualifies the Effect reference contextually depending on where the template is instantiated, leading to compiler failures if there is a different Effect class defined.
-
Nico Weber authored
-
Raphael Isemann authored
There is still the bug that empty lines seem to skip any following expressions and it makes it harder to commend between all the comments. Let's make this a normal test instead which is just slightly more verbose but can be properly formatted.
-
Raphael Isemann authored
-
Greg Clayton authored
Summary: The wrong variable was being checked for an error, which mean a llvm::Error went unchecked and crashes dsymutil. Discovered this when trying to feed an ELF file to "dsymutil --update" and running into the crash. Reviewers: aprantl, JDevlieghere Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75777
-
Petr Hosek authored
This change has two components. The moves the generated file for a namespace to the directory named after the namespace in a file named 'index.<format>'. This greatly improves the browsing experience since the index page is shown by default for a directory. The second improves the markdown output by adding the links to the referenced pages for children objects and the link back to the source code. Patch By: Clayton Differential Revision: https://reviews.llvm.org/D72954
-
Raphael Isemann authored
Summary: Compiling ObjC++ with Clang modules is usually not working well and compiling the small debugserver with modules is not worth the trouble. Reviewers: JDevlieghere Reviewed By: JDevlieghere Subscribers: mgorny, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D74891
-
Raphael Isemann authored
Summary: This is currently hidden in the Host CMakeLists but we should also use this macro in other parts of LLDB where we have ObjC++ sources (see D74891) Reviewers: JDevlieghere Reviewed By: JDevlieghere Subscribers: mgorny, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D75164
-
Raphael Isemann authored
Summary: Provide a list of Unix signals for the tap completion for command "process signal". Reviewers: teemperor Subscribers: labath, jingham, JDevlieghere, lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D75418
-
Akira Hatanaka authored
__builtin_os_log_format This is needed to keep all the objects, including temporaries returned by function calls, written to the buffer alive until os_log_pack_send is called. rdar://problem/60105410
-
Stephen Neuendorffer authored
Goal is also to document best naming practices from here: https://llvm.discourse.group/t/rfc-canonical-file-paths-to-dialects/621 Differential Revision: https://reviews.llvm.org/D75762
-
Raphael Isemann authored
Summary: This patch inlines all the single-line functions that we only use once in the test and replaces the assertTrue with an assertEquals to improve the error message when this test fails. Reviewers: JDevlieghere Reviewed By: JDevlieghere Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D75497
-
Stephen Neuendorffer authored
This line was inadvertantly left off, which results in missing dependencies and a potentially broken build
-