- Jul 15, 2022
-
-
Shafik Yaghmour authored
AcceptedPublic Currently CXXMethodDecl::isMoveAssignmentOperator() does not look though type sugar and so if the parameter is a type alias it will not be able to detect that the method is a move assignment operator. This PR fixes that and adds a set of tests that covers that we correctly detect special member functions when defaulting or deleting them. This fixes: https://github.com/llvm/llvm-project/issues/56456 Differential Revision: https://reviews.llvm.org/D129591
-
Craig Topper authored
-
David Blaikie authored
-
Manish Gupta authored
* Adds verifiers for `nvgpu.ldmatrix` op * Adds tests to `mlir/test/Dialect/NVGPU/invalid.mlir` Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D129669
-
David Blaikie authored
The feature's been removed from most other tools in LLVM at this point.
-
owenca authored
When removing an r_brace that is the first token of an annotated line, if the line above ends with a line comment, clang-format generates invalid code by merging the tokens after the r_brace into the line comment. Fixes #56488. Differential Revision: https://reviews.llvm.org/D129742
-
Nikolas Klauser authored
-
Aart Bik authored
Fixed some new memory leaks after migration to new bufferization. One is expected, the other may need some more careful analysis. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D129805
-
Alexander Timofeev authored
Since the divergence-driven instruction selection has been enabled for AMDGPU, all the uniform instructions are expected to be selected to SALU form, except those not having one. VGPR to SGPR copies appear in MIR to connect values producers and consumers. This change implements an algorithm that evolves a reasonable tradeoff between the profit achieved from keeping the uniform instructions in SALU form and overhead introduced by the data transfer between the VGPRs and SGPRs. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D128252
-
Tom Stellard authored
-
Tom Stellard authored
-fembed-bitcode will put bitcode into special sections within object files, but this is not meant to be used by LTO, so the gold plugin should ignore it. https://github.com/llvm/llvm-project/issues/47216 Reviewed By: tejohnson, MaskRay Differential Revision: https://reviews.llvm.org/D116995
-
Katherine Rasmussen authored
This reverts commit d2460d90. Reverting this commit because after pushing to main it caused unexpected test failures.
-
Siva Chandra authored
-
isuckatcs authored
Introducing the support for evaluating the constructor of every element in an array. The idea is to record the index of the current array member being constructed and create a loop during the analysis. We looping over the same CXXConstructExpr as many times as many elements the array has. Differential Revision: https://reviews.llvm.org/D127973
-
Petr Hosek authored
Try the shared library first, and if it doesn't exist fallback onto the static one. When the static library is requested, skip the shared library. Differential Revision: https://reviews.llvm.org/D129470
-
Alexandre Ganea authored
On my system the date formatting is a bit different from what the test used to support. I'm using: Windows 11 version 21H2, build 22000.795 using the English(Canada) region. ls from BusyBox 1.36 VS 2022 17.2.5 WinSDK 10.0.22000
-
Aart Bik authored
After recent bufferization improvement, this test started failing due to missed zero initialization. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D129800
-
Jez Ng authored
Reviewed By: #lld-macho, thakis Differential Revision: https://reviews.llvm.org/D129772
-
Katherine Rasmussen authored
Add the collective subroutine, co_sum, to the list of intrinsics. In accordance with 16.9.50 and 16.9.137, add a check for and an error if coindexed objects are being passed to certain arguments in co_sum and in move_alloc. Add a semantics test to check that this error is successfully caught in calls to move_alloc. Remove the XFAIL directive, update the ERROR directives and add both standard-conforming and non-standard conforming calls to the semantics test for co_sum. Reviewed By: jeanPerier Differential Revision: https://reviews.llvm.org/D114134
-
Fangrui Song authored
Thanks to Alex Brachet for spotting it in D110217.
-
Krzysztof Drewniak authored
The lds_barrier op allows workgroups to wait at a barrier for operations to/from their local data store (LDS) to complete without incurring the performance penalties of a full memory fence. Reviewed By: nirvedhmeshram Differential Revision: https://reviews.llvm.org/D129522
-
Siva Chandra authored
-
Jeff Niu authored
-
Siva Chandra authored
-
Siva Chandra Reddy authored
Reviewed By: michaelrj, lntue Differential Revision: https://reviews.llvm.org/D129729
-
Fabian Parzefall authored
As we are moving towards support for multiple fragments, loops that iterate over all basic blocks of a function, but do not depend on the order of basic blocks in the final layout, should iterate over binary functions directly, rather than the layout. Eventually, all loops using the layout list should either iterate over the function, or be aware of multiple layouts. This patch replaces references to binary function's block layout with the binary function itself where only little code changes are necessary. Reviewed By: maksfb Differential Revision: https://reviews.llvm.org/D129585
-
Hui Xie authored
[libc++][ranges] implement `std::ranges::set_union` Differential Revision: https://reviews.llvm.org/D129657
-
Philip Reames authored
-
LLVM GN Syncbot authored
-
Vitaly Buka authored
-
David Tenty authored
D127650 removed support for non-clang-based XL compilers, but left some of the headers used only by this compiler and included under the __IBMCPP__ macro. This change cleans this up by deleting these headers. Reviewed By: hubert.reinterpretcast, fanbo-meng Differential Revision: https://reviews.llvm.org/D129491
-
Louis Dionne authored
-
Petr Hosek authored
We already link libunwind explicitly so avoid trying to link toolchain's default libunwind which may be missing. This matches what we already do for libcxx. Differential Revision: https://reviews.llvm.org/D129469
-
Ellis Hoag authored
Add two options, `-fprofile-function-groups=N` and `-fprofile-selected-function-group=i` used to partition functions into `N` groups and only instrument the functions in group `i`. Similar options were added to xray in https://reviews.llvm.org/D87953 and the goal is the same; to reduce instrumented size overhead by spreading the overhead across multiple builds. Raw profiles from different groups can be added like normal using the `llvm-profdata merge` command. Reviewed By: ianlevesque Differential Revision: https://reviews.llvm.org/D129594
-
Nick Desaulniers authored
Follow up fix to commit 2240d72f ("[X86] initial -mfunction-return=thunk-extern support") https://reviews.llvm.org/D129572 @nathanchance reported that -mfunction-return=thunk-extern was failing to annotate the asan and tsan contructors. https://lore.kernel.org/llvm/Ys7pLq+tQk5xEa%2FB@dev-arch.thelio-3990X/ I then noticed the same occurring for gcov synthetic functions. Similar to commit 2786e673 ("[IR][sanitizer] Add module flag "frame-pointer" and set it for cc1 -mframe-pointer={non-leaf,all}") define a new module level MetaData, "fn_ret_thunk_extern", then when set adds the fn_ret_thunk_extern IR Fn Attr to synthetically created Functions. Fixes https://github.com/llvm/llvm-project/issues/56514 Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D129709
-
Sanjay Patel authored
As discussed in D128123, this test is based on an example that ends up with codegen regressions if sub is converted to xor.
-
Sanjay Patel authored
-
Vitaly Buka authored
Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D129789
-
Amara Emerson authored
Widening a G_FCONSTANT by extending and then generating G_FPTRUNC doesn't produce the same result all the time. Instead, we can just transform it to a G_CONSTANT of the same bit pattern and truncate using a plain G_TRUNC instead. Fixes https://github.com/llvm/llvm-project/issues/56454 Differential Revision: https://reviews.llvm.org/D129743
-
Nikolas Klauser authored
Reviewed By: ldionne, #libc Spies: arichardson, sstefan1, libcxx-commits Differential Revision: https://reviews.llvm.org/D129039
-