Commit
501aa47ab8fa62f5be1e41bee6d5b8fbd1fa6627
by listmail[Statepoint] Sink logic about actual callee into GCStatepointInst
Sinking logic around actual callee from Statepoint to GCStatepointInst. While doing so, adjust naming to be consistent about refering to "actual" callee and follow precedent on naming from CallBase otherwise.
Use the result to simplify one consumer. This is mostly just to ensure the new code is exercised, but is also a helpful cleanup on it's own.
|
 | llvm/include/llvm/IR/Statepoint.h |
 | llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
Commit
72ede60b75ee90b7f4e33d88e4df18bb6f6dc94a
by zinenko[mlir][GPU] Link relevant LLVM components in GPUCommon instead of test
D80142 restructured MLIR-to-GPU-binary conversion to support multiple targets. It also modified cmake files to link relevant LLVM components in test/lib, which broke shared-library builds, and likely made the conversions unusable outside mlir-opt (or other tools that link in test library targets). Link these components to GPUCommon instead.
Differential Revision: https://reviews.llvm.org/D80739
|
 | mlir/lib/Conversion/GPUCommon/CMakeLists.txt |
 | mlir/test/lib/Transforms/CMakeLists.txt |
Commit
2b0c8546ac9fb47e1bf9c5e54f1450420eadeab7
by ravishankarm[mlir][Linalg] Add pass to remove unit-extent dims from tensor operands of Generic ops.
Unit-extent dimensions are typically used for achieving broadcasting behavior. The pattern added (along with canonicalization patterns added previously) removes the use of unit-extent dimensions, and instead uses a more canonical representation of the computation. This new pattern is not added as a canonicalization for now since it entails adding additional reshape operations. A pass is added to exercise these patterns, along with an API entry to populate a patterns list with these patterns.
Differential Revision: https://reviews.llvm.org/D79766
|
 | mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir |
 | mlir/include/mlir/Dialect/Linalg/Passes.h |
 | mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt |
 | mlir/test/Dialect/Linalg/fold-unit-trip-loops.mlir |
 | mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp |
 | mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp |
 | mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp |
 | mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h |
 | mlir/include/mlir/Dialect/Linalg/Passes.td |
 | mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td |
Commit
0073c293a401774ac96b4b3d27f05e13f379f98e
by martin[clang] Avoid linking libdl unless needed
Differential Revision: https://reviews.llvm.org/D80492
|
 | clang/tools/libclang/CMakeLists.txt |
Commit
504d8d9d8a20fae1717bcf65dbc7577d0f26ffd7
by asteinhauser[libc] Fixing the build command for benchmarks.
Building libc without clang fails with: CMake Error at /home/asteinhauser/llvm-project/libc/CMakeLists.txt:49 (message): 'clang' and 'clang-tools-extra' are required in LLVM_ENABLE_PROJECTS to lint llvm-libc. The linting step performs important checks to help prevent the introduction of subtle bugs, but it may increase build times.
Reviewers: sivachandra
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D80495
|
 | libc/utils/benchmarks/README.md |
Commit
97f3f0bab0982f84745c7ac5ce8fb6b0918ff718
by Matthew.ArsenaultAMDGPU: Add intrinsic for s_setreg
This will be more useful with fenv access implemented.
|
 | clang/test/SemaOpenCL/builtins-amdgcn-error.cl |
 | llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td |
 | llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.setreg.ll |
 | llvm/lib/Target/AMDGPU/SIISelLowering.cpp |
 | llvm/lib/Target/AMDGPU/SOPInstructions.td |
 | llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp |
 | llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.setreg.ll |
 | clang/test/CodeGenOpenCL/builtins-amdgcn.cl |
 | clang/include/clang/Basic/BuiltinsAMDGPU.def |
 | llvm/lib/Target/AMDGPU/SIInstrInfo.td |
 | llvm/include/llvm/IR/IntrinsicsAMDGPU.td |
Commit
281058226587d8c70172ff0fb1e55d58876da229
by whitneyt[LoopUnroll] Support loops with exiting block that is neither header nor latch.
Summary: Remove the limitation in LoopUnrollPass that exiting block must be either header or latch. Reviewer: dmgreen, jdoerfert, Meinersbur, kbarton, bmahjour, etiotto, fhahn, efriedma Reviewed By: etiotto, fhahn, efriedma Subscribers: efriedma, lkail, xbolva00, hiraditya, zzheng, llvm-commits Tag: LLVM Differential Revision: https://reviews.llvm.org/D80477
|
 | llvm/lib/Transforms/Utils/LoopUnroll.cpp |
 | llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll |
Commit
ebddf90a4e8ba062999f622cdcea2793ffc37426
by Louis Dionne[libc++] NFC: Remove outdated numbering in <bit> synopsis
|
 | libcxx/include/bit |
