Commit
c9baa5608bad5a0d908887f17bc47e569cd8883c
by ellis.sparky.hoag[InstrProf][Correlate] Verify debug info with llvm-profdata show
Use the `llvm-profdata show` command to verify debug info for profile correlation using the `--debug-info` option.
Reviewed By: kyulee
Differential Revision: https://reviews.llvm.org/D118181
|
 | compiler-rt/test/profile/Linux/instrprof-show-debug-info-correlation.c |
 | llvm/include/llvm/ProfileData/InstrProfCorrelator.h |
 | llvm/lib/ProfileData/InstrProfCorrelator.cpp |
 | llvm/tools/llvm-profdata/llvm-profdata.cpp |
 | llvm/test/tools/llvm-profdata/errors.test |
 | llvm/include/llvm/ProfileData/InstrProf.h |
Commit
8a52fef1e06c0b8fcf7fede9ec1c5fc1cf326be8
by jay.foad[AMDGPU] SILoadStoreOptimizer: tweak API of CombineInfo::setMI. NFC.
Change CombineInfo::setMI to take a reference to the SILoadStoreOptimizer instance, for easy access to common fields like TII and STM.
Differential Revision: https://reviews.llvm.org/D118366
|
 | llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp |
Commit
94a4594c5483a47b0dd17957093793dab610aff7
by jay.foad[AMDGPU] SILoadStoreOptimizer: use separate lists for AGPR instructions
Using separate lists for AGPR and non-AGPR instructions seems like a cleaner solution than putting them all in the same list and then later refusing to merge instructions of different AGPR-ness.
Differential Revision: https://reviews.llvm.org/D118367
|
 | llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp |
Commit
4b133cee8026cb304ce486f090be0a5ec6aa4a27
by jay.foad[AMDGPU] SILoadStoreOptimizer: reject AGPR DS_WRITE sooner
Rejecting AGPR DS_WRITE instructions before adding them to any mergeable list seems cleaner than adding them to the list and rejecting them later.
Differential Revision: https://reviews.llvm.org/D118368
|
 | llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp |
Commit
464be7af285929ec62c09d01ea1d07374b6b98be
by bjorn.a.pettersson[NewPM] Add debugify and check-debugify to the PassRegistry
Adding -debugify and -check-debugify in the PassRegistry will make sure the passes are listed properly by -print-pipeline-passes as well as -print-passes.
It also allows removal of the custom pipeline parsing callback that has been used in the NewPMDriver.
Differential Revision: https://reviews.llvm.org/D118369
|
 | llvm/tools/opt/NewPMDriver.cpp |
 | llvm/lib/Passes/PassBuilder.cpp |
 | llvm/test/Other/new-pm-print-pipeline.ll |
 | llvm/lib/Passes/PassRegistry.def |
Commit
bf06bc1a6d6e72ea733d6a31cfbb829359f9cd14
by bjorn.a.pettersson[test] Use -passes syntax in SROA test cases
Another step to move away from the legacy PM syntax when specifying passes in opt.
Differential Revision: https://reviews.llvm.org/D118339
|
 | llvm/test/Transforms/SROA/address-spaces.ll |
 | llvm/test/Transforms/SROA/phi-and-select.ll |
 | llvm/test/Transforms/SROA/select-load.ll |
 | llvm/test/Transforms/SROA/ignore-droppable.ll |
 | llvm/test/Transforms/SROA/ppcf128-no-fold.ll |
 | llvm/test/Transforms/SROA/big-endian.ll |
 | llvm/test/Transforms/SROA/dbg-inline.ll |
 | llvm/test/Transforms/SROA/pr26972.ll |
 | llvm/test/Transforms/SROA/basictest.ll |
 | llvm/test/Transforms/SROA/vector-lifetime-intrinsic.ll |
 | llvm/test/Transforms/SROA/vector-promotion-different-size.ll |
 | llvm/test/Transforms/SROA/vector-promotion.ll |
 | llvm/test/Transforms/SROA/dbg-addr-diamond.ll |
 | llvm/test/Transforms/SROA/mem-par-metadata-sroa-cast.ll |
 | llvm/test/Transforms/SROA/slice-order-independence.ll |
 | llvm/test/Transforms/SROA/tbaa-struct2.ll |
 | llvm/test/Transforms/SROA/slice-width.ll |
 | llvm/test/Transforms/SROA/phi-catchswitch.ll |
 | llvm/test/Transforms/SROA/non-integral-pointers.ll |
 | llvm/test/Transforms/SROA/alignment.ll |
 | llvm/test/Transforms/SROA/mem-par-metadata-sroa.ll |
 | llvm/test/Transforms/SROA/pointer-offset-size.ll |
 | llvm/test/Transforms/SROA/fca.ll |
 | llvm/test/Transforms/SROA/irregular-type.ll |
 | llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll |
 | llvm/test/Transforms/SROA/scalable-vectors.ll |
 | llvm/test/Transforms/SROA/vector-conversion.ll |
 | llvm/test/Transforms/SROA/2009-02-20-InstCombine-SROA.ll |
 | llvm/test/Transforms/SROA/alloca-address-space.ll |
 | llvm/test/Transforms/SROA/pr37267.ll |
 | llvm/test/Transforms/SROA/tbaa-struct.ll |
 | llvm/test/Transforms/SROA/std-clamp.ll |
 | llvm/test/Transforms/SROA/dbg-single-piece.ll |
 | llvm/test/Transforms/SROA/tbaa-subload.ll |
 | llvm/test/Transforms/SROA/phi-gep.ll |
 | llvm/test/Transforms/SROA/select-gep.ll |
 | llvm/test/Transforms/SROA/alloca-struct.ll |
 | llvm/test/Transforms/SROA/preserve-nonnull.ll |
 | llvm/test/Transforms/SROA/addrspacecast.ll |
 | llvm/test/Transforms/SROA/assume.ll |
