- Mar 04, 2023
-
-
Jeffrey Tan authored
Turns out breakpoint statistics is missing hitCount. This patches adds the hitCount field. Differential Revision: https://reviews.llvm.org/D145203
-
Daniel Thornburgh authored
This adds the --check-binary-id flag that makes sure that an object file is available for every binary ID mentioned in the given profile. This should help make the tool more robust in CI environments where it's expected that coverage mappings should be available for every object contributing to the profile. Reviewed By: gulfem Differential Revision: https://reviews.llvm.org/D144308
-
Jan Svoboda authored
Introduced in 86405450, caused by AIX defaulting to `-fno-integrated-as`.
-
zhijian authored
Summary: The llvm-readobj prints extra characters for the timestamp when --file-headers is used with an XCOFF file. This change updates the format string used to print the time. In addition, the timestamp is printed in the local timezone, and a thread-safe call is used to convert the time. Summit the patch on behalf of Stephen Peckham. Reviewers: James Henderson, Digger Lin Differential Revision: https://reviews.llvm.org/D144281
-
Daniel Thornburgh authored
Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D145187
-
Ragavan Dasarathan authored
I'm from Nvidia Corporation. I work primarily on the Security aspect of Compiler toolchains based out of LLVM. I would like to nominate myself to join the LLVM security group as a vendor contact representative of Nvidia. According to the information on the website, https://llvm.org/docs/Security.html, I fall under the following category: Vendor contacts. We are particularly interested in the following: - Being aware of any security vulnerability that has been found in the compiler in a timely manner. - Correctly reporting any vulnerabilities or other security issues we have found in the compiler stack. - Discussing our use of static analysis / dynamic analysis / fuzzing / threat modelling with the committee and raising any concerns that have risen from said activities. Looking forward to participating in further discussions and security sync ups with the rest of the committee Please let me know if I need to provide any other information required for this nomination. Thanks, Ragavan Reviewed By: ab, apilipenko, george.burgess.iv, kristof.beyls, mattdr, nikhgupt, probinson, peter.smith, pietroalbini Differential Revision: https://reviews.llvm.org/D144585
-
Michael Buch authored
With this patch member-function pointers are formatted using `CXXFunctionPointerSummaryProvider`. This turns, ``` (lldb) v pointer_to_member_func (void (Foo::*)()) ::pointer_to_member_func = 0x00000000000000000000000100003f94 ``` into ``` (lldb) v pointer_to_member_func (void (Foo::*)()) ::pointer_to_member_func = 0x00000000000000000000000100003f94 (a.out`Foo::member_func() at main.cpp:3) ``` Differential Revision: https://reviews.llvm.org/D145242
-
Michael Buch authored
Before this patch, LLDB used to format pointers to members, such as, ``` void (Foo::*pointer_to_member_func)() = &Foo::member_func; ``` as `eFormatBytes`. E.g., ``` (lldb) v pointer_to_member_func (void (Foo::*)()) $1 = 94 3f 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ``` This patch makes sure we format pointers to member functions the same way we do regular function pointers. After this patch we format member pointers as: ``` (lldb) v pointer_to_member_func (void (Foo::*)()) ::pointer_to_member_func = 0x00000000000000000000000100003f94 ``` Differential Revision: https://reviews.llvm.org/D145241
-
Michael Buch authored
This will be useful as we add more `IsXXXType` APIs for different function types. Differential Revision: https://reviews.llvm.org/D145240
-
Michael Buch authored
Build failure introduced in `de10c1a8`
-
Michael Buch authored
The motivation is to avoid cluttering LLDB's global variable view for std::ranges users. Before: ``` (lldb) frame var -g ... (const std::ranges::__end::__fn) std::__1::ranges::__cpo::end = {} (const std::ranges::views::__all::__fn) std::__1::ranges::views::__cpo::all = {} (const std::ranges::__begin::__fn) std::__1::ranges::__cpo::begin = {} (const std::ranges::views::__take::__fn) std::__1::ranges::views::__cpo::take = {} (const std::ranges::__max_element::__fn) std::__1::ranges::__cpo::max_element = {} (const std::ranges::__size::__fn) std::__1::ranges::__cpo::size = {} (const std::ranges::__data::__fn) std::__1::ranges::__cpo::data = {} ``` After this patch none of these __cpo variables would show up. Differential Revision: https://reviews.llvm.org/D145245 -
Joshua Batista authored
This change exposes the max and min library functions for HLSL, excluding long, and long long doubles. The max / min functions are supported for all scalar, vector, and matrix types. Long and long long double support is missing in this patch because those types don't exist in HLSL. The full documentation of the HLSL max / min functions are available here: https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-max https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl-min Reviewed By: python3kgae Differential Revision: https://reviews.llvm.org/D144309
-
Aaron Ballman authored
Resolves the issue found by: https://lab.llvm.org/buildbot/#/builders/245/builds/5384
-
Maksim Panchenko authored
Remove the usage of StringMap in places where the iteration order affects the output since the iteration over StringMap is non-deterministic. Reviewed By: Amir Differential Revision: https://reviews.llvm.org/D145194
-
Paul Walker authored
-
Keith Smiley authored
As far as I can tell all this flag does in ld64 is warn about cases where you're building dylibs that are going to be part of the shared cache, which I assume only apple is doing. Strangely I have seen this flag being passed in the wild so this silences the warning about it. Differential Revision: https://reviews.llvm.org/D145200
-
Aart Bik authored
Love or hate it, but the vector.print operation was the very first operation that actually made "end-to-end" CHECK integration testing possible for MLIR. This revision adds support for the -until recently- less common but important floating-point types f16 and bf16. This will become useful for accelerator specific testing (e.g. NVidia GPUs) Reviewed By: wrengr Differential Revision: https://reviews.llvm.org/D145207
-
Aaron Ballman authored
This paper clarifies that complete object types need to be smaller than SIZE_MAX. We already conformed to that requirement, so this adds some test coverage to prove it.
-
Archibald Elliott authored
-
Archibald Elliott authored
llvm/TargetParser/TargetParser.h now only includes AMDGPU-specific functionality, the ARM- and AArch64-specific functionality is in other headers.
-
Kiran Chandramohan authored
-
- Mar 03, 2023
-
-
Kiran Chandramohan authored
The code for handing privatization code has grown in complexity. This patch begins an effort to refactor and simplify the code. The refactoring will hopefully will make it modular and enable privatization to be invoked in different places. This patch moves the privatization related code into a class called dataSharingProcessor. Reviewed By: DavidTruby Differential Revision: https://reviews.llvm.org/D144766
-
Graham Hunter authored
This patch adds support for scalarizing calls to a function when there is a vector variant that cannot be used, either because there isn't a masked variant or because the cost model indicated a VF without a masked variant was better. Reviewed By: paulwalker-arm Differential Revision: https://reviews.llvm.org/D134422
-
Nikita Popov authored
AMDGPU implements some handy code for expanding all constexpr users of LDS globals. Extract the core logic into ReplaceConstant, so that it can be reused elsewhere.
-
Archibald Elliott authored
This commit is a cleanup of a few things in the SelectionDAG implementation: - to have more places use `splitInt128`, rather than duplicating that functionality when they are turning a 128-bit value into two 64-bit values, - to refactor `splitInt128` to use EXTRACT_ELEMENT which is for splitting wide integers in two (rather than the equivalent with shifts and truncs), and - to use the concise helpers for INSERT_/EXTRACT_SUBREG in more places.
-
Alexey Bataev authored
-
Matthias Springer authored
Result types were not considered in OperationFingerPrint. This can lead to missing IR dumps when running with `shouldPrintAfterOnlyOnChange` and false positives in D144552. Differential Revision: https://reviews.llvm.org/D145152
-
Nikita Popov authored
-
Nikita Popov authored
-
Nikita Popov authored
Just the scevUnconditionallyPropagatesPoisonFromOperands() check is sufficient. Also rename the flag to be more in line with the more general predicate.
-
Akash Banerjee authored
This patch adds Fortran Lowering support for the OpenMP Target Data Op with associated region. Differential Revision: https://reviews.llvm.org/D144013
-
Hristo Hristov authored
Implemented `operator<=>` for `forward_list` Reviewed By: #libc, philnik Spies: philnik, libcxx-commits, yaxunl Differential Revision: https://reviews.llvm.org/D145172
-
Hristo Hristov authored
Based on https://reviews.llvm.org/D132312 Dependes on https://reviews.llvm.org/D132312 Reviewed By: #libc, Mordante, philnik Spies: philnik, Mordante, yaxunl, libcxx-commits Differential Revision: https://reviews.llvm.org/D144821
-
David Goldblatt authored
Before this change, we call getUnderlyingObject on each separate_storage operand on every alias() call (potentially requiring lots of pointer chasing). Instead, we rewrite the assumptions in instcombine to do this pointer-chasing once. We still leave the getUnderlyingObject calls in alias(), just expecting them to be no-ops much of the time. This is relatively fast (just a couple dyn_casts with no pointer chasing) and avoids making alias analysis results depend on whether or not instcombine has been run. Differential Revision: https://reviews.llvm.org/D144933
-
Dmitry Makogon authored
This adds more test cases with loop guards involving min/max and which should be covered by ScalarEvolution::applyLoopGuards.
-
Dmitry Makogon authored
This factors out two utilities used with RewriteMap in applyLoopGuards: - AddRewrite, which puts a rewrite rule in the map and if needed registers the rewrite in the list of rewritten expressions, - GetMaybeRewritten, which checks whether an expression has already been rewritten, and if so, returns the rewrite. Otherwise, returns the given expression. This may be needed when adding new rewrite rules as not to copy-paste this code.
-
Mikael Holmen authored
This reverts commit 8aa9ab33. Reverting due to compile-time regressions as pointed out in https://reviews.llvm.org/D145051#4166656 E.g. "In particular tramp3d-v4 with debuginfo regressed by 15%."
-
Jakub Chlanda authored
Adds f16 and v2f16 ldg builtins and relevant tests. Differential Revision: https://reviews.llvm.org/D144961
-
Jay Foad authored
-
Adrian Kuegel authored
-