Commit
4859dd41707e3d2a007a58491f1cf20b9510b753
by Matthew.ArsenaultAMDGPU: Handle rewriting ptrmask for more address spaces
If this mask only clears bits in the low 32-bit half of a flat pointer, these bits are always preserved in the result address space. If the high bits are modified, they may need to be preserved for some kind of user pointer tagging.
|
 | llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp |
 | llvm/test/Transforms/InferAddressSpaces/AMDGPU/ptrmask.ll |
Commit
58beb76b7bd2f7caa1df461b9db6629521c3b60b
by listmail[Statepoint] Convert a few more isStatepoint calls to idiomatic isa/cast
I'd apparently only grepped in the lib directories and missed a few used in the Statepoint header itself. Beyond simple mechanical cleanup, changed the type of one routine to reflect the fact it also returns a statepoint.
|
 | llvm/include/llvm/IR/Statepoint.h |
 | llvm/lib/IR/Verifier.cpp |
 | llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
Commit
6c824c81a911a2782c640c3854992160752578e0
by Stanislav.MekhanoshinAMDGPU/GlobalISel: precommit extractelement test. NFC.
|
 | llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll |
Commit
5ecf85a5fcb71fc616afef8d22d2bfd9c7854402
by sjoerd.meijer[AArch64] Add native CPU detection for Neoverse N1
Map the CPU ID value 0xd0c to "neoverse-n1".
Patch by James Greenhalgh.
Differential Revision: https://reviews.llvm.org/D80736
|
 | llvm/lib/Support/Host.cpp |
 | llvm/unittests/Support/Host.cpp |
Commit
47ffc81830d3b1e7e26cfda591c77caddd16a049
by whitneytRevert "[LoopUnroll] Support loops with exiting block that is neither header nor"
This reverts commit 281058226587d8c70172ff0fb1e55d58876da229.
Revert until http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-debian/builds/7334 is resolved.
|
 | llvm/lib/Transforms/Utils/LoopUnroll.cpp |
 | llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll |
Commit
f719e7d9e7c411b833aa7f40e7a2a6c891def843
by ajcbik[llvm] [MatrixIntrinsics] Add row-major support for llvm.matrix.transpose
Summary: Only column-major was supported so far. This adds row-major support as well. Note that we probably also want very efficient SIMD implementations for the various target platforms.
Bug: https://bugs.llvm.org/show_bug.cgi?id=46085
Reviewers: nicolasvasilache, reidtatge, bkramer, fhahn, ftynse, andydavis1, craig.topper, dcaballe, mehdi_amini, anemet
Reviewed By: fhahn
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80673
|
 | llvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp |
 | llvm/test/Transforms/LowerMatrixIntrinsics/transpose-i32-row-major.ll |
 | llvm/test/Transforms/LowerMatrixIntrinsics/transpose-double-row-major.ll |
 | llvm/test/Transforms/LowerMatrixIntrinsics/transpose-float-row-major.ll |
Commit
06803d7abc230d0d0e74e5b7f7f283970cb02b9f
by aeubanksAdd tests for preallocated + musttail
Summary: Follow-up to https://reviews.llvm.org/D80581. Turns out the codegen part already worked, so only needed to add tests. I manually verified that in these tests the generated code for inalloca and preallocated were identical.
Reviewers: efriedma, hans
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80742
|
 | llvm/test/CodeGen/X86/musttail-indirect.ll |
 | llvm/test/CodeGen/X86/musttail-thiscall.ll |
Commit
eca41919d28b0616140a63c6a97483098ec1ffee
by gribozavrImprove test infrastructure in SyntaxTree
Summary: * Test if the code sourcing the SyntaxTree compiles * Output compiler errors and warnings to err * Fix tests with code that did not compile
Reviewers: gribozavr2
Reviewed By: gribozavr2
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80731
|
 | clang/unittests/Tooling/Syntax/TreeTest.cpp |
Commit
51401a676c036f2bd4e6b4b38f3538615799de40
by vyngadd isAtPosition narrowing matcher for parmVarDecl
Differential Revision: https://reviews.llvm.org/D80603
|
 | clang/include/clang/ASTMatchers/ASTMatchers.h |
 | clang/lib/ASTMatchers/Dynamic/Registry.cpp |
 | clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp |
 | clang/docs/LibASTMatchersReference.html |
Commit
ac1dc1336ad76d719445d706654ca0ec4ff5557c
by Jonas Devlieghere[Docs] Correct description of lldbinit behavior
Jim pointed out that "every time somebody has touched the documentation on startup files they have stated that we source the application one and then the global one, even though in actual fact we’ve never done that."
Indeed, when we read the application specific .lldbinit file, the global one is not read. This patch updates the man page to reflect that.
|
 | lldb/docs/man/lldb.rst |