Commit
9103b73fe05232fb233578117cd62b8b7d5f84c7
by llvm-dev[X86] Fold MOVMSK(CONCAT(X,Y)) -> MOVMSK(AND/OR(X,Y)) for all_of/any_of patterns
Makes it easier for later folds and avoids unnecessary 256-bit ops (especially on AVX1-only targets where we miss a lot of integer instructions)
|
 | llvm/test/CodeGen/X86/vector-reduce-or-bool.ll |
 | llvm/test/CodeGen/X86/vector-compare-all_of.ll |
 | llvm/test/CodeGen/X86/vector-compare-any_of.ll |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
 | llvm/test/CodeGen/X86/movmsk-cmp.ll |
 | llvm/test/CodeGen/X86/vector-reduce-and-bool.ll |
Commit
4a979c42564e622fdf283ae8d0b7a59ebe567533
by lntue[libc] Guard sqrt_80_bit_long_double.h header to not be included with aarch64.
Guard sqrt_80_bit_long_double.h header to not be included with aarch64.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D118389
|
 | libc/src/__support/FPUtil/generic/sqrt.h |
Commit
e065570c9f1242f6cc3db5e6540890a82271d5ca
by rouson[flang] Expand the semantics test for co_sum
Increase the coverage of standard-conforming and non-conforming co_sum calls.
Reviewed By: ktras
|
 | flang/test/Semantics/collectives01.f90 |
Commit
9fd7a2e37917ce1aee379caa016ee6439dc30057
by flo[ConstraintElimination] Use constraints with 0 or 1 coefficients.
isConditionImplied is able to correctly handle 0 or 1 coefficients, so let it handle those cases, rather than skipping them.
|
 | llvm/lib/Transforms/Scalar/ConstraintElimination.cpp |
 | llvm/test/Transforms/ConstraintElimination/empty-constraint.ll |
Commit
1fec2154b29f84b53dd578b9f87f34e255630771
by david.green[ARM][AArch64] Cleanup and autogenerate v8.1a vqdrmlah tests. NFC
|
 | llvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll |
 | llvm/test/CodeGen/ARM/neon-v8.1a.ll |
 | clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c |
 | clang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c |
Commit
b75bdff4a0e91af1237ba77adce2f9fc7198ec26
by malhar.jajooTrivial update for debug location in LIT test.
This just updates debug location of a loop in a LIT test to point to the correct source line.
|
 | llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll |
Commit
82973edfb72a95b442fa6d2bb404e15a4031855e
by david.green[ARM][AArch64] Introduce qrdmlah and qrdmlsh intrinsics
Since it's introduction, the qrdmlah has been represented as a qrdmulh and a sadd_sat. This doesn't produce the same result for all input values though. This patch fixes that by introducing a qrdmlah (and qrdmlsh) intrinsic specifically for the vqrdmlah and sqrdmlah instructions. The old test cases will now produce a qrdmulh and sqadd, as expected.
Fixes #53120 and #50905 and #51761.
Differential Revision: https://reviews.llvm.org/D117592
|
 | clang/lib/CodeGen/CGBuiltin.cpp |
 | clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c |
 | llvm/include/llvm/IR/IntrinsicsARM.td |
 | clang/include/clang/Basic/arm_neon.td |
 | llvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll |
 | llvm/lib/Target/ARM/ARMInstrNEON.td |
 | clang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c |
 | llvm/lib/Target/AArch64/AArch64InstrInfo.td |
 | llvm/test/CodeGen/ARM/neon-v8.1a.ll |
 | llvm/lib/Target/AArch64/AArch64InstrFormats.td |
 | llvm/include/llvm/IR/IntrinsicsAArch64.td |
Commit
9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe
by arthur.j.odwyer[clang] Don't typo-fix an expression in a SFINAE context.
If this is a SFINAE context, then continuing to look up names (in particular, to treat a non-function as a function, and then do ADL) might too-eagerly complete a type that it's not safe to complete right now. We should just say "okay, that's a substitution failure" and not do any more work than absolutely required.
Fixes #52970.
Differential Revision: https://reviews.llvm.org/D117603
|
 | clang/test/SemaCXX/PR52970.cpp |
 | clang/lib/Sema/Sema.cpp |
 | clang/lib/Sema/SemaExprMember.cpp |
