- Feb 15, 2022
-
-
Louis Dionne authored
Instead of using the deprecated LLVM_ENABLE_PROJECTS build, use the default runtimes build. This is just as fast, but it's supported. Differential Revision: https://reviews.llvm.org/D119275
-
Dmitry Vassiliev authored
A global variable may have the same name as a label, and ptxas does not accept it. Prefix labels with $L__ to fix this. Reviewed By: MaskRay, tra Differential Revision: https://reviews.llvm.org/D119669
-
Jay Foad authored
Separate MCRegisterInfo::regsOverlap out from TargetRegisterInfo::regsOverlap. This is useful in the AMDGPU AsmParser where we only have access to MCRegisterInfo. Differential Revision: https://reviews.llvm.org/D119533
-
Joe Nash authored
An enum value stores the offset between AGPR ranges and VGPR ranges in the internal storage of SIInsertWaitcnts. It said 226 when it should say 256, causing some portion of the ranges to overlap. That in turn causes 'aliasing' between the registers, potentially inserting waitcnts that are not required. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D119749
-
Louis Dionne authored
We added one for libc++ recently, and this patch adds one for libc++abi. Also, as a fly-by fix, include older libunwind dylibs in the testing of libc++ and libc++abi, which fixes some issues related to running back-deployment tests on newer systems. Differential Revision: https://reviews.llvm.org/D119466
-
Joseph Huber authored
Currently whenever we compile the device runtime we get the following 'Mapping.cpp:32:32: warning: inline function '_OMP::impl::getGridValue' is not defined [-Wundefined-inline]' warning. This can be silenced by removing the constexpr attribute for this function. Doing this doesn't change the generated bitcode at all but prevents the screen from getting filled with warnings whenver we build the runtime. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D119747
-
Valentin Clement authored
This patch allows the lowring of simple empty function with a scalar integer or logical return value. The code in ConvertType.cpp is cleaned up as well. This file was landed together with the initial flang push and lowering was still a prototype at that time. Some more cleaning will come with follow up patches. This patch is part of the upstreaming effort from fir-dev branch. Reviewed By: PeteSteinfeld Differential Revision: https://reviews.llvm.org/D119698 Co-authored-by:
Jean Perier <jperier@nvidia.com>
-
Alex Lorenz authored
[clang][driver] add clang driver support for emitting macho files with two build version load commands This patch extends clang driver to pass the right flags to the clang frontend, and ld64, so that they can emit macho files with two build version load commands. It adds a new 0darwin-target-variant option which complements -target and also can be used to specify different target variants when multi-arch compilations are invoked with multiple -arch commands. Differential Revision: https://reviews.llvm.org/D118862
-
Martin Storsjö authored
This test feeds in the expected utf8 form of weekdays in various languages, trying to match what libc++ has gathered internally from `strftime()`. On glibc, the ru_RU.UTF-8 representation of the tested weekday is spelled with upper case, while the existing test reference is lower case. Differential Revision: https://reviews.llvm.org/D118237
-
Martin Storsjö authored
Also opt in to testing the hexadecimal float formatting for glibc; glibc does matches the current test references there. Differential Revision: https://reviews.llvm.org/D118238
-
Jonas Devlieghere authored
Instead trying to pro-actively determine if the first line in a crashlog contains meta data, change the heuristic to do the following: 1. To trying to parse the whole file. If that fails, then: 2. Strip the first line and try parsing the remainder of the file. If that fails, then: 3. Fall back to the textual crashlog parser. rdar://88580543 Differential revision: https://reviews.llvm.org/D119755 -
Jonas Devlieghere authored
Support for Python 2 was removed in Xcode 13. Differential revision: https://reviews.llvm.org/D119756
-
Arthur O'Dwyer authored
This should have been part of 3b470d1c.
-
Martin Storsjö authored
This fixes warnings about implicitly declared `_umul128` and `__shiftright128` when building for x86_64 with clang-cl. Use `_MSC_VER` instead of `_LIBCPP_COMPILER_MSVC` for enabling MSVC specific code; `_MSC_VER` is defined both in clang-cl and MSVC, while `_LIBCPP_COMPILER_MSVC` only is defined if building with the actual MSVC compiler. Include `ryu.h` at the head of `d2s_intrinsics.h`, as it uses the `_LIBCPP_64_BIT` define, which is defined in `ryu.h`. Now the Ryu files build without warnings with clang-cl for i386, x86_64, arm and aarch64. Differential Revision: https://reviews.llvm.org/D119647
-
Jonathan Peyton authored
Introduce KMP_COMPILER_ICX macro to represent compilation with oneAPI compiler. Fixup flag detection and compiler ID detection in CMake. Older CMake's detect IntelLLVM as Clang. Fix compiler warnings. Fixup many of the tests to have non-empty parallel regions as they are elided by oneAPI compiler.
-
Joe Nash authored
Due to a typo of 256 to 226, the SIInsertWaitcnt pass thinks several registers are aliased from a waitcnt PoV including vgpr226 and agpr0, vgpr227 and agpr1... This is a test of the behavior. NFC. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D119750
-
LLVM GN Syncbot authored
-
LLVM GN Syncbot authored
-
Raman Tenneti authored
Disable getenv_test. Reviewed By: rtenneti Differential Revision: https://reviews.llvm.org/D119758
-
Nikolas Klauser authored
Reviewed By: ldionne, Quuxplusone, #libc Spies: arichardson, mstorsjo, libcxx-commits, mgorny Differential Revision: https://reviews.llvm.org/D119152
-
Raman Tenneti authored
Removed getenv from entrypoints. Reviewed By: rtenneti Differential Revision: https://reviews.llvm.org/D119753
-
Sanjay Patel authored
-
Snehasish Kumar authored
This reverts commit 9def83c6. [4/4]
-
Snehasish Kumar authored
This reverts commit 9b671652. [3/4]
-
Snehasish Kumar authored
This reverts commit 14cc41a0. [2/4]
-
Snehasish Kumar authored
This reverts commit de54e4ab [1/4]
-
Louis Dionne authored
-
Ahmed Bougacha authored
This introduces a new "ptrauth" operand bundle to be used in call/invoke. At the IR level, it's semantically equivalent to an @llvm.ptrauth.auth followed by an indirect call, but it additionally provides additional hardening, by preventing the intermediate raw pointer from being exposed. This mostly adds the IR definition, verifier checks, and support in a couple of general helper functions. Clang IRGen and backend support will come separately. Note that we'll eventually want to support this bundle in indirectbr as well, for similar reasons. indirectbr currently doesn't support bundles at all, and the IR data structures need to be updated to allow that. Differential Revision: https://reviews.llvm.org/D113685
-
LLVM GN Syncbot authored
-
Louis Dionne authored
-
Jason Molenda authored
ObjectFileMachO, for a couple of special binaries at the initial launch, needs to find segment load addresses before the Target's SectionLoadList has been initialized. The calculation to find the first segment, which is at the same address as the mach header, was not correct if the binary was in the Darwin shared cache. Update the logic to handle that case. Differential Revision: https://reviews.llvm.org/D119602 rdar://88802629
-
Shraiysh Vaishay authored
This patch changes the argument from template-IRBuilder to IRBuilderBase thus allowing us to write less code while getting the location from a builder. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D119717
-
Aaron Ballman authored
Post-commit review feedback suggested dropping the deprecated diagnostic for the 'noreturn' macro (the diagnostic from the header file suffices and the macro diagnostic could be confusing) and to only issue the deprecated diagnostic for [[_Noreturn]] when the attribute identifier is either directly written or not from a system macro. Amends the commit made in 5029dce4.
-
Fangrui Song authored
-
Fangrui Song authored
-
Snehasish Kumar authored
This reverts commit 0f73fb18. Use llvm/Profile/MIBEntryDef.inc instead of relative path. Generated the raw profile data with `-mllvm -enable-name-compression=false` so that builbots where the reader is built without zlib do not fail. Also updated the test build instructions.
-
Andy Yankovsky authored
The test actually passes fine on Windows, since it doesn't use any static members. Follow-up to https://reviews.llvm.org/D113498
-
Peter Klausler authored
While one cannot of course statically initialize an allocatable component of an instance of a derived type, its mere presence should not prevent DATA initialization of the other nonallocatable components. Semantics was treating the existence of an allocatable component as a case of "default initialization", which it is, but not one that should run afoul of C877. Add another Boolean argument to IsInitialized() to allow for a more nuanced test. Differential Revision: https://reviews.llvm.org/D119449
-
Fangrui Song authored
-
Maksim Panchenko authored
When a jump table is recovered in postProcessIndirectBranches(), successors for the containing basic block are added in random order. Make the order deterministic. Reviewed By: yota9 Differential Revision: https://reviews.llvm.org/D119672
-