Commit
2f430f7a51693c9d5c648179f2341b541be44000
by Vitaly Buka[StackSafety] Remove SetMetadata parameter
|
 | llvm/lib/Analysis/StackSafetyAnalysis.cpp |
 | clang/lib/CodeGen/BackendUtil.cpp |
 | llvm/include/llvm/Analysis/StackSafetyAnalysis.h |
Commit
892c71a5bb72cfcce1f0e94e3a0fd314d4606977
by Vitaly Buka[StackSafety] Don't run datafow on allocas
We need to process only parameters. Allocas access can be calculated afterwards. Also don't create fake function for aliases and just resolve them on initialization.
|
 | llvm/lib/Analysis/StackSafetyAnalysis.cpp |
 | llvm/test/Analysis/StackSafetyAnalysis/ipa-alias.ll |
Commit
2622cfbcd5d47d7320d253964a725422e8773781
by Vitaly Buka[NFC,StackSafety] Move internal offset calculation
|
 | llvm/lib/Analysis/StackSafetyAnalysis.cpp |
Commit
0e6628d37f99b3baaab662b9d1fa9a1e39d3aeb8
by Vitaly Buka[StackSafety] Lazy calculations
We are going to convert this into pure analysis, so processing will be delayed up to the first safety request.
|
 | llvm/include/llvm/Analysis/StackSafetyAnalysis.h |
 | llvm/lib/Analysis/StackSafetyAnalysis.cpp |
Commit
81b79011a77f97798236af6d716e5d352790d54b
by gclayton[lldb-vscode] Make it possible to run vsce package
Summary: Running `vsce package` to package lldb-vscode as an installable .vsix file errors with:
``` ERROR Invalid publisher name 'llvm.org'. Expected the identifier of a publisher, not its human-friendly name. ```
This patch fixes the publisher name and bumps a required dependency so that `vsce package` succeeds.
Reviewers: clayborg
Reviewed By: clayborg
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D80569
|
 | lldb/tools/lldb-vscode/package.json |
Commit
9021ce9576e438ae5a6fdb574327d30ea6b67fa8
by nemanja.i.ibm[Clang] Enable KF and KC mode for [_Complex] __float128
The headers provided with recent GNU toolchains for PPC have code that includes typedefs such as:
typedef _Complex float __cfloat128 __attribute__ ((__mode__ (__KC__)))
This patch allows clang to compile programs that contain #include <math.h>
with -mfloat128 which it currently fails to compile.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=46068
Differential revision: https://reviews.llvm.org/D80374
|
 | clang/lib/Basic/TargetInfo.cpp |
 | clang/lib/Sema/SemaDeclAttr.cpp |
 | clang/test/Sema/attr-mode.c |
 | clang/include/clang/AST/ASTContext.h |
 | clang/include/clang/Basic/TargetInfo.h |
 | clang/lib/AST/ASTContext.cpp |
Commit
4d6cda9bdaca01f581ef23904f54443ef5c2acac
by listmail[Statepoint] Use iterate_range.empty [NFC]
|
 | llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
Commit
a0d2fd4a1f785230120df2bb5f74917dc0c357e5
by listmail[Statepoint] Sink actual_args and gc_args to GCStatepointInst [NFC]
These are the two operand sets which are expected to survive more than another week or so. Instead of bothering to update the deopt and gc-transition operands, we'll just wait until those are removed and delete the code.
For those following along, this is likely to be the last (major) change in this sequence for about a week. I want to wait until all of this has been merged downstream to ensure I haven't introduced any bugs (and migrate some downstream code to the new interfaces). Once that's done, we should be able to delete Statepoint/ImmutableStatepoint without too much work.
|
 | llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
 | llvm/include/llvm/IR/Statepoint.h |
 | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp |
Commit
9d065477942ffa6d9085188c0d1d2cb95a41baf6
by listmail[Statepoints] Sink routines for grabbing projections to GCStatepointInst [NFC]
Mechanical movement, nothing more.
|
 | llvm/include/llvm/IR/Statepoint.h |
 | llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
Commit
0aa201eaf97681f59b72baee6552aa1b9b5c9129
by Vedant Kumar[MachineLICM] Assert that locations from debug insts are not lost
Summary: Assert that MachineLICM does not move a debug instruction and then drop its debug location. Later passes require each debug instruction to have a location.
Testing: check-llvm, clang stage2 RelWithDebInfo build (x86_64)
Reviewers: aprantl, davide, chrisjackson, jmorse
Subscribers: hiraditya, asbirlea, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80665
|
 | llvm/lib/CodeGen/MachineLICM.cpp |