Commit
8c98ce4dfa7966db48ca22ae6b2a9b6c3cc69648
by arthur.j.odwyer[libc++] Fix a typo in reverse_iterator::operator=.
We should be checking `is_assignable<It&, ...>`. `is_assignable<It, ...>` checks for an rvalue left-hand side, which is basically never assignable-to. Found while looking into https://cplusplus.github.io/LWG/issue3435 .
Differential Revision: https://reviews.llvm.org/D117660
|
 | libcxx/include/__iterator/reverse_iterator.h |
Commit
9021f3682c973f04b0595c6b6b567a58887d34f5
by arthur.j.odwyer[libc++] [ranges] ref_view and empty_view are borrowed ranges. Normalize borrowed_range tests.
Differential Revision: https://reviews.llvm.org/D118164
|
 | libcxx/test/std/ranges/range.factories/range.iota.view/borrowing.compile.pass.cpp |
 | libcxx/include/__ranges/ref_view.h |
 | libcxx/test/std/ranges/range.utility/range.subrange/enable_borrowed_range.compile.pass.cpp |
 | libcxx/test/std/ranges/range.adaptors/range.reverse/borrowing.compile.pass.cpp |
 | libcxx/test/std/ranges/range.factories/range.single.view/borrowing.compile.pass.cpp |
 | libcxx/test/std/ranges/range.adaptors/range.ref.view.pass.cpp |
 | libcxx/test/std/ranges/range.utility/range.subrange/borrowing.compile.pass.cpp |
 | libcxx/test/std/ranges/range.adaptors/range.all/range.ref.view/borrowing.compile.pass.cpp |
 | libcxx/test/std/ranges/range.adaptors/range.common.view/borrowing.compile.pass.cpp |
 | libcxx/test/std/ranges/range.adaptors/range.take/borrowing.compile.pass.cpp |
 | libcxx/test/std/ranges/range.adaptors/range.all/range.ref.view/range.ref.view.pass.cpp |
 | libcxx/test/support/test_range.h |
 | libcxx/test/std/ranges/range.adaptors/range.empty/borrowing.compile.pass.cpp |
 | libcxx/test/std/ranges/range.adaptors/range.all/range.owning.view/borrowing.compile.pass.cpp |
 | libcxx/include/__ranges/empty_view.h |
Commit
024a1fab5c35f630c0b7de721eba497692d081fe
by rob.suderman[tosa][mlir] Add dynamic shape support for remaining ops
Added support for concat, tile, pad, argmax and table ops
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D118397
|
 | mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir |
 | mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp |
Commit
70e1cc67926dc43a4860156ea3755cebcf97fc09
by craig.topper[RISCV] Prefer vmslt.vx v0, v8, zero over vmsle.vi v0, v8, -1.
At least when starting from a vmslt.vx intrinsic or ISD::SETLT. We don't handle the case where the user used vmsle.vx intrinsic with -1.
|
 | llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-setcc.ll |
 | llvm/test/CodeGen/RISCV/rvv/setcc-integer-rv64.ll |
 | llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td |
 | llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td |
 | llvm/test/CodeGen/RISCV/rvv/setcc-integer-rv32.ll |
 | llvm/test/CodeGen/RISCV/rvv/vmslt-rv32.ll |
 | llvm/test/CodeGen/RISCV/rvv/vmslt-rv64.ll |
Commit
5aa24558cfa67e2a2e99c4e9c6d6b68bf372e00e
by iOMPIRBuilder for Interop directive
Implements the OMPIRBuilder portion for the Interop directive.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D105876
|
 | llvm/include/llvm/Frontend/OpenMP/OMPConstants.h |
 | llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h |
 | clang/lib/CodeGen/CodeGenFunction.h |
 | clang/test/OpenMP/interop_irbuilder.cpp |
 | llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp |
 | llvm/include/llvm/Frontend/OpenMP/OMPKinds.def |
 | clang/lib/CodeGen/CGStmt.cpp |
 | clang/lib/CodeGen/CGStmtOpenMP.cpp |
Commit
1f26aa42cedc110b5fab7516e33a3c432f473129
by antonRemove "awaiting-review" labels from closed issues.
Fixes #53451
|
 | .github/workflows/closed-issues.yml |
Commit
612f0f4568b9d2cbc809149d4c417bcb5ae0d062
by ayermolo[BOLT][DWARF] Fix gdb index section
Since we now re-write .debug_info the DWARF CU Offsets can change. Just like for .debug_aranges the GDB Index will need to be updated.
Reviewed By: Amir, maksfb
Differential Revision: https://reviews.llvm.org/D118273
|
 | bolt/test/X86/Inputs/dwarfdump-gdbindex.s |
 | bolt/test/X86/Inputs/dwarfdump-gdbindex2.s |
 | bolt/include/bolt/Core/DebugData.h |
 | bolt/include/bolt/Rewrite/DWARFRewriter.h |
 | bolt/test/X86/gdbindex.test |
 | bolt/lib/Core/DebugData.cpp |
 | bolt/lib/Rewrite/DWARFRewriter.cpp |