Commit
4855534d10cea3dd93d33da13ceb3381b0c588e6
by Vedant Kumar[MachineVerifier] Verify that a DBG_VALUE has a debug location
Summary: Verify that each DBG_VALUE has a debug location. This is required by LiveDebugValues, and perhaps by other late passes.
There's an exception for tests: lots of tests use a two-operand form of DBG_VALUE for convenience. There's no reason to prevent that.
This is an extension of D80665, but there's no dependency.
Reviewers: aprantl, jmorse, davide, chrisjackson
Subscribers: hiraditya, asb, rbar, johnrusso, simoncook, sabuasal, niosHD, jrtc27, MaskRay, zzheng, edward-jones, rogfer01, MartinMosbeck, brucehoult, the_o, PkmX, jocewei, Jim, lenary, s.egerton, pzheng, sameer.abuasal, apazos, luismarques, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80670
|
 | llvm/test/CodeGen/MIR/X86/instructions-debug-location.mir |
 | llvm/test/CodeGen/Hexagon/early-if-debug.mir |
 | llvm/test/CodeGen/X86/pr38952.mir |
 | llvm/lib/CodeGen/MachineVerifier.cpp |
 | llvm/test/CodeGen/X86/machine-cp-debug.mir |
 | llvm/test/CodeGen/MIR/Generic/dbg-value-missing-loc.mir |
 | llvm/test/CodeGen/RISCV/select-optimize-multiple.mir |
 | llvm/test/CodeGen/MIR/X86/metadata-operands.mir |
Commit
d11155d273af00f75c2b40a5ca3007463f9808c1
by Vedant Kumar[LiveDebugValues] Add cutoffs to avoid pathological behavior
Summary: We received a report of LiveDebugValues consuming 25GB+ of RAM when compiling code generated by Unity's IL2CPP scripting backend.
There's an initial 5GB spike due to repeatedly copying cached lists of MachineBasicBlocks within the UserValueScopes members of VarLocs.
But the larger scaling issue arises due to the fact that prior to range extension, there are 81K basic blocks and 156K DBG_VALUEs: given enough memory, LiveDebugValues would insert 101 million MIs (I counted this by incrementing a counter inside of VarLoc::BuildDbgValue).
It seems like LiveDebugValues would have to be rearchitected to support this kind of input (we'd need some new represntation for DBG_VALUEs that get inserted into ~every block via flushPendingLocs). OTOH, large globs of auto-generated code are typically not debugged interactively.
So: add cutoffs to disable range extension when the input is too big. I chose the cutoffs experimentally, erring on the conservative side. When compiling a large collection of Apple software, range extension never got disabled.
rdar://63418929
Reviewers: aprantl, friss, jmorse, Orlando
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80662
|
 | llvm/lib/CodeGen/LiveDebugValues.cpp |
 | llvm/test/DebugInfo/MIR/X86/live-debug-values-cutoffs.mir |
Commit
e8e7b2cb46bb16a8939567d770c3f69df35e7bdc
by david.green[ARM] More tests for MVE LSR and float issues. NFC
|
 | llvm/test/CodeGen/Thumb2/mve-float32regloops.ll |
Commit
8b3155829a99fecc9e62f84d95668d0e85a0dd62
by stephen.neuendorffer[MLIR] Fix build when NVPTX is not enabled
In this case, neither target is selected, but there is still a dependence on the MC library (through the TargetOptions.h include)
|
 | mlir/lib/Conversion/GPUCommon/CMakeLists.txt |
Commit
3bff62d45f83ab2c480d82809cd91a32b4a6553d
by stephen.neuendorffer[mlir] Extend standalone example by standalone-translate
Extend the standalone by standalone-translate, based on mlir-translate.
Differential Revision: https://reviews.llvm.org/D80737
|
 | mlir/examples/standalone/standalone-translate/standalone-translate.cpp |
 | mlir/examples/standalone/standalone-translate/CMakeLists.txt |
 | mlir/examples/standalone/test/Standalone/standalone-translate.mlir |
 | mlir/examples/standalone/CMakeLists.txt |
 | mlir/test/Examples/standalone/test.toy |
 | mlir/examples/standalone/test/CMakeLists.txt |
 | mlir/examples/standalone/test/lit.cfg.py |
 | mlir/examples/standalone/README.md |
Commit
434d122e94a74cbfb08e901821590faad9b6dcd9
by ctetreau[SVE] Eliminate calls to default-false VectorType::get() from Analysis
Reviewers: efriedma, fpetrogalli, kmclaughlin, sunfish
Reviewed By: fpetrogalli
Subscribers: tschuett, hiraditya, rkruppe, psnobl, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80324
|
 | llvm/lib/Analysis/ConstantFolding.cpp |
Commit
922fa2fce38b0bd97921b91ff1cdc57f18d3569c
by aeubanksRun Coverage pass before other *San passes under new pass manager, round 2
Summary: This was attempted once before in https://reviews.llvm.org/D79698, but was reverted due to the coverage pass running in the wrong part of the pipeline. This commit puts it in the same place as the other sanitizers.
This changes PassBuilder.OptimizerLastEPCallbacks to work on a ModulePassManager instead of a FunctionPassManager. That is because SanitizerCoverage cannot (easily) be split into a module pass and a function pass like some of the other sanitizers since in its current implementation it conditionally inserts module constructors based on whether or not it successfully modified functions.
This fixes compiler-rt/test/msan/coverage-levels.cpp under the new pass manager (last check-msan test).
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D80692
|
 | clang/lib/CodeGen/BackendUtil.cpp |
 | llvm/tools/opt/NewPMDriver.cpp |
 | llvm/include/llvm/Passes/PassBuilder.h |
 | llvm/lib/Passes/PassBuilder.cpp |
Commit
6eb56794023c606224b82366a04f98efd9a564eb
by Vitaly Buka[NFC,StackSafety] clang-tidy warning fixes
|
 | llvm/lib/Analysis/StackSafetyAnalysis.cpp |
Commit
519959ad825bfad0b62a2012c064e582788d8f21
by eugenis[scudo] Fix deadlock in ScudoWrappersCTest.DisableForkEnable test.
pthread_cond_wait needs a loop around it to handle spurious wake ups, as well as the case when signal runs before wait.
|
 | compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp |
Commit
27304b1737a3ff0bca39ddd3ed11b96a624a1d6d
by listmail[Tests] Switch a few statepoint tests to using operand bundles
We've started (D80598) the process of migrating away from the inline operand lists in statepoints to using explicit operand bundles. Update a few tests to reflect the new preference. More to come, these were simply the ones outside any obvious grouping.
|
 | llvm/test/Transforms/InstCombine/token.ll |
 | llvm/test/Analysis/CallGraph/non-leaf-intrinsics.ll |
 | llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll |
 | llvm/test/Transforms/RewriteStatepointsForGC/basics.ll |
 | llvm/test/Transforms/Util/strip-gc-relocates.ll |
Commit
15000255d18b84d8bf42541a037c399ce4d5a018
by listmail[Tests] Remove deopt operands from SafepointIRVerfier tests
This linter has nothing to do with deopt, and the operands had clearly been copied blindly from another source. Rather than migrate to deopt operand bundle, let's just simplify the tests.
|
 | llvm/test/SafepointIRVerifier/constant-bases.ll |
 | llvm/test/SafepointIRVerifier/unrecorded-live-at-sp.ll |
 | llvm/test/SafepointIRVerifier/uses-in-phi-nodes.ll |
 | llvm/test/SafepointIRVerifier/basic-use-after-reloc.ll |
 | llvm/test/SafepointIRVerifier/unreachable-block-tolerant.ll |
 | llvm/test/SafepointIRVerifier/compares.ll |
Commit
e3fb8446f2ec3953348f3c773004cf2aa28a8c04
by aeubanksRevert "Run Coverage pass before other *San passes under new pass manager, round 2"
This reverts commit 922fa2fce38b0bd97921b91ff1cdc57f18d3569c.
|
 | llvm/lib/Passes/PassBuilder.cpp |
 | llvm/tools/opt/NewPMDriver.cpp |
 | llvm/include/llvm/Passes/PassBuilder.h |
 | clang/lib/CodeGen/BackendUtil.cpp |
Commit
a9c7b498621b41e8e25ec8e23a6ba38dc8230282
by ctetreau[SVE] Eliminate calls to default-false VectorType::get() from mlir
Reviewers: efriedma, ftynse, c-rhodes, david-arm, rriddle
Reviewed By: ftynse
Subscribers: tschuett, rkruppe, psnobl, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80340
|
 | mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp |
Commit
10bb03c1c1901de225352814e0e51096b3d4c656
by sivachandra[libc][NFC][Obvious] Remove line break from a CMake message.
The line break was giving an impression of something going wrong.
|
 | libc/CMakeLists.txt |
Commit
5f9e0466f273602ba3ec5aa886b1bba8dfde66f4
by ntv[mlir][Vector] Fix vector.transfer alignment calculation
https://reviews.llvm.org/D79246 introduces alignment propagation for vector transfer operations. Unfortunately, the alignment calculation is incorrect and can result in crashes.
This revision fixes the calculation by using the natural alignment of the memref elemental type, instead of the resulting vector type.
If more alignment is desired, it can be done in 2 ways: 1. use a proper vector.type_cast to transform a memref<axbxcxdxf32> into a memref<axbxvector<cxdxf32>> giving a natural alignment of vector<cxdxf32> 2. add an alignment attribute to vector transfer operations and propagate it.
With this change the alignment in the relevant tests goes down from 128 to 4.
Lastly, a few minor cleanups are performed and the custom `isMinorIdentityMap` is deprecated.
Differential Revision: https://reviews.llvm.org/D80734
|
 | mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp |
 | mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp |
 | mlir/test/Conversion/VectorToSCF/vector-to-loops.mlir |
 | mlir/include/mlir/Conversion/VectorToSCF/VectorToSCF.h |
 | mlir/include/mlir/InitAllPasses.h |
 | mlir/include/mlir/Conversion/Passes.td |
 | mlir/test/lib/Transforms/TestVectorToSCFConversion.cpp |
 | mlir/test/lib/Transforms/CMakeLists.txt |
 | mlir/include/mlir/Dialect/Vector/VectorOps.h |
 | mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir |
 | mlir/tools/mlir-opt/mlir-opt.cpp |
Commit
c7614faa05fa276f34626748af7f975630e46097
by sivachandra[libc][NFC][Obvious] Fix few header guards in src/threads.
|
 | libc/src/threads/mtx_init.h |
 | libc/src/threads/mtx_lock.h |
 | libc/src/threads/thrd_create.h |
 | libc/src/threads/thrd_join.h |
 | libc/src/threads/mtx_unlock.h |
Commit
ac1d93c53b6a527d43e29a93ff2df9948b7c3e87
by craig.topper[X86] Fix a comment reference to registers R8L..R15L to use R8B..R15B like everywhere else. NFC
A new Intel SDM was released today that also fixes this issue in some documentation.
|
 | llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h |
Commit
85bf78df654bfbf021192332b9f6dac4f43b01bb
by listmail[Tests] Update a few more statepoint tests
Starting to work through the hard ones now, progress likely to slow drammatically.
|
 | llvm/test/CodeGen/X86/statepoint-uniqueing.ll |
 | llvm/test/CodeGen/X86/non-value-mem-operand.mir |
 | llvm/test/CodeGen/X86/statepoint-allocas.ll |
 | llvm/test/CodeGen/X86/combineIncDecVector-crash.ll |
 | llvm/test/CodeGen/X86/statepoint-stackmap-format.ll |
Commit
bce702e5f28fd5358fb734932828f030babf0499
by echristounsigned -> Register for readability.
|
 | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp |
Commit
b0b2507717ca904ffe50248a44a5c653946b6732
by jean-michel.gorius[mlir] Add test to check if standalone dialect is registered
Summary: Add a test to check if the standalone dialect is registered within standalone-opt. Similar to the mlir-opt commandline.mlir test.
Reviewers: Kayjukh, stephenneuendorffer
Reviewed By: Kayjukh
Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, jurahul, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80764
|
 | mlir/examples/standalone/test/Standalone/standalone-opt.mlir |
 | mlir/test/Examples/standalone/test.toy |
Commit
0dfb43deb6d5511a8ea69eeb7373a212ebd6c9c1
by richardFix handling of default arguments in __attribute__((enable_if)).
We didn't properly build default argument expressions previously -- we failed to build the wrapper CXXDefaultArgExpr node, which meant that std::source_location misbehaved, and we didn't perform default argument instantiation when necessary, which meant that dependent default arguments in function templates didn't work at all.
|
 | clang/lib/Sema/SemaExpr.cpp |
 | clang/test/SemaCXX/enable_if.cpp |
 | clang/include/clang/Sema/Sema.h |
 | clang/lib/Sema/SemaOverload.cpp |
Commit
791c78f5e0ce84bcd4cfcccbbbbcc1259f4d7e0c
by Vitaly Buka[NFC,StackSafety] Add test flag
|
 | llvm/lib/Analysis/StackSafetyAnalysis.cpp |
Commit
57f1c43cda8a05920997cd50147ed01a124b4239
by ianlevesqueclang-format xray InstrumentationMap.cpp
|
 | llvm/lib/XRay/InstrumentationMap.cpp |
Commit
e62d67f770d279d0ef7e6f1175e0a88aaffd58b0
by ianlevesque[xray] Add llvm-xray extract support for 32 bit ARM
Summary: XRay works on 32-bit ARM but extract didn't support it.
See also another previous attempt in D77858.
Reviewers: MaskRay, dberris, johnislarry
Subscribers: kristof.beyls, hiraditya, danielkiss, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80185
|
 | llvm/lib/XRay/InstrumentationMap.cpp |
 | llvm/test/tools/llvm-xray/ARM/extract-instrmap.test |
 | llvm/test/tools/llvm-xray/X86/bad-instrmap-sizes.txt |
 | llvm/test/tools/llvm-xray/X86/unsupported-elf32.txt |
Commit
d79e51a711cbca80492e517eade2666b315907e4
by craig.topper[X86] Add test case to show fast-isel incorrectly emitting a 64-bit movabsq instruction in 32-bit mode when using constant pools with -code-model=large. NFC
-code-model=large isn't supposed to mean anything to 32-bit mode. But nothing prevents passing it so we shouldn't generate bad code if someone does.
|
 | llvm/test/CodeGen/X86/fast-isel-constpool.ll |
Commit
e47e22642f9261c93a598e506bc57c717db1df7a
by Dan LiewDisable `duplicate_os_log_reports.cpp` test.
It's not passing on macOS green dragon bots. To get them green just disable for now.
rdar://problem/62141527
|
 | compiler-rt/test/asan/TestCases/Darwin/duplicate_os_log_reports.cpp |
Commit
46c177c92681791c99abde668f34931d84392cb2
by Vitaly BukaTest update for a7fa35a629e85a72b8cf07a8f95c7c09d9663808
|
 | llvm/test/tools/gold/X86/thinlto.ll |
Commit
8ae21fb8d2a2a5c55070b82dd57b345dd4716f56
by Jonas Devlieghere[lldb/CMake] Set both the BUILD and INSTALL RPATH on macOS
This is necessary when building the framework.
|
 | lldb/source/API/CMakeLists.txt |
Commit
fd1c894a4a3690b2e500bfdf71194e9cc3f1b399
by sbc[lld][WebAssembly] Convert some lld tests to assembly
When we originally wrote these tests we didn't have a stable and fleshed out assembly format. Now we do so we should prefer that over llvm ir for lld tests to avoid including more part of llvm than necessary in order to run the test.
This change converts just 30 out of about 130 test files. More to come when I have some more time.
Differential Revision: https://reviews.llvm.org/D80361
|
 | lld/test/wasm/trace.test |
 | lld/test/wasm/Inputs/call-indirect.ll |
 | lld/test/wasm/entry-signature.ll |
 | lld/test/wasm/symbol-type-mismatch.s |
 | lld/test/wasm/export-optional-lazy.test |
 | lld/test/wasm/strip-debug.test |
 | lld/test/wasm/compress-relocs.ll |
 | lld/test/wasm/archive-export.ll |
 | lld/test/wasm/shared-needed.ll |
 | lld/test/wasm/function-imports-first.ll |
 | lld/test/wasm/Inputs/start.ll |
 | lld/test/wasm/function-imports.ll |
 | lld/test/wasm/no-tls.test |
 | lld/test/wasm/relocatable.ll |
 | lld/test/wasm/Inputs/optional-symbol.ll |
 | lld/test/wasm/data-layout.ll |
 | lld/test/wasm/version.ll |
 | lld/test/wasm/export-optional-lazy.ll |
 | lld/test/wasm/Inputs/hidden.s |
 | lld/test/wasm/no-tls.ll |
 | lld/test/wasm/entry-signature.s |
 | lld/test/wasm/function-index.test |
 | lld/test/wasm/visibility-hidden.ll |
 | lld/test/wasm/Inputs/weak-symbol2.s |
 | lld/test/wasm/Inputs/weak-symbol2.ll |
 | lld/test/wasm/large-memory.test |
 | lld/test/wasm/signature-mismatch.ll |
 | lld/test/wasm/archive-no-index.ll |
 | lld/test/wasm/call-indirect.ll |
 | lld/test/wasm/bss-only.s |
 | lld/test/wasm/Inputs/hello.ll |
 | lld/test/wasm/archive.ll |
 | lld/test/wasm/emit-relocs.ll |
 | lld/test/wasm/import-memory.test |
 | lld/test/wasm/archive-no-index.s |
 | lld/test/wasm/Inputs/call-ret32.s |
 | lld/test/wasm/conflict.test |
 | lld/test/wasm/demangle.s |
 | lld/test/wasm/alias.s |
 | lld/test/wasm/Inputs/weak-symbol1.ll |
 | lld/test/wasm/Inputs/import-attributes.s |
 | lld/test/wasm/import-attribute-mismatch.s |
 | lld/test/wasm/undefined-entry.test |
 | lld/test/wasm/export-empty.test |
 | lld/test/wasm/strip-all.test |
 | lld/test/wasm/Inputs/call-indirect.s |
 | lld/test/wasm/Inputs/ret64.s |
 | lld/test/wasm/fatal-warnings.ll |
 | lld/test/wasm/Inputs/strong-symbol.s |
 | lld/test/wasm/Inputs/hidden.ll |
 | lld/test/wasm/emit-relocs-fpic.s |
 | lld/test/wasm/Inputs/weak-symbol1.s |
 | lld/test/wasm/import-attribute-mismatch.ll |
 | lld/test/wasm/import-table.test |
 | lld/test/wasm/signature-mismatch-export.ll |
 | lld/test/wasm/trace-symbol.ll |
 | lld/test/wasm/Inputs/strong-symbol.ll |
 | lld/test/wasm/Inputs/hello.s |
 | lld/test/wasm/Inputs/start.s |
 | lld/test/wasm/Inputs/call-ret32.ll |
 | lld/test/wasm/alias.ll |
 | lld/test/wasm/optional-symbol.s |
 | lld/test/wasm/responsefile.test |
 | lld/test/wasm/archive-weak-undefined.ll |
 | lld/test/wasm/signature-mismatch-weak.ll |
 | lld/test/wasm/invalid-stack-size.test |
 | lld/test/wasm/optional-symbol.ll |
 | lld/test/wasm/Inputs/import-attributes.ll |
 | lld/test/wasm/load-undefined.test |
 | lld/test/wasm/Inputs/optional-symbol.s |
 | lld/test/wasm/signature-mismatch-unknown.ll |
 | lld/test/wasm/symbol-type-mismatch.ll |
 | lld/test/wasm/Inputs/ret32.s |
 | lld/test/wasm/stack-first.test |
 | lld/test/wasm/whole-archive.test |
 | lld/test/wasm/version.s |
 | lld/test/wasm/export-table.test |
 | lld/test/wasm/Inputs/ret64.ll |
 | lld/test/wasm/bss-only.ll |
 | lld/test/wasm/growable-table.test |
 | lld/test/wasm/pic-static.ll |
 | lld/test/wasm/global-base.test |
 | lld/test/wasm/Inputs/ret32.ll |
 | lld/test/wasm/demangle.ll |
 | lld/test/wasm/weak-symbols.ll |
Commit
1285e8bcac2c54ddd924ffb813b2b187467ac2a6
by aeubanksRun Coverage pass before other *San passes under new pass manager, round 2
Summary: This was attempted once before in https://reviews.llvm.org/D79698, but was reverted due to the coverage pass running in the wrong part of the pipeline. This commit puts it in the same place as the other sanitizers.
This changes PassBuilder.OptimizerLastEPCallbacks to work on a ModulePassManager instead of a FunctionPassManager. That is because SanitizerCoverage cannot (easily) be split into a module pass and a function pass like some of the other sanitizers since in its current implementation it conditionally inserts module constructors based on whether or not it successfully modified functions.
This fixes compiler-rt/test/msan/coverage-levels.cpp under the new pass manager (last check-msan test).
Currently sanitizers + LTO don't work together under the new pass manager, so I removed tests that checked that this combination works for sancov.
Subscribers: hiraditya, cfe-commits, llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D80692
|
 | llvm/tools/opt/NewPMDriver.cpp |
 | llvm/include/llvm/Passes/PassBuilder.h |
 | clang/test/CodeGen/sancov-new-pm.c |
 | llvm/lib/Passes/PassBuilder.cpp |
 | clang/lib/CodeGen/BackendUtil.cpp |
Commit
8c050070fb96b4e6b8608a120d102bac0c8ada1c
by craig.topper[X86] Fix a nullptr dereference in X86Subtarget::classifyLocalReference when compiling with -mcmodel=medium -fpic and using a constant pool
LowerConstantPool passes a nullptr into classifyLocalReference. The medium code model handling for PIC will try to deference it using isa. This patch switches to isa_and_nonnull.
Differential Revision: https://reviews.llvm.org/D80763
|
 | llvm/lib/Target/X86/X86Subtarget.cpp |
 | llvm/test/CodeGen/X86/code-model-elf.ll |
Commit
e13c84c3be589c80edd2391664e136f54f0e3345
by Matthew.ArsenaultGlobalISel: Work on improving stock set of legality predicates
I get confused by a lot of the predicate names here, since I would assume they apply to vectors as well. Rename to reflect they only apply to scalars.
Also add a few predicates AMDGPU uses that should be generally useful. Also add any() to complement all. I've wanted to use this a few times but then worked around it not being there.
|
 | llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp |
 | llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h |
 | llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp |
Commit
38727bab6f1337880861b7ffd5a02fcff581facc
by valery.n.dmitriev[NFC][SLP] Add test case exposing SLP cost model bug. The bug is related to aggregate build cost model adjustment that adds a bias to cost triggering vectorization of actually unprofitable to vectorize tree.
Differential Revision: https://reviews.llvm.org/D80682
|
 | llvm/test/Transforms/SLPVectorizer/X86/vec_list_bias.ll |
Commit
b4668a268ddedea76bd406818fd0313b58e6f750
by Tony.Tye[AMDGPU] DWARF Proposal For Heterogeneous Debugging
- Add introduction to DWARF Proposal For Heterogeneous Debugging.
Differential Revision: https://reviews.llvm.org/D70523
|
 | llvm/docs/AMDGPUDwarfProposalForHeterogeneousDebugging.rst |
Commit
1bc73b02d6934c8586ca5740da416b7094c3c471
by whitneyt[LoopUnroll] Support loops with exiting block that is neither header nor latch.
Summary: Remove the limitation in LoopUnrollPass that exiting block must be either header or latch. Reviewer: dmgreen, jdoerfert, Meinersbur, kbarton, bmahjour, etiotto, fhahn, efriedma Reviewed By: etiotto, fhahn, efriedma Subscribers: efriedma, lkail, xbolva00, hiraditya, zzheng, llvm-commits Tag: LLVM Differential Revision: https://reviews.llvm.org/D80477
|
 | llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll |
 | llvm/lib/Transforms/Utils/LoopUnroll.cpp |
Commit
59ba12994c07d03ac3b628c05c45a834774f9b17
by maskray[llvm-xray][test] Fix unsupported-elf32.txt after D80185
|
 | llvm/test/tools/llvm-xray/X86/unsupported-elf32.txt |