Commit
f44e41af412196c8bd5ba0997460e96e17d3b969
by iRuntime for Interop directive
This implements the runtime portion of the interop directive. It expects the frontend and IRBuilder portions to be in place for proper execution. It currently works only for GPUs and has several TODOs that should be addressed going forward.
Reviewed By: RaviNarayanaswamy
Differential Revision: https://reviews.llvm.org/D106674
|
 | openmp/libomptarget/include/rtl.h |
 | openmp/libomptarget/include/omptargetplugin.h |
 | openmp/runtime/src/kmp_ftn_os.h |
 | openmp/runtime/src/kmp_ftn_entry.h |
 | openmp/libomptarget/src/interop.cpp |
 | openmp/libomptarget/plugins/cuda/src/rtl.cpp |
 | openmp/libomptarget/plugins/exports |
 | openmp/libomptarget/src/CMakeLists.txt |
 | openmp/libomptarget/src/private.h |
 | openmp/libomptarget/src/rtl.cpp |
 | openmp/libomptarget/test/offloading/interop.c |
 | openmp/libomptarget/include/interop.h |
 | openmp/libomptarget/include/omptarget.h |
 | openmp/runtime/src/dllexports |
 | openmp/libomptarget/src/exports |
Commit
39057240f59b348e42c9807ab0d6eb85ccc229ad
by craig.topper[RISCV] Use std::map::count != 0 instead of std::map::count == 1. NFC
Maps always return 0 or 1 for count. Comparing to 0 can create simpler compiled code.
Someday we'll get to use std::map::contains.
|
 | llvm/lib/Support/RISCVISAInfo.cpp |
Commit
4cb1686bfe8ef847b583922bb5650c33453ad096
by hokein.wu[clangd] Fix a selection tree crash for unmatched-bracket code.
Fixes https://github.com/clangd/clangd/issues/999
Differential Revision: https://reviews.llvm.org/D118322
|
 | clang-tools-extra/clangd/unittests/SelectionTests.cpp |
 | clang-tools-extra/clangd/Selection.cpp |
Commit
0cf75aac42eb6bd800405d152dfe7414a9ab6d99
by hokein.wu[clangd] Enable hover on character literal.
In the initial hover expression patch (https://reviews.llvm.org/D72500), we disabled all literals.
There is some value on running hover on character literals (e.g. see the int value of the char).
Differential Revision: https://reviews.llvm.org/D117864
|
 | clang-tools-extra/clangd/unittests/HoverTests.cpp |
 | clang-tools-extra/clangd/Hover.cpp |
Commit
dc2b01b3f7b0e89cb57a29542da2492276c61678
by sivachandra[libc] Add POSIX close, fsync, open, read and write functions.
They are implemented as simple syscall wrappers. The file creation macros have been put in a header file as a temporary solution until we have a cleaner approach to listing platform relevant macros.
Reviewed By: abrachet
Differential Revision: https://reviews.llvm.org/D118396
|
 | libc/src/fcntl/linux/CMakeLists.txt |
 | libc/src/unistd/linux/fsync.cpp |
 | libc/src/CMakeLists.txt |
 | libc/test/src/unistd/write_test.cpp |
 | libc/config/linux/x86_64/entrypoints.txt |
 | libc/src/unistd/linux/write.cpp |
 | libc/test/src/unistd/CMakeLists.txt |
 | libc/src/unistd/linux/CMakeLists.txt |
 | libc/src/unistd/fsync.h |
 | libc/src/fcntl/linux/open.cpp |
 | libc/spec/posix.td |
 | libc/include/llvm-libc-macros/linux/CMakeLists.txt |
 | libc/include/llvm-libc-types/CMakeLists.txt |
 | libc/include/llvm-libc-types/mode_t.h |
 | libc/src/unistd/CMakeLists.txt |
 | libc/include/CMakeLists.txt |
 | libc/include/fcntl.h.def |
 | libc/config/linux/api.td |
 | libc/src/unistd/close.h |
 | libc/include/llvm-libc-macros/fcntl-macros.h |
 | libc/src/fcntl/CMakeLists.txt |
 | libc/src/fcntl/open.h |
 | libc/src/unistd/linux/close.cpp |
 | libc/include/llvm-libc-macros/linux/fcntl-macros.h |
 | libc/src/unistd/linux/read.cpp |
 | libc/test/src/unistd/read_write_test.cpp |
 | libc/src/unistd/read.h |
 | libc/include/llvm-libc-macros/CMakeLists.txt |
Commit
1e1215689656459ad41d4501d9204dcea4004a71
by i[OpenMP][NFCI] Pipe the IdentTy object through more new RT functions
IdentTy objects are useful for debugging and profiling so we want to keep them around in more places, especially those that have a large impact on performance, e.g., everything related to state.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D112494
|
 | openmp/libomptarget/DeviceRTL/src/Tasking.cpp |
 | openmp/libomptarget/DeviceRTL/src/State.cpp |
 | openmp/libomptarget/DeviceRTL/include/State.h |
 | openmp/libomptarget/DeviceRTL/src/Parallelism.cpp |
Commit
13d89477be56e60d7c953569347b76c24c34546a
by snehasishk[InstrProf][NFC] Refactor Profile kind into a bitset enum.
This change refactors the ProfileKind enum into a bitset enum to represent the different attributes a profile can have. This change simplifies the logic in the instrprof writer when multiple profiles are merged together. In the future we plan on introducing a new memory profile section which will extend the enum by one additional entry. Without this change when accounting for memory profiles will have to be maintained separately and will make the logic more complex.
Differential Revision: https://reviews.llvm.org/D115393
|
 | llvm/include/llvm/ProfileData/InstrProfWriter.h |
 | llvm/include/llvm/ProfileData/InstrProf.h |
 | llvm/lib/ProfileData/InstrProfWriter.cpp |
 | llvm/include/llvm/ProfileData/InstrProfReader.h |
 | llvm/tools/llvm-profdata/llvm-profdata.cpp |
 | llvm/lib/ProfileData/InstrProfReader.cpp |
Commit
fdd4269f2e0c1c7fdee28aa7d10e0940476c0be8
by sivachandra[libc] Revert "Guard sqrt_80_bit_long_double.h header to not be included with aarch64."
This reverts commit 4a979c42564e622fdf283ae8d0b7a59ebe567533.
|
 | libc/src/__support/FPUtil/generic/sqrt.h |
Commit
4beba3a32a6537b80e88ea7c5e4f5a425599ca5d
by sivachandra[libc] Revert "Refactor sqrt implementations and add tests for generic sqrt implementations."
This reverts commit 21c4c82c2026bac1f53be54923c0663d41d0a0aa.
|
 | libc/test/src/math/CMakeLists.txt |
 | libc/test/src/math/generic_sqrtf_test.cpp |
 | libc/src/math/x86_64/sqrt.cpp |
 | libc/src/math/generic/sqrt.cpp |
 | libc/src/__support/FPUtil/Sqrt.h |
 | libc/src/math/generic/sqrtl.cpp |
 | libc/src/math/generic/sqrtf.cpp |
 | libc/src/math/generic/CMakeLists.txt |
 | libc/test/src/math/generic_sqrtl_test.cpp |
 | libc/src/__support/FPUtil/CMakeLists.txt |
 | libc/src/math/x86_64/sqrtf.cpp |
 | libc/src/math/x86_64/CMakeLists.txt |
 | libc/src/__support/FPUtil/aarch64/sqrt.h |
 | libc/src/__support/FPUtil/generic/sqrt_80_bit_long_double.h |
 | libc/src/__support/FPUtil/x86_64/SqrtLongDouble.h |
 | libc/src/math/aarch64/CMakeLists.txt |
 | utils/bazel/llvm-project-overlay/libc/BUILD.bazel |
 | libc/src/__support/FPUtil/x86_64/sqrt.h |
 | libc/src/__support/FPUtil/generic/sqrt.h |
 | libc/src/__support/FPUtil/sqrt.h |
 | libc/src/__support/FPUtil/generic/CMakeLists.txt |
 | libc/src/math/x86_64/sqrtl.cpp |
 | libc/test/src/math/generic_sqrt_test.cpp |
Commit
15dfe7a3f12c4862999e275195a14ef746ab975a
by hokein.wu[clangd] Fix a typo , => ; in hovertest.
I somehow missed it.
|
 | clang-tools-extra/clangd/unittests/HoverTests.cpp |
Commit
492cbbc36a8fcc4414e09950c2a09d701dbd3d0e
by daltenty[compiler-rt][profile][AIX] pass extra link opts for test
This is a follow up to D118101, that added bexpfull to the test on instrprof-get-filename-merge-mode.c AIX, in order to get the necessary symbols exported. But unfortunately the extra dependent symbols this exports actually cause segfaults, which is why this isn't really recommended in the first place, so just use an actual export list.
Differential Revision: https://reviews.llvm.org/D118310
|
 | compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c |
 | compiler-rt/test/profile/Posix/lit.local.cfg.py |
Commit
cd317637708decd8faf34dd9773a8b2dec424010
by srastogi22Disable TestLldbGdbServer on Dwarf2 and clang versions below 14
We have been noticing issues with the lldb bots on builds using versions below clang 14 and dwarf 2, so to make sure we can get clean builds for a while, we are disabling the tests for those versions
Differential Revision: https://reviews.llvm.org/D118395
|
 | lldb/test/API/tools/lldb-server/TestLldbGdbServer.py |
Commit
84fe34a0b7fdd7bbf179981d1583693d5d5ec68b
by stephen.neuendorffer[MLIR] Workaround for python detection problems.
Although cmake should be platform-independent, we've observed that some aspects of Python detection don't work on all platforms, even with recent versions of cmake. This appears to be due to bugs in the python detection logic, especially when the NumPy component is required and not located within the python installation. As a workaround, this patch first searches for "Development" before searching for "Development.Module", which seems to workaround the issue.
Differential Revision: https://reviews.llvm.org/D118148
|
 | mlir/cmake/modules/MLIRDetectPythonEnv.cmake |
Commit
a57ccad5a6a55f127df79adf86ccd169e9d6ccc8
by thomasraoux[VectorToGPU] Fix horizontal stride calculation for N-D memref
Fix a bug in how we calculate the stride of mma load/store ops for N-D memrefs
Differential Revision: https://reviews.llvm.org/D118378
|
 | mlir/test/Conversion/VectorToGPU/vector-to-mma-ops.mlir |
 | mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp |
Commit
ee54868a76e32fdfa8d1efe5e418460e54246a4e
by srastogi22Revert "Disable TestLldbGdbServer on Dwarf2 and clang versions below 14"
This reverts commit cd317637708decd8faf34dd9773a8b2dec424010.
|
 | lldb/test/API/tools/lldb-server/TestLldbGdbServer.py |
Commit
fa90c9d5e7a310ea87b7032c39c0ca657c794abc
by saurabh.jhaa[mlir] Set up boilerplate build for MLIR benchmarks
This is is the start of the MLIR benchmarks. It sets up a command line tool along with conventions to define and run benchmarks using mlir's python bindings.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D115174
|
 | mlir/utils/mbr/mbr/main.py |
 | mlir/CMakeLists.txt |
 | mlir/utils/mbr/CMakeLists.txt |
 | mlir/utils/mbr/mbr/__init__.py |
 | mlir/utils/mbr/setup.py |
 | mlir/utils/mbr/README.md |
 | mlir/utils/mbr/mbr/config.ini |
 | mlir/benchmark/python/benchmark_sparse.py |
 | mlir/benchmark/python/common.py |
 | mlir/benchmark/python/__init__.py |
 | mlir/utils/mbr/mbr/stats.py |
 | mlir/utils/mbr/mlir-mbr.in |
 | mlir/utils/mbr/mbr/discovery.py |
 | mlir/utils/mbr/requirements.txt |
Commit
63cf2063a20bf051b7d7d748311b0e0c426a56c1
by aeubanks[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in EmitNewArrayInitializer()
Specify the Address element type, which is the same for all pointers in the array.
|
 | clang/lib/CodeGen/CGExprCXX.cpp |
Commit
867fdec1945df3c1031d3cefdc97903131a3482b
by srastogi22Disable TestLldbGdbServer on Dwarf2 and clang versions below 14
We have been noticing issues with the lldb bots on builds using versions below clang 14 and dwarf 2, so to make sure we can get clean builds for a while, we are disabling the tests for those versions
Differential Revision: https://reviews.llvm.org/D118395
|
 | lldb/test/API/tools/lldb-server/TestLldbGdbServer.py |
Commit
cd20e579df07517a4ddbf6eef58b96d04f6bd9a9
by mgorny[unwind] fix build with GCC on PPC32
Originally reported downstream in Gentoo: https://bugs.gentoo.org/832140
``` /var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp:77:3: error: #error Architecture not supported 77 | # error Architecture not supported | ^~~~~ [...] /var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp: In function ‘int __unw_init_local(unw_cursor_t*, unw_context_t*)’: /var/tmp/portage/sys-libs/llvm-libunwind-13.0.0/work/libunwind/src/libunwind.cpp:80:57: error: ‘REGISTER_KIND’ was not declared in this scope 80 | new (reinterpret_cast<UnwindCursor<LocalAddressSpace, REGISTER_KIND> *>(cursor)) | ^~~~~~~~~~~~~ [...] ```
PPC is actually a supported architecture, but GCC (tested with 11.2.0) on powerpc32 seems to only define: `__PPC__, _ARCH_PPC, __PPC, __powerpc` and //not// `__ppc__`.
This instead uses `__powerpc__` which should be around on PPC32 and PPC64 (but we check it after PPC64, so it's fine).
Signed-off-by: Sam James <sam@gentoo.org> Differential Revision: https://reviews.llvm.org/D118320
|
 | libunwind/src/libunwind.cpp |
 | libunwind/src/UnwindRegistersRestore.S |
 | libunwind/src/UnwindRegistersSave.S |
 | libunwind/src/assembly.h |
 | libunwind/src/config.h |
 | libunwind/include/__libunwind_config.h |
Commit
02ae5e9fbf48630d18802f766008ad6df88027ed
by Louis Dionne[libc++] Add documentation about the libc++ review group
This explains stuff that most contributors already know, but it's always good to write down explicitly.
Differential Revision: https://reviews.llvm.org/D118278
|
 | libcxx/docs/Contributing.rst |
Commit
f541a5048a12b5fdd8a6ae1b6d1bd67366f00ecf
by paulsson[SystemZ] Implement orderFrameObjects().
By reordering the objects on the stack frame after looking at the users, a better utilization of displacement operands will result. This means less needed Load Address instructions for the accessing of these objects.
This is important for very large functions where otherwise small changes could cause a lot more/less accesses go out of range.
Note: this is not yet enabled for SystemZXPLINKFrameLowering, but should be.
Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D115690
|
 | llvm/test/CodeGen/SystemZ/args-11.ll |
 | llvm/test/DebugInfo/SystemZ/variable-loc.ll |
 | llvm/test/CodeGen/SystemZ/foldmemop-imm-02.mir |
 | llvm/test/CodeGen/SystemZ/foldmemop-msc.mir |
 | llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.nogenerated.expected |
 | llvm/lib/Target/SystemZ/SystemZFrameLowering.h |
 | llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/systemz_generated_funcs.ll.generated.expected |
 | llvm/test/CodeGen/SystemZ/foldmemop-imm-01.ll |
 | llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp |
 | llvm/lib/Target/SystemZ/SystemZInstrInfo.h |
 | llvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll |
 | llvm/test/CodeGen/SystemZ/frame-27.mir |
 | llvm/test/CodeGen/SystemZ/int-conv-01.ll |
 | llvm/test/CodeGen/SystemZ/int-conv-02.ll |
 | llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp |
 | llvm/test/CodeGen/SystemZ/int-conv-06.ll |
Commit
cf93a085754e221f73a2877c946dcb2beb6039d7
by srastogi22Fixed typos in TestLldbGdbServer.py
Fixed more typos
|
 | lldb/test/API/tools/lldb-server/TestLldbGdbServer.py |
Commit
9ca9fee6e8440d31b121773c9aa9513296a3ca26
by paulsson[SystemZ] Don't shrink 64-bit FP constants.
Return false from ShouldShrinkFPConstant(), so that these constants are stored in their full size on the constant pool, even if they could have been shrunk and used with an extending load.
This is better since LD is faster than LDE, and it also enables reg/mem opcodes.
Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D117927
|
 | llvm/lib/Target/SystemZ/SystemZISelLowering.h |
 | llvm/test/CodeGen/SystemZ/fp-conv-12.ll |
 | llvm/test/CodeGen/SystemZ/args-07.ll |
 | llvm/test/CodeGen/SystemZ/fp-conv-10.ll |
 | llvm/test/CodeGen/SystemZ/fp-strict-conv-12.ll |
 | llvm/test/CodeGen/SystemZ/vector-constrained-fp-intrinsics.ll |
 | llvm/test/CodeGen/SystemZ/fp-strict-conv-10.ll |
 | llvm/test/CodeGen/SystemZ/fp-const-04.ll |
Commit
f17123831e47073f7850ea17560bc1f756b65298
by aeubanks[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in CreateTempAlloca()
Specify the Address element type, which is the bitcast destination type. (the whole bitcast won't be needed after opaque pointers)
|
 | clang/lib/CodeGen/CGExpr.cpp |
Commit
11c2ef5638c3cff489744f1d342cd92e2a864614
by mgornyunwind: fix typo for __powerpc__
Fixes: cd20e579df07517a4ddbf6eef58b96d04f6bd9a9 Signed-off-by: Sam James <sam@gentoo.org>
|
 | libunwind/src/UnwindRegistersSave.S |
Commit
e900f0584e904e884207e40c80a8126824ef4c41
by och95[BOLT] Fix AARCH64 registers aliasing
The aarch64 platform has special registers like X0_X1_X2_X3_X4_X5_X6_X7. Using the downwards propagation this register will become a super register for all X0..X7 and its super registers which is not right. This patch replaces the downwards propagation with caching all the aliases using MCRegAliasIterator.
Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei
Reviewed By: maksfb
Differential Revision: https://reviews.llvm.org/D117394
|
 | bolt/unittests/CMakeLists.txt |
 | bolt/unittests/Core/CMakeLists.txt |
 | bolt/lib/Core/MCPlusBuilder.cpp |
 | bolt/unittests/Core/MCPlusBuilder.cpp |
Commit
d5ab243c6f79f881121a80487f0879d2ab0acc41
by bcainOmit atomic_{,un}signed_lock_free if unsupported
On targets that have limited atomic support, e.g. ones that define ATOMIC_*_LOCK_FREE to '1' ("sometimes lock free"), we would end up referencing yet-undefined __libcpp_{,un}signed_lock_free.
This commit adds a guard to prevent these references for such targets.
Differential Revision: https://reviews.llvm.org/D118391
|
 | libcxx/include/atomic |
Commit
f9a00b3cbc580cf79688fa813c6e898e90b4fd43
by arthur.j.odwyerRevert "[clang] Don't typo-fix an expression in a SFINAE context."
This reverts commit 9be5f4d5afd9a1b6e88a268f6ea6eb282d77d9fe.
I'm not sure if this caused https://lab.llvm.org/buildbot/#/builders/60/builds/6350 https://lab.llvm.org/buildbot/#/builders/119/builds/7433 but I'm acting as if it did.
|
 | clang/lib/Sema/Sema.cpp |
 | clang/test/SemaCXX/PR52970.cpp |
 | clang/lib/Sema/SemaExprMember.cpp |
Commit
6e8a66bdad59d7e1bd87528c0fbefc88ae761ca2
by aeubanks[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in EmitCXXMemberDataPointerAddress()
|
 | clang/lib/CodeGen/CGClass.cpp |
Commit
662ef6d177fe8eec7f88f523293eec44f238a2aa
by aeubanks[NFC][Clang][OpaquePtr] Move away from deprecated Address constructor in VisitArrayInitLoopExpr
With this we can bootstrap an `-O0 -g0` clang with `-mllvm -opaque-pointers`!
|
 | clang/lib/CodeGen/CGExprAgg.cpp |
Commit
bf20a09790cb2e5194f3f008ec1f2edbd4e2f709
by arthur.j.odwyer[libc++] [P1614] Implement the second half of [cmp.alg]: compare_{strong,weak,partial}_fallback.
The tests for these are just copy-pasted from the tests for std::{strong,weak,partial}_order, and then I added an extra clause in each (test_2()) to test the stuff that's not just the same as std::*_order.
This also includes the fix for https://wg21.link/LWG3465 (which falls naturally out of the "you must write it three times" style, but I've added test cases for it also).
There is an action item here to go back and give good diagnostics for SFINAE failures in these CPOs. I've filed this as https://github.com/llvm/llvm-project/issues/53456 .
Differential Revision: https://reviews.llvm.org/D111514
|
 | libcxx/test/std/library/description/conventions/customization.point.object/cpo.compile.pass.cpp |
 | libcxx/include/__compare/compare_partial_order_fallback.h |
 | libcxx/test/std/language.support/cmp/cmp.alg/compare_strong_order_fallback.pass.cpp |
 | libcxx/docs/Status/SpaceshipProjects.csv |
 | libcxx/docs/Status/Cxx2bIssues.csv |
 | libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_partial_order_fallback.module.verify.cpp |
 | libcxx/include/__compare/compare_strong_order_fallback.h |
 | libcxx/include/__compare/compare_weak_order_fallback.h |
 | libcxx/docs/Status/Spaceship.rst |
 | libcxx/include/module.modulemap |
 | libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_strong_order_fallback.module.verify.cpp |
 | libcxx/include/compare |
 | libcxx/test/std/language.support/cmp/cmp.alg/compare_partial_order_fallback.pass.cpp |
 | libcxx/test/libcxx/diagnostics/detail.headers/compare/compare_weak_order_fallback.module.verify.cpp |
 | libcxx/include/CMakeLists.txt |
 | libcxx/test/std/language.support/cmp/cmp.alg/compare_weak_order_fallback.pass.cpp |
Commit
aa53d0781b887eae3e8a5025989f5ffaaa4ec7fa
by llvmgnsyncbot[gn build] Port bf20a09790cb
|
 | llvm/utils/gn/secondary/libcxx/include/BUILD.gn |
Commit
1e3a02162db20264e9615b1346420c8d199cb347
by jeffniu22[mlir][scf] Update IfOp to have getInvocationBounds
This allows `scf.if` to be used by Control-Flow sink.
Depends on D115088
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D115089
|
 | mlir/lib/Dialect/SCF/SCF.cpp |
 | mlir/include/mlir/Dialect/SCF/SCFOps.td |
 | mlir/include/mlir/Interfaces/ControlFlowInterfaces.td |
 | mlir/test/Dialect/SCF/control-flow-sink.mlir |
Commit
2945f11c605b059446ac997f62458a6c489e46f7
by jhuber6[OpenMP] Only generate runtime flags with host input
This patch changes the code generation of runtime flags to only occur if a host bitcode file was passed in. This is a cheap way to determine if we are compiling the OpenMP device runtime itself or user code. This is needed because the global flags we generate for the device runtime e.g. __omp_rtl_debug_kind were being generated with default values when we compiled the runtime library. This would then invalidate the ones we want to be able to add in when the user defines it.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D118399
|
 | clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp |
 | clang/test/OpenMP/target_globals_codegen.cpp |
Commit
27c799ecc9e9e3bfb8232c93fd500f45ca0cb345
by jhuber6[OpenMP] Ensure broken assumptions print once, not thousands of times.
If we have a broken assumption we want to print a message to the user. If the assumption is broken by many threads in many teams this can become a problem. To avoid it we use a hash that tracks if a broken assumption has (likely) been printed and avoid printing it again. This is not fool proof and has some caveats that might cause problems in the future (see comment) but it should improve the situation considerably for now.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D112156
|
 | openmp/libomptarget/DeviceRTL/include/Debug.h |
 | openmp/libomptarget/DeviceRTL/include/Utils.h |
 | openmp/libomptarget/DeviceRTL/include/Synchronization.h |
 | openmp/libomptarget/DeviceRTL/src/Synchronization.cpp |
Commit
0c425b43b952f4f5a93792437c52d5b6e43c74d3
by aeubanks[gn build] Add support for check-asan
With these changes, check-asan passes on Linux and Windows.
There are a couple libraries we need to add support for, asan_static, asan_preinit, and the shared library version of asan proper. Since we need to build the asan proper sources twice, once with -DASAN_DYNAMIC and once without, those sources are no longer in a source_set. Much of the check-asan target is taken from the existing check-hwasan target.
Reviewed By: thakis
Differential Revision: https://reviews.llvm.org/D118307
|
 | llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn |
 | llvm/utils/gn/secondary/BUILD.gn |
 | llvm/utils/gn/secondary/compiler-rt/test/asan/BUILD.gn |
 | llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn |
 | llvm/utils/gn/secondary/compiler-rt/lib/ubsan/BUILD.gn |
 | llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn |
 | llvm/utils/gn/secondary/compiler-rt/lib/asan/BUILD.gn |
 | llvm/utils/gn/build/BUILD.gn |
Commit
bddc814b442ae9f30d62e2f881274d6255411225
by Vitaly Buka[msan] Copy origin of byval arguments
Depends on D117278
Reviewed By: kda, eugenis
Differential Revision: https://reviews.llvm.org/D117285
|
 | llvm/test/Instrumentation/MemorySanitizer/byval.ll |
 | llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp |
Commit
912f1c8ce355339aaab281f5908e349453b76eca
by thakis[gn build] slighly reformat files to make sync script work
|
 | compiler-rt/lib/ubsan/CMakeLists.txt |
 | compiler-rt/lib/asan/CMakeLists.txt |
 | compiler-rt/lib/sanitizer_common/CMakeLists.txt |