Commit
0969541ffcb24ae1af59fcb8778063becf17dbca
by dvyukovtsan: disable java_finalizer2 test on darwin
pthread_barrier_t is not supported on darwin. Do what other tests that use pthread_barrier_t do.
|
 | compiler-rt/test/tsan/java_finalizer2.cpp |
Commit
69935d86aed1b691c5f33a2141f15cb3aaee1af6
by elver[Clang][Sanitizers] Expect test failure on {arm,thumb}v7
Summary: Versions of LLVM built on {arm,thumb}v7 appear to have differently configured pass managers, which causes restrictions on which sanitizers we may use.
As such, expect failure of the recently added "sanitize-coverage.c" test on these architectures until we can investigate armv7's restrictions.
Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=46117
Reviewers: vitalybuka, glider
Reviewed By: glider
Subscribers: glider, kristof.beyls, danielkiss, cfe-commits, vvereschaka
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80668
|
 | clang/test/CodeGen/sanitize-coverage.c |
Commit
e533a176b3d4d936a4870cd1a3273941ba699882
by cullen.rhodes[TableGen] Fix non-standard escape warnings for braces in InstAlias
Summary: TableGen interprets braces ('{}') in the asm string of instruction aliases as variants but when defining aliases with literal braces they have to be escaped to prevent them being removed.
Braces are escaped with '\\', for example:
def FooBraces : InstAlias<"foo \\{$imm\\}", (foo IntOperand:$imm)>;
Although when TableGen is emitting the assembly writer (-gen-asm-writer) the AsmString that gets emitted is:
AsmString = "foo \{$\x01\}";
In c/c++ braces don't need to be escaped which causes compilation warnings:
warning: use of non-standard escape character '\{' [-Wpedantic]
This patch fixes the issue by unescaping the flattened alias asm string in the asm writer, by replacing '\{\}' with '{}'.
Reviewed By: hfinkel
Differential Revision: https://reviews.llvm.org/D79991
|
 | llvm/test/TableGen/AliasAsmString.td |
 | llvm/utils/TableGen/AsmWriterEmitter.cpp |
Commit
23ac16cf9bd4cc0bb434efcf6385baf083a2ff7b
by thomaspFileCheck [10/12]: Add support for signed numeric values
Summary: This patch is part of a patch series to add support for FileCheck numeric expressions. This specific patch adds support signed numeric values, thus allowing negative numeric values.
As such, the patch adds a new class to represent a signed or unsigned value and add the logic for type promotion and type conversion in numeric expression mixing signed and unsigned values. It also adds the %d format specifier to represent signed value.
Finally, it also adds underflow and overflow detection when performing a binary operation.
Copyright: - Linaro (changes up to diff 183612 of revision D55940) - GraphCore (changes in later versions of revision D55940 and in new revision created off D55940)
Reviewers: jhenderson, chandlerc, jdenny, probinson, grimar, arichardson
Reviewed By: jhenderson, arichardson
Subscribers: MaskRay, hiraditya, llvm-commits, probinson, dblaikie, grimar, arichardson, kristina, hfinkel, rogfer01, JonChesterfield
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60390
|
 | llvm/lib/Support/FileCheck.cpp |
 | llvm/lib/Support/FileCheckImpl.h |
 | llvm/unittests/Support/FileCheckTest.cpp |
 | llvm/docs/CommandGuide/FileCheck.rst |
 | llvm/test/FileCheck/numeric-expression.txt |
Commit
c010d4d195506aaea76a1cc8afb5a6b5884dba44
by victor.campos[ARM] Improve codegen of volatile load/store of i64
Summary: Instead of generating two i32 instructions for each load or store of a volatile i64 value (two LDRs or STRs), now emit LDRD/STRD.
These improvements cover architectures implementing ARMv5TE or Thumb-2.
The code generation explicitly deviates from using the register-offset variant of LDRD/STRD. In this variant, the register allocated to the register-offset cannot be reused in any of the remaining operands. Such restriction seems to be non-trivial to implement in LLVM, thus it is left as a to-do.
Differential Revision: https://reviews.llvm.org/D70072
|
 | llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp |
 | llvm/lib/Target/ARM/ARMISelLowering.h |
 | llvm/lib/Target/ARM/ARMInstrInfo.td |
 | llvm/lib/Target/ARM/ARMInstrThumb2.td |
 | llvm/test/CodeGen/ARM/i64_volatile_load_store.ll |
 | llvm/lib/Target/ARM/ARMISelLowering.cpp |
 | llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp |
Commit
8a397b66b2c672999e9e6d63334d5bffd7db1a3f
by cullen.rhodes[AArch64][SVE] Add support for spilling/filling ZPR2/3/4
Summary: This patch enables the register allocator to spill/fill lists of 2, 3 and 4 SVE vectors registers to/from the stack. This is implemented with pseudo instructions that get expanded to individual LDR_ZXI/STR_ZXI instructions in AArch64ExpandPseudoInsts.
Patch by Sander de Smalen.
Reviewed By: efriedma
Differential Revision: https://reviews.llvm.org/D75988
|
 | llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td |
 | llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp |
 | llvm/test/CodeGen/AArch64/spillfill-sve.mir |
 | llvm/lib/Target/AArch64/AArch64InstrInfo.cpp |
Commit
a0d847c6cdcbe167213d91313577c57073d5c013
by SourabhSingh.TomarFixed bot failure after d20bf5a7258d4b6a7
There were some bot failures due unused funtion `rotateSign` left in code.
http://lab.llvm.org:8011/builders/clang-ppc64le-rhel/builds/3731
error: unused function 'rotateSign' [-Werror,-Wunused-function] static uint64_t rotateSign(int64_t I)
|
 | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp |
Commit
ab95ac013234189ad797f36d95c96b2d0999a653
by flo[AArch64] Precommit new fp extraction/insertion test.
|
 | llvm/test/CodeGen/AArch64/arm64-neon-copy.ll |
Commit
d283fc4f9d07a5f3334fe682ccabfc16e8d2933b
by sam.mccall[DebugInfo] Use SplitTemplateClosers (foo<bar<baz> >) in DWARF too
Summary: D76801 caused some regressions in debuginfo compatibility by changing how certain functions were named.
For CodeView we try to mirror MSVC exactly: this was fixed in a549c0d00486 For DWARF the situation is murkier. Per David Blaikie: > In general DWARF doesn't specify this at all. > [...] > This isn't the only naming divergence between GCC and Clang
Nevertheless, including the space seems to provide better compatibility with GCC and GDB. E.g. cpexprs.cc in the GDB testsuite requires this formatting. And there was no particular desire to change the printing of names in debug info in the first place (just in diagnostics and other more user-facing text).
Fixes PR46052
Reviewers: dblaikie, labath
Subscribers: aprantl, cfe-commits, dyung
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80554
|
 | clang/lib/CodeGen/CGDebugInfo.cpp |
 | clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp |
 | clang/test/Modules/ModuleDebugInfo.cpp |
 | clang/test/Modules/ExtDebugInfo.cpp |
Commit
ad07d5f39425d4b7013346f4eb52a1e99e6c19a8
by grimar[yaml2obj] - Implement the "SectionHeaderTable" tag.
With the "SectionHeaderTable" it is now possible to reorder entries in the section header table.
It also allows to stop emitting the table.
Differential revision: https://reviews.llvm.org/D80002
|
 | llvm/include/llvm/ObjectYAML/ELFYAML.h |
 | llvm/lib/ObjectYAML/ELFYAML.cpp |
 | llvm/test/tools/yaml2obj/ELF/section-headers.yaml |
 | llvm/lib/ObjectYAML/ELFEmitter.cpp |
Commit
bd06c417e6c717cbe33b566d7bbaf27fb47e763a
by vsavchenko[analyzer] Allow bindings of the CompoundLiteralRegion
Summary: CompoundLiteralRegions have been properly modeled before, but 'getBindingForElement` was not changed to accommodate this change properly.
rdar://problem/46144644
Differential Revision: https://reviews.llvm.org/D78990
|
 | clang/test/Analysis/retain-release-compound-literal.m |
 | clang/unittests/StaticAnalyzer/StoreTest.cpp |
 | clang/test/Analysis/compound-literals.c |
 | clang/lib/StaticAnalyzer/Core/RegionStore.cpp |
Commit
bab5dadfcd0fc3a77c47aec7e885e8b70b9f9756
by dmitry.preobrazhensky[AMDGPU][MC][DISASSEMBLER] Corrected decoder to consume each code fragment only once
Summary: disabled disassembly of successfully decoded fragments of code.
See detailed bug description: https://bugs.llvm.org/show_bug.cgi?id=46101
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D80637
|
 | llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp |
 | llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt |
Commit
a56141b8f9fea112c1ea078c974d91949b6e7a5c
by sam.mccall[clangd] Highlight related control flow.
Summary: This means e.g. highlighting "return" will show other returns/throws from the same function, highlighting a case will show all the return/breaks etc.
This is a bit of an abuse of textDocument/highlight, but seems useful.
Reviewers: adamcz
Subscribers: ilya-biryukov, MaskRay, jkorous, mgrang, arphaman, kadircet, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78454
|
 | clang-tools-extra/clangd/unittests/XRefsTests.cpp |
 | clang-tools-extra/clangd/XRefs.cpp |
Commit
45251ef5345b3c81c8f394d42d252de039c72566
by dmitry.preobrazhensky[AMDGPU][MC] Corrected v_writelane_b32 to fix a decoding bug
Corrected vdst_in to match vdst operand type. See bug 45193: https://bugs.llvm.org/show_bug.cgi?id=45193
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D80636
|
 | llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt |
 | llvm/lib/Target/AMDGPU/VOP2Instructions.td |
 | llvm/lib/Target/AMDGPU/VOP3Instructions.td |
Commit
f9e94eb8688d1fe1727360462e957fbbfb754e59
by nemanjai[Clang] Enable _Complex __float128
When I added __float128 a while ago, I neglected to add support for the complex variant of the type. This patch just adds that.
Differential revision: https://reviews.llvm.org/D80533
|
 | clang/lib/Sema/DeclSpec.cpp |
 | clang/test/CodeGen/ppc64-complex-return.c |
 | clang/test/CodeGen/ppc64-complex-parms.c |
Commit
84be4278e7966c8747aad48aa49de9bcd9f1d730
by llvm-devllvm-dwarfdump.h - remove unnecessary WithColor.h include. NFC.
|
 | llvm/tools/llvm-dwarfdump/llvm-dwarfdump.h |
Commit
ab5abce23ccf8369c39d734c6279949815a9b9dc
by llvm-devDWARFDebugMacro.h - remove unnecessary WithColor.h include. NFC.
|
 | llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h |
Commit
73ae678363fb42418a8959955d05488191045b31
by llvm-devFix MSVC signed/unsigned comparison warnings. NFC.
|
 | llvm/lib/Support/FileCheck.cpp |
Commit
f47e27e260e3e06167a7e1de8a4c092b95717e15
by dmitry.preobrazhensky[AMDGPU][MC][GFX908] Corrected src0 of v_accvgpr_write to accept only VGPRs and inline constants.
This change disables use of special SGPR registers like scc, vccz, execz, etc as operands of v_accvgpr_write.
See bug 45414: https://bugs.llvm.org/show_bug.cgi?id=45414
Reviewers: arsenm, rampitec
Differential Revision: https://reviews.llvm.org/D80530
|
 | llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp |
 | llvm/test/MC/AMDGPU/mai.s |
Commit
7716681cfd0ea2dadbddae6f1983e130c2fa4247
by SourabhSingh.TomarFixed bot failure after d20bf5a7258d4b6a7
There was a failure on windows bit due to format mismatch on different(Hex and Decimal) platforms even if meaning of output is same.
For example on X86 linux => DW_OP_plus_uconst 0x70, DW_OP_deref, DW_OP_lit4, DW_OP_mul ^ on X86 Windows-gnu => DW_AT_location (DW_OP_fbreg +112, DW_OP_deref, DW_OP_lit4, DW_OP_mul)
: error: CHECK-SAME: expected string not found in input ; CHECK-SAME: DW_OP_plus_uconst 0x70, DW_OP_deref, DW_OP_lit4, DW_OP_mul ^ <stdin>:28:17: note: scanning from here DW_AT_location (DW_OP_fbreg +112, DW_OP_deref, DW_OP_lit4, DW_OP_mul) ^ <stdin>:28:18: note: possible intended match here DW_AT_location (DW_OP_fbreg +112, DW_OP_deref, DW_OP_lit4, DW_OP_mul)
Now the test is limited to x86 using REQUIRED and -mtriple.
http://45.33.8.238/win/16214/step_11.txt
|
 | llvm/test/DebugInfo/fortranSubrangeVar.ll |
Commit
1ddac9563d7f2414e6c4302f9902ac1294966161
by llvm-dev[X86][SSE] Peek though MOVMSK source sign bits using SimplifyMultipleUseDemandedBits
Allows SimplifyDemandedBitsForTargetNode to peek through multi-use ops where MOVMSK only demands the signbit of each vector element.
|
 | llvm/test/CodeGen/X86/vec_ssubo.ll |
 | llvm/lib/Target/X86/X86ISelLowering.cpp |
 | llvm/test/CodeGen/X86/vec_smulo.ll |
 | llvm/test/CodeGen/X86/vec_saddo.ll |
Commit
e73bb4fba7092f7e1ef807812063a0f655a185af
by frgossen[MLIR] Move `ConcatOp` to its lexicographic position
Purely cosmetic change. The operation implementations in `Shape.cpp` are now lexicographic order.
Differential Revision: https://reviews.llvm.org/D80277
|
 | mlir/lib/Dialect/Shape/IR/Shape.cpp |
Commit
1a945757ac7debd9ad14497fa404e3900869cad5
by llvm-devWithColor.h - reduce unnecessary includes to forward declarations. NFC.
|
 | llvm/include/llvm/Support/WithColor.h |
Commit
f6417f5db8c16286904d074d1e40e9c1eb083951
by llvm-devFileOutputBuffer.h - remove unused includes. NFC.
Move dependent includes down to source files where necessary.
|
 | llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp |
 | llvm/include/llvm/Support/FileOutputBuffer.h |
 | llvm/lib/Support/FileOutputBuffer.cpp |
 | lld/Common/Strings.cpp |
Commit
dd484baffdf4a92e564c38a17d35a742e633b0e0
by frgossen[MLIR] Tidy up documentation for `Shape_JoinOp`, `Shape_ReduceOp`, and `Shape_ConstSizeOp`
Fix places that refer to `shape.type` instead of `shape.shape`.
Differential Revision: https://reviews.llvm.org/D80278
|
 | mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td |
Commit
c3098e4f4036e96dbd3de0e61c5e114b0eb7bbb4
by pifon[MLIR] Add TensorFromElementsOp to Standard ops.
Differential Revision: https://reviews.llvm.org/D80705
|
 | mlir/include/mlir/Dialect/StandardOps/IR/Ops.td |
 | mlir/lib/Dialect/StandardOps/IR/Ops.cpp |
 | mlir/test/IR/invalid-ops.mlir |
 | mlir/test/IR/core-ops.mlir |
 | mlir/test/Transforms/canonicalize.mlir |
Commit
6594d54571ee5887f031555a7660b8d8e74194d3
by frgossen[MLIR] Add `index_to_size` and `size_to_index` to the shape dialect
Add the two conversion operations `index_to_size` and `size_to_index` to the shape dialect. This facilitates the conversion of index types between the shape and the standard dialect.
Differential Revision: https://reviews.llvm.org/D80280
|
 | mlir/test/Dialect/Shape/canonicalize.mlir |
 | mlir/lib/Dialect/Shape/IR/Shape.cpp |
 | mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td |
Commit
0da4353938368c1f2473cd24553989f84b964279
by Matthew.ArsenaultAMDGPU: Add baseline test for ptrmask infer address space
|
 | llvm/test/Transforms/InferAddressSpaces/AMDGPU/ptrmask.ll |
Commit
d6671ee90c1423eb18c6fab11819df850ae2200d
by Matthew.ArsenaultInferAddressSpaces: Handle ptrmask intrinsic
This one is slightly odd since it counts as an address expression, which previously could never fail. Allow the existing TTI hook to return the value to use, and re-use it for handling how to handle ptrmask.
Handles the no-op addrspacecasts for AMDGPU. We could probably do something better based on analysis of the mask value based on the address space, but leave that for now.
|
 | llvm/include/llvm/CodeGen/BasicTTIImpl.h |
 | llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp |
 | llvm/lib/Analysis/TargetTransformInfo.cpp |
 | llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h |
 | llvm/test/Transforms/InferAddressSpaces/AMDGPU/ptrmask.ll |
 | llvm/include/llvm/Analysis/TargetTransformInfo.h |
 | llvm/include/llvm/Analysis/TargetTransformInfoImpl.h |
 | llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp |
Commit
fdaa391e3df3c3a555d933122b0ef85eaf5eb63c
by frgossen[MLIR] Add `num_elements` to the shape dialect
The operation `num_elements` determines the number of elements for a given shape. That is the product of its dimensions.
Differential Revision: https://reviews.llvm.org/D80281
|
 | mlir/test/Dialect/Shape/canonicalize.mlir |
 | mlir/lib/Dialect/Shape/IR/Shape.cpp |
 | mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td |
Commit
061fb8eb2d9f6ffa05f2b57670c918c477ca7f36
by whchung[mlir][gpu][mlir-cuda-runner] Refactor ConvertKernelFuncToCubin to be generic.
Make ConvertKernelFuncToCubin pass to be generic:
- Rename to ConvertKernelFuncToBlob. - Allow specifying triple, target chip, target features. - Initializing LLVM backend is supplied by a callback function. - Lowering process from MLIR module to LLVM module is via another callback. - Change mlir-cuda-runner to adopt the revised pass. - Add new tests for lowering to ROCm HSA code object (HSACO). - Tests for CUDA and ROCm are kept in separate directories.
Differential Revision: https://reviews.llvm.org/D80142
|
 | mlir/test/lib/Transforms/CMakeLists.txt |
 | mlir/lib/Conversion/GPUToCUDA/CMakeLists.txt |
 | mlir/lib/Conversion/GPUCommon/CMakeLists.txt |
 | mlir/CMakeLists.txt |
 | mlir/test/Conversion/GPUToROCm/lit.local.cfg |
 | mlir/test/lib/Transforms/TestConvertGPUKernelToCubin.cpp |
 | mlir/include/mlir/InitAllPasses.h |
 | mlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h |
 | mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h |
 | mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp |
 | mlir/test/lit.site.cfg.py.in |
 | mlir/test/lib/Transforms/TestConvertGPUKernelToHsaco.cpp |
 | mlir/lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp |
 | mlir/tools/mlir-opt/mlir-opt.cpp |
 | mlir/lib/Conversion/CMakeLists.txt |
 | mlir/test/Conversion/GPUToROCm/lower-rocdl-kernel-to-hsaco.mlir |
 | mlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp |
Commit
f1ab7550bcd51c353a1cac0303df9bbe960b7eab
by frgossen[MLIR] Fix operand type in `from_extent_tensor` in the shape dialect
The operand of `from_extent_tensor` is now of the same index type as the result type of the inverse operation `to_extent_tensor`.
Differential Revision: https://reviews.llvm.org/D80283
|
 | mlir/include/mlir/Dialect/Shape/IR/ShapeOps.td |
Commit
6c2b7ee2f7fac7b683e343c2c383b7e67fadf9f8
by sam.mccallPrevent test from failing in my home directory
|
 | clang/test/Headers/nvptx_device_math_macro.cpp |
Commit
0ea52537feae4bc64b5cefc3a4c168dc3ad90463
by llvm-devSymbolicFile.h - removed unused FileSystem.h include. NFC.
Exposes a number of implicit dependencies that needs fixing in source files and XCOFFObjectFile.h.
|
 | llvm/include/llvm/Object/XCOFFObjectFile.h |
 | llvm/lib/Object/WasmObjectFile.cpp |
 | llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp |
 | llvm/tools/llvm-rc/ResourceFileWriter.cpp |
 | llvm/tools/llvm-objcopy/wasm/Writer.cpp |
 | llvm/lib/Object/COFFObjectFile.cpp |
 | llvm/include/llvm/Object/SymbolicFile.h |
Commit
1a9e0d7092145e33175f628f4cdd28acf0d17100
by Matthew.ArsenaultAMDGPU: Make S_DENORM_MODE not be a scheduling boundary
Now that the mode register uses/defs should be properly modeled, we don't need to treat the FP mode switch as an arbitrary side effect.
|
 | llvm/lib/Target/AMDGPU/SIInstrInfo.cpp |
 | llvm/lib/Target/AMDGPU/SOPInstructions.td |
 | llvm/lib/Target/AMDGPU/SIInstrInfo.td |
Commit
cf4d4e366a2165f0e93948f166d76ae650aecc98
by arsenm2libclc: Compile with -nostdlib
This fixes a build error when compiling for amdgcn-amd-amdhsa, which defaults to trying to link bitcode libraries.
|
 | libclc/CMakeLists.txt |
Commit
06019e312571c886494d3287e8962e5d5943dab8
by Matthew.ArsenaultAMDGPU: Add missing test for s_denorm_mode scheduling
Forgot to add this file to 1a9e0d7092145e33175f628f4cdd28acf0d17100
|
 | llvm/test/CodeGen/AMDGPU/schedule-barrier-fpmode.mir |
Commit
8e325cfc1456820e2253909e4aa0c3014f1e050c
by sam.mccall[clangd] Work around PS4 -fno-exceptions, easier than disabling tests?
|
 | clang-tools-extra/clangd/unittests/XRefsTests.cpp |
Commit
04a96aa3e430a66767732f44acea00c6e13c9f78
by yitzhakm[ASTMatchers] Add traversal-kind support to `DynTypedMatcher`
Summary: This patch exposes `TraversalKind` support in the `DynTypedMatcher` API. While previously, the `match` method supported traversal logic, it was not possible to set or get the traversal kind.
Reviewers: gribozavr, steveire
Subscribers: hokein, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80685
|
 | clang/unittests/ASTMatchers/CMakeLists.txt |
 | clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp |
 | clang/include/clang/ASTMatchers/ASTMatchersInternal.h |
 | clang/lib/ASTMatchers/ASTMatchersInternal.cpp |
Commit
db52a4901096f035b6cda832c4bf4c6ce2ede2f9
by jean-michel.gorius[mlir] Make translation libraries available through MLIRConfig.cmake
|
 | mlir/cmake/modules/CMakeLists.txt |
 | mlir/cmake/modules/MLIRConfig.cmake.in |
Commit
ce5780b88c6e2f3303afd266e5e29c1badd9eb3b
by yitzhakm[libTooling] Fix Transformer to work with ambient traversal kinds.
Summary: `RewriteRule`'s `applyFirst` was brittle with respect to the default setting of the `TraversalKind`. This patch builds awareness of traversal kinds directly into rewrite rules so that they are insensitive to any changes in defaults.
Reviewers: steveire, gribozavr
Subscribers: hokein, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80606
|
 | clang/include/clang/Tooling/Transformer/RewriteRule.h |
 | clang/lib/Tooling/Transformer/RewriteRule.cpp |
 | clang/unittests/Tooling/TransformerTest.cpp |
Commit
f5192d7fb7564c45ff4ec42f359408974b7c8fa2
by jean-michel.gorius[x86] Propagate memory operands during call frame optimization
Summary: Propagate memory operands when folding load instructions into instructions that directly operate on memory.
The original revision has been split. See D80140 for the other part of the changes.
Reviewers: craig.topper, rnk, lebedev.ri, efriedma
Reviewed By: craig.topper
Subscribers: lebedev.ri, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80062
|
 | llvm/test/CodeGen/X86/cf-opt-memops.mir |
 | llvm/lib/Target/X86/X86CallFrameOptimization.cpp |
Commit
bb2ae74717a25ba268e7bd17a2a572d931ed094e
by vsavchenko[analyzer] Merge implementations of SymInt, IntSym, and SymSym exprs
Summary: SymIntExpr, IntSymExpr, and SymSymExpr share a big portion of logic that used to be duplicated across all three classes. New implementation also adds an easy way of introducing another type of operands into the mix.
Differential Revision: https://reviews.llvm.org/D79156
|
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h |
 | clang/lib/StaticAnalyzer/Core/SymbolManager.cpp |
Commit
1f57d76a8dd00611aaa4b33048be195ea9a2dc44
by vsavchenko[analyzer] Refactor range inference for symbolic expressions
Summary: This change introduces a new component to unite all of the reasoning we have about operations on ranges in the analyzer's solver. In many cases, we might conclude that the range for a symbolic operation is much more narrow than the type implies. While reasoning about runtime conditions (especially in loops), we need to support more and more of those little pieces of logic. The new component mostly plays a role of an organizer for those, and allows us to focus on the actual reasoning about ranges and not dispatching manually on the types of the nested symbolic expressions.
Differential Revision: https://reviews.llvm.org/D79232
|
 | clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp |
 | clang/test/Analysis/constant-folding.c |
 | clang/test/Analysis/double-ranges-bug.c |
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h |
Commit
47c4b8bd68698b1827f39c3056783ed042faf718
by vsavchenko[analyzer] Generalize bitwise OR rules for ranges
Summary: Previously the current solver started reasoning about bitwise OR expressions only when one of the operands is a constant. However, very similar logic could be applied to ranges. This commit addresses this shortcoming. Additionally, it refines how we deal with negative operands.
Differential Revision: https://reviews.llvm.org/D79336
|
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h |
 | clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp |
 | clang/test/Analysis/constant-folding.c |
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h |
Commit
2a09daff0f902e70a08f2b30f3461fb8848f5ab1
by vsavchenko[analyzer] Generalize bitwise AND rules for ranges
Summary: Previously the current solver started reasoning about bitwise AND expressions only when one of the operands is a constant. However, very similar logic could be applied to ranges. This commit addresses this shortcoming. Additionally, it refines how we deal with negative operands.
rdar://problem/54359410
Differential Revision: https://reviews.llvm.org/D79434
|
 | clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp |
 | clang/test/Analysis/switch-case.c |
 | clang/test/Analysis/uninit-exhaustive-switch-bug.c |
 | clang/test/Analysis/constant-folding.c |
Commit
73c120a9895a7e12e3c29a755d64096c8bd0220f
by vsavchenko[analyzer] Introduce reasoning about symbolic remainder operator
Summary: New logic tries to narrow possible result values of the remainder operation based on its operands and their ranges. It also tries to be conservative with negative operands because according to the standard the sign of the result is implementation-defined.
rdar://problem/44978988
Differential Revision: https://reviews.llvm.org/D80117
|
 | clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp |
 | clang/test/Analysis/PR35418.cpp |
 | clang/test/Analysis/constant-folding.c |
 | clang/test/Analysis/hangs.c |
 | clang/test/Analysis/uninit-bug-first-iteration-init.c |
 | clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp |
Commit
35492270ed705ea9ac98ba04c6fda1adafef613a
by gribozavrRemove WrapperMatcherInterface
Summary: WrapperMatcherInterface is an abstraction over a member variable -- in other words, not much of an abstraction at all. I think it makes code harder to read more than in helps with deduplication. Not to even mention the questionable usage of the ~Interface suffix for a type with state.
Reviewers: ymandel
Reviewed By: ymandel
Subscribers: arichardson, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80704
|
 | clang/include/clang/ASTMatchers/ASTMatchersInternal.h |
Commit
fefe4366c3bdd03552c448972930a0f7df328c24
by jpienaar[mlir] Use ValueRange instead of ArrayRef<Value>
This allows constructing operand adaptor from existing op (useful for commonalizing verification as I want to do in a follow up).
I also add ability to use member initializers for the generated adaptor constructors for convenience.
Differential Revision: https://reviews.llvm.org/D80667
|
 | mlir/include/mlir/Dialect/SPIRV/SPIRVLowering.h |
 | mlir/lib/TableGen/Operator.cpp |
 | mlir/test/mlir-tblgen/op-decl.td |
 | mlir/test/mlir-tblgen/op-operand.td |
 | mlir/lib/Dialect/SPIRV/SPIRVLowering.cpp |
 | mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp |
 | mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h |
 | mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp |
 | mlir/lib/TableGen/OpClass.cpp |
 | mlir/include/mlir/TableGen/OpClass.h |
 | mlir/include/mlir/TableGen/Operator.h |
Commit
2321ab9c69ad33944697cde68525fd7b2bf4b36a
by jpienaar[mlir] Fix mismatched-tags warning
|
 | mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h |
Commit
b726d071b4aa46004228fc38ee5bfd167f999bfe
by Alexander Timofeev[AMDGPU] Reject moving PHI to VALU if the only VGPR input originated from move immediate
Summary: PHIs result register class is set to VGPR or SGPR depending on the cross block value divergence. In some cases uniform PHI need to be converted to return VGPR to prevent the oddnumber of moves values from VGPR to SGPR and back. PHI should certainly return VGPR if it has at least one VGPR input. This change adds the exception. We don't want to convert uniform PHI to VGPRs in case the only VGPR input is a VGPR to SGPR COPY and definition od the source VGPR in this COPY is move immediate.
bb.0:
%0:vgpr_32 = V_MOV_B32_e32 0, implicit $exec %2:sreg_32 = .....
bb.1: %3:sreg_32 = PHI %1, %bb.3, %2, %bb.1 S_BRANCH %bb.3
bb.3: %1:sreg_32 = COPY %0 S_BRANCH %bb.2
Reviewers: rampitec
Reviewed By: rampitec
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, hiraditya, kerbowa, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80434
|
 | llvm/test/CodeGen/AMDGPU/phi-vgpr-input-moveimm.mir |
 | llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp |
Commit
77b9abfc8e89ca627e4f9a1cc206bea131db6db1
by Louis Dionne[libc++] Complete overhaul of constexpr support in std::array
This commit adds missing support for constexpr in std::array under all standard modes up to and including C++20. It also transforms the <array> tests to check for constexpr-friendliness under the right standard modes.
Fixes https://llvm.org/PR40124 Fixes rdar://57522096 Supersedes https://reviews.llvm.org/D60666
Differential Revision: https://reviews.llvm.org/D80452
|
 | libcxx/include/version |
 | libcxx/test/std/containers/sequences/array/at_const.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.tuple/tuple_element.fail.cpp |
 | libcxx/test/std/containers/sequences/array/indexing.pass.cpp |
 | libcxx/test/std/containers/sequences/array/aggregate.pass.cpp |
 | libcxx/test/std/containers/sequences/array/contiguous.pass.cpp |
 | libcxx/test/std/containers/sequences/array/front_back.pass.cpp |
 | libcxx/docs/FeatureTestMacroTable.rst |
 | libcxx/test/std/containers/sequences/array/at.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/array.version.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.size/size.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp |
 | libcxx/test/std/containers/sequences/array/iterators.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.data/data.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.cons/default.pass.cpp |
 | libcxx/test/std/containers/sequences/array/max_size.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.cons/initializer_list.pass.cpp |
 | libcxx/test/std/containers/sequences/array/indexing_const.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.swap/swap.pass.cpp |
 | libcxx/utils/generate_feature_test_macro_components.py |
 | libcxx/test/std/containers/sequences/array/array.fill/fill.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.tuple/get_const_rv.pass.cpp |
 | libcxx/test/std/containers/sequences/array/empty.pass.cpp |
 | libcxx/test/std/language.support/support.limits/support.limits.general/iterator.version.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.data/data_const.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.special/swap.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.tuple/get_rv.pass.cpp |
 | libcxx/test/std/containers/sequences/array/front_back_const.pass.cpp |
 | libcxx/include/array |
 | libcxx/test/std/containers/sequences/array/array.tuple/get.pass.cpp |
 | libcxx/test/std/containers/sequences/array/compare.pass.cpp |
 | libcxx/test/std/containers/sequences/array/size_and_alignment.pass.cpp |
 | libcxx/test/support/test_macros.h |
 | libcxx/test/std/containers/sequences/array/begin.pass.cpp |
 | libcxx/test/std/containers/sequences/array/array.creation/to_array.pass.cpp |
Commit
8cec5c35816d80852bef917ed8a3002fcc5961b0
by Adrian PrantlMake VE.def a textual header
|
 | llvm/include/llvm/module.modulemap |
Commit
7cfdff7b4a6704b8ef2a1b594e1ec19d2d89f385
by yitzhakm[clang-tidy] Add abseil-string-find-str-contains checker.
Summary: This adds a checker which suggests replacing string.find(...) == npos with absl::StrContains.
Reviewers: alexfh, hokein, aaron.ballman, njames93, ymandel
Reviewed By: ymandel
Subscribers: ymandel, Eugene.Zelenko, xazax.hun, mgorny, Charusso, phosek, cfe-commits
Tags: #clang, #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D80023
|
 | clang-tools-extra/docs/clang-tidy/checks/list.rst |
 | clang-tools-extra/clang-tidy/abseil/StringFindStrContainsCheck.h |
 | clang-tools-extra/test/clang-tidy/checkers/abseil-string-find-str-contains.cpp |
 | clang-tools-extra/docs/ReleaseNotes.rst |
 | clang-tools-extra/docs/clang-tidy/checks/abseil-string-find-str-contains.rst |
 | clang-tools-extra/clang-tidy/abseil/AbseilTidyModule.cpp |
 | clang-tools-extra/clang-tidy/abseil/CMakeLists.txt |
 | clang-tools-extra/clang-tidy/abseil/StringFindStrContainsCheck.cpp |
Commit
cc8fafa2be8d5315cc55aec54b2a6d7e60f470c4
by vyng[llvm-exegesis] Make a few counter methods virtual to allow targets to provide target-specific support. Misc: Also include errno in failure message.
Differential Revision: https://reviews.llvm.org/D80610
|
 | llvm/tools/llvm-exegesis/lib/Target.cpp |
 | llvm/tools/llvm-exegesis/lib/Target.h |
 | llvm/tools/llvm-exegesis/lib/PerfHelper.cpp |
 | llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp |
 | llvm/tools/llvm-exegesis/lib/PerfHelper.h |
Commit
15b6730f078329b3103a7a0476bc2227df214f4a
by whitneytCreate utility function to Merge Adjacent Basic Blocks
Summary: The following code from /llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp can be used by other transformations:
while (!MergeBlocks.empty()) { BasicBlock *BB = *MergeBlocks.begin(); BranchInst *Term = dyn_cast<BranchInst>(BB->getTerminator()); if (Term && Term->isUnconditional() && L->contains(Term->getSuccessor(0))) { BasicBlock *Dest = Term->getSuccessor(0); BasicBlock *Fold = Dest->getUniquePredecessor(); if (MergeBlockIntoPredecessor(Dest, &DTU, LI)) { // Don't remove BB and add Fold as they are the same BB assert(Fold == BB); (void)Fold; MergeBlocks.erase(Dest); } else MergeBlocks.erase(BB); } else MergeBlocks.erase(BB); } Hence it should be separated into its own utility function.
Authored By: sidbav Reviewer: Whitney, Meinersbur, asbirlea, dmgreen, etiotto Reviewed By: asbirlea Subscribers: hiraditya, zzheng, llvm-commits Tag: LLVM Differential Revision: https://reviews.llvm.org/D80583
|
 | llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp |
 | llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h |
 | llvm/lib/Transforms/Utils/BasicBlockUtils.cpp |
Commit
e0e5c644607ad71888c1df0fdbf3331d0fc2559f
by nikita.ppv[SDAG] Don't require LazyBlockFrequencyInfo at optnone
While LazyBlockFrequencyInfo itself is lazy, the dominator tree and loop info analyses it requires are not. Drop the dependency on this pass in SelectionDAGIsel at O0. This makes for a ~0.6% O0 compile-time improvement.
Differential Revision: https://reviews.llvm.org/D80387
|
 | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp |
 | llvm/test/CodeGen/X86/O0-pipeline.ll |
 | llvm/test/CodeGen/AArch64/O0-pipeline.ll |
Commit
db923ce6123068aec22735ea21a4abf8f02135d2
by llvmgnsyncbot[gn build] Port 7cfdff7b4a6
|
 | llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/abseil/BUILD.gn |
Commit
723a1caa377b898ff3dc0897156f544feab99ac8
by jinghamFix the crashlog.py script's use of the load_address property.
This property is explicitly for use only in the interactive editor, and NOT in commands. It's use worked until we got more careful about not leaving lldb.target lying around in the script interpreter.
I also added a quick sniff test for the save_crashlog command.
<rdar://problem/60350620> Differential Revision: https://reviews.llvm.org/D80680
|
 | lldb/test/API/macosx/save_crashlog/main.c |
 | lldb/test/API/macosx/save_crashlog/Makefile |
 | lldb/test/API/macosx/save_crashlog/TestSaveCrashlog.py |
 | lldb/examples/python/crashlog.py |
Commit
69ede516c7ff97c208d4a2378bb56ccaa242bbc1
by craig.topper[X86] Add 'avx512vp2intersect' to getHostCPUFeatures.
|
 | llvm/lib/Support/Host.cpp |
Commit
f0c2cfe4d044be26031acbf95471a4ac0bca5bf1
by yamauchi[PGO] Guard the memcmp/bcmp size value profiling instrumentation behind flag.
Summary: Follow up D79751 and put the instrumentation / value collection side (in addition to the optimization side) behind the flag as well.
Reviewers: davidxl
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80646
|
 | llvm/lib/Transforms/Instrumentation/ValueProfilePlugins.inc |
 | llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp |
 | llvm/test/Transforms/PGOProfile/memop_size_annotation.ll |
Commit
587fa99cfdb7d2a97143ba20ed8e8face57aa01c
by listmailDefault to generating statepoints with deopt and gc-transition bundles if needed
Continues from D80598.
The key point of the change is to default to using operand bundles instead of the inline length prefix argument lists for statepoint nodes. An important subtlety to note is that the presence of a bundle has semantic meaning, even if it is empty. As such, we need to make a somewhat deeper change to the interface than is first obvious.
Existing code treats statepoint deopt arguments and the deopt bundle operands differently during inlining. The former is ignored (resulting in caller state being dropped), the later is merged.
We can't preserve the old behaviour for calls with deopt fed to RS4GC and then inlining, but we can avoid the no-deopt case changing. At least in internal testing, that seem to be the important one. (I'd argue the "stop merging after RS4GC" behaviour for the former was always "unexpected", but that the behaviour for non-deopt calls actually make sense.)
Differential Revision: https://reviews.llvm.org/D80674
|
 | llvm/lib/IR/IRBuilder.cpp |
 | llvm/test/Transforms/RewriteStatepointsForGC/deopt-lowering-attrs.ll |
 | llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll |
 | llvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector-2.ll |
 | llvm/test/Transforms/RewriteStatepointsForGC/scalar-base-vector.ll |
 | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp |
 | llvm/test/Transforms/RewriteStatepointsForGC/basic.ll |
 | llvm/include/llvm/IR/IRBuilder.h |
Commit
db3b970a84325e326bbcec4bc3e5e663f148a481
by vsavchenko[analyzer] Remove unused function. NFC.
|
 | clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp |
Commit
116dcbebc6a1648b4acd1a1a391c1d66a3eb4b5f
by vsavchenko[analyzer] Remove unused function declaration. NFC.
|
 | clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp |
Commit
a7fa35a629e85a72b8cf07a8f95c7c09d9663808
by yamauchi[ThinLTO] Compute the basic block count across modules.
Summary: Count the per-module number of basic blocks when the module summary is computed and sum them up during Thin LTO indexing.
This is used to estimate the working set size under the partial sample PGO.
This is split off of D79831.
Reviewers: davidxl, espindola
Subscribers: emaste, inglorion, hiraditya, MaskRay, steven_wu, dexonsmith, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80403
|
 | llvm/test/ThinLTO/X86/distributed_indexes.ll |
 | lld/test/COFF/thinlto-index-only.ll |
 | lld/test/ELF/lto/thinlto-index-only.ll |
 | llvm/test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll |
 | llvm/test/tools/llvm-lto/thinlto.ll |
 | llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp |
 | llvm/include/llvm/Bitcode/LLVMBitCodes.h |
 | llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll |
 | llvm/test/Bitcode/thinlto-function-summary.ll |
 | llvm/lib/Bitcode/Reader/BitcodeReader.cpp |
 | llvm/test/Assembler/thinlto-vtable-summary.ll |
 | llvm/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll |
 | llvm/lib/AsmParser/LLLexer.cpp |
 | llvm/include/llvm/IR/ModuleSummaryIndex.h |
 | llvm/test/Bitcode/thinlto-alias2.ll |
 | llvm/test/Bitcode/thinlto-function-summary-originalnames.ll |
 | llvm/lib/AsmParser/LLToken.h |
 | llvm/lib/Bitcode/Writer/BitcodeWriter.cpp |
 | llvm/lib/Analysis/ModuleSummaryAnalysis.cpp |
 | llvm/lib/AsmParser/LLParser.h |
 | llvm/lib/AsmParser/LLParser.cpp |
 | llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll |
 | llvm/test/Bitcode/thinlto-alias.ll |
 | llvm/lib/IR/AsmWriter.cpp |
 | llvm/test/Bitcode/thinlto-function-summary-callgraph.ll |
 | llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll |
Commit
9c52422cd83137a55e9d198bf123982c040b2e99
by nikita.ppv[IR] Avoid linear scan in MDNode::intersect() (NFC)
00940fb8544767ba5217922c4ba96677aabe9eb3 changed this code to construct a set for the B metadata. However, it still performs a linear is_contained query, rather than making use of the set structure.
|
 | llvm/lib/IR/Metadata.cpp |
Commit
a1b88afe46d7a0f72d2acd8792951bd959b27545
by yitzhakm[clang-tidy] Fix build broken by commit 7cfdff7b4a6704b8ef2a1b594e1ec19d2d89f385 (D80023)
|
 | clang-tools-extra/clang-tidy/abseil/CMakeLists.txt |
Commit
5395389475bcaba16966ab62125f2f54ea81c915
by vsavchenko[analyzer] SATestBuild.py: Make verbosity level a cmd option
Reviewers: NoQ, dcoughlin
Subscribers: xazax.hun, baloghadamsoftware, szepet, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, ASDenysPetrov, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80626
|
 | clang/utils/analyzer/SATestBuild.py |
Commit
b950c261d9c107d2c9366dd7e583f9f1c4f282f3
by Jonas Devlieghere[lldb/Reproducers] Add top-level-target check-lldb-reproducers
This adds a new target `check-lldb-reproducers` that replaces the old `check-lldb-repro`. The latter would only run the shell tests, while `check-lldb-reproducers` includes the API tests as well. The new target will be used on GreenDragon.
It's still possible to run just the shell tests with reproducers, although now that requires crafting the lit invocation yourself. The parameters haven't changed and are the shame for the API and shell tests:
--param lldb-run-with-repro=capture --param lldb-run-with-repro=replay
This patch also updates the reproducer documentation.
|
 | lldb/test/CMakeLists.txt |
 | lldb/docs/resources/reproducers.rst |
 | lldb/test/Shell/CMakeLists.txt |
 | lldb/test/Shell/lit.cfg.py |
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/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
 | llvm/include/llvm/IR/Statepoint.h |
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/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp |
 | mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td |
 | mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt |
 | mlir/test/Dialect/Linalg/drop-unit-extent-dims.mlir |
 | mlir/include/mlir/Dialect/Linalg/Passes.h |
 | mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp |
 | mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp |
 | mlir/test/Dialect/Linalg/fold-unit-trip-loops.mlir |
 | mlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h |
 | mlir/include/mlir/Dialect/Linalg/Passes.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.
|
 | llvm/lib/Target/AMDGPU/SIISelLowering.cpp |
 | clang/include/clang/Basic/BuiltinsAMDGPU.def |
 | llvm/include/llvm/IR/IntrinsicsAMDGPU.td |
 | llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.setreg.ll |
 | llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td |
 | llvm/lib/Target/AMDGPU/SIInstrInfo.td |
 | llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp |
 | llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.s.setreg.ll |
 | clang/test/CodeGenOpenCL/builtins-amdgcn.cl |
 | llvm/lib/Target/AMDGPU/SOPInstructions.td |
 | clang/test/SemaOpenCL/builtins-amdgcn-error.cl |
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/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
 | llvm/lib/IR/Verifier.cpp |
 | llvm/include/llvm/IR/Statepoint.h |
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-float-row-major.ll |
 | llvm/test/Transforms/LowerMatrixIntrinsics/transpose-double-row-major.ll |
 | llvm/test/Transforms/LowerMatrixIntrinsics/transpose-i32-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-thiscall.ll |
 | llvm/test/CodeGen/X86/musttail-indirect.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/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp |
 | clang/docs/LibASTMatchersReference.html |
 | clang/include/clang/ASTMatchers/ASTMatchers.h |
 | clang/lib/ASTMatchers/Dynamic/Registry.cpp |
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/lib/Analysis/StackSafetyAnalysis.cpp |
 | llvm/include/llvm/Analysis/StackSafetyAnalysis.h |
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/include/clang/Basic/TargetInfo.h |
 | clang/lib/Basic/TargetInfo.cpp |
 | clang/lib/Sema/SemaDeclAttr.cpp |
 | clang/test/Sema/attr-mode.c |
 | clang/lib/AST/ASTContext.cpp |
 | clang/include/clang/AST/ASTContext.h |
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/include/llvm/IR/Statepoint.h |
 | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp |
 | llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
Commit
9d065477942ffa6d9085188c0d1d2cb95a41baf6
by listmail[Statepoints] Sink routines for grabbing projections to GCStatepointInst [NFC]
Mechanical movement, nothing more.
|
 | llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp |
 | llvm/include/llvm/IR/Statepoint.h |
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/MIR/Generic/dbg-value-missing-loc.mir |
 | llvm/test/CodeGen/X86/machine-cp-debug.mir |
 | llvm/test/CodeGen/X86/pr38952.mir |
 | llvm/test/CodeGen/Hexagon/early-if-debug.mir |
 | llvm/lib/CodeGen/MachineVerifier.cpp |
 | 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/test/Examples/standalone/test.toy |
 | mlir/examples/standalone/test/Standalone/standalone-translate.mlir |
 | mlir/examples/standalone/standalone-translate/CMakeLists.txt |
 | mlir/examples/standalone/test/CMakeLists.txt |
 | mlir/examples/standalone/CMakeLists.txt |
 | mlir/examples/standalone/standalone-translate/standalone-translate.cpp |
 | mlir/examples/standalone/README.md |
 | mlir/examples/standalone/test/lit.cfg.py |
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/include/llvm/Passes/PassBuilder.h |
 | llvm/lib/Passes/PassBuilder.cpp |
 | llvm/tools/opt/NewPMDriver.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/Util/strip-gc-relocates.ll |
 | llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll |
 | llvm/test/Transforms/RewriteStatepointsForGC/basics.ll |
 | llvm/test/Transforms/InstCombine/token.ll |
 | llvm/test/Analysis/CallGraph/non-leaf-intrinsics.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/basic-use-after-reloc.ll |
 | llvm/test/SafepointIRVerifier/compares.ll |
 | llvm/test/SafepointIRVerifier/unreachable-block-tolerant.ll |
 | llvm/test/SafepointIRVerifier/unrecorded-live-at-sp.ll |
 | llvm/test/SafepointIRVerifier/constant-bases.ll |
 | llvm/test/SafepointIRVerifier/uses-in-phi-nodes.ll |
Commit
e3fb8446f2ec3953348f3c773004cf2aa28a8c04
by aeubanksRevert "Run Coverage pass before other *San passes under new pass manager, round 2"
This reverts commit 922fa2fce38b0bd97921b91ff1cdc57f18d3569c.
|
 | llvm/include/llvm/Passes/PassBuilder.h |
 | llvm/tools/opt/NewPMDriver.cpp |
 | clang/lib/CodeGen/BackendUtil.cpp |
 | llvm/lib/Passes/PassBuilder.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/include/mlir/Conversion/VectorToSCF/VectorToSCF.h |
 | mlir/include/mlir/Dialect/Vector/VectorOps.h |
 | mlir/include/mlir/InitAllPasses.h |
 | mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp |
 | mlir/test/lib/Transforms/TestVectorToSCFConversion.cpp |
 | mlir/include/mlir/Conversion/Passes.td |
 | mlir/tools/mlir-opt/mlir-opt.cpp |
 | mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir |
 | mlir/test/Conversion/VectorToSCF/vector-to-loops.mlir |
 | mlir/lib/Conversion/VectorToSCF/VectorToSCF.cpp |
 | mlir/test/lib/Transforms/CMakeLists.txt |
Commit
c7614faa05fa276f34626748af7f975630e46097
by sivachandra[libc][NFC][Obvious] Fix few header guards in src/threads.
|
 | libc/src/threads/mtx_lock.h |
 | libc/src/threads/thrd_create.h |
 | libc/src/threads/thrd_join.h |
 | libc/src/threads/mtx_unlock.h |
 | libc/src/threads/mtx_init.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/combineIncDecVector-crash.ll |
 | llvm/test/CodeGen/X86/statepoint-stackmap-format.ll |
 | llvm/test/CodeGen/X86/statepoint-uniqueing.ll |
 | llvm/test/CodeGen/X86/non-value-mem-operand.mir |
 | llvm/test/CodeGen/X86/statepoint-allocas.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/test/Examples/standalone/test.toy |
 | mlir/examples/standalone/test/Standalone/standalone-opt.mlir |
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/include/clang/Sema/Sema.h |
 | clang/lib/Sema/SemaExpr.cpp |
 | clang/lib/Sema/SemaOverload.cpp |
 | clang/test/SemaCXX/enable_if.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/test/tools/llvm-xray/X86/unsupported-elf32.txt |
 | llvm/test/tools/llvm-xray/X86/bad-instrmap-sizes.txt |
 | llvm/test/tools/llvm-xray/ARM/extract-instrmap.test |
 | llvm/lib/XRay/InstrumentationMap.cpp |
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/invalid-stack-size.test |
 | lld/test/wasm/Inputs/ret64.ll |
 | lld/test/wasm/Inputs/weak-symbol2.s |
 | lld/test/wasm/Inputs/ret64.s |
 | lld/test/wasm/archive-no-index.ll |
 | lld/test/wasm/import-attribute-mismatch.ll |
 | lld/test/wasm/Inputs/call-ret32.ll |
 | lld/test/wasm/call-indirect.ll |
 | lld/test/wasm/import-memory.test |
 | lld/test/wasm/bss-only.s |
 | lld/test/wasm/export-optional-lazy.test |
 | lld/test/wasm/emit-relocs.ll |
 | lld/test/wasm/global-base.test |
 | lld/test/wasm/Inputs/strong-symbol.s |
 | lld/test/wasm/trace-symbol.ll |
 | lld/test/wasm/archive-export.ll |
 | lld/test/wasm/relocatable.ll |
 | lld/test/wasm/fatal-warnings.ll |
 | lld/test/wasm/archive-weak-undefined.ll |
 | lld/test/wasm/version.ll |
 | lld/test/wasm/Inputs/ret32.s |
 | lld/test/wasm/Inputs/weak-symbol1.ll |
 | lld/test/wasm/export-table.test |
 | lld/test/wasm/optional-symbol.ll |
 | lld/test/wasm/signature-mismatch-weak.ll |
 | lld/test/wasm/weak-symbols.ll |
 | lld/test/wasm/alias.s |
 | lld/test/wasm/archive.ll |
 | lld/test/wasm/Inputs/weak-symbol1.s |
 | lld/test/wasm/trace.test |
 | lld/test/wasm/entry-signature.ll |
 | lld/test/wasm/whole-archive.test |
 | lld/test/wasm/bss-only.ll |
 | lld/test/wasm/Inputs/ret32.ll |
 | lld/test/wasm/Inputs/call-ret32.s |
 | lld/test/wasm/signature-mismatch.ll |
 | lld/test/wasm/Inputs/hello.ll |
 | lld/test/wasm/demangle.s |
 | lld/test/wasm/Inputs/call-indirect.ll |
 | lld/test/wasm/undefined-entry.test |
 | lld/test/wasm/Inputs/start.ll |
 | lld/test/wasm/large-memory.test |
 | lld/test/wasm/visibility-hidden.ll |
 | lld/test/wasm/Inputs/import-attributes.s |
 | lld/test/wasm/version.s |
 | lld/test/wasm/Inputs/hidden.ll |
 | lld/test/wasm/load-undefined.test |
 | lld/test/wasm/function-imports-first.ll |
 | lld/test/wasm/export-empty.test |
 | lld/test/wasm/alias.ll |
 | lld/test/wasm/optional-symbol.s |
 | lld/test/wasm/symbol-type-mismatch.ll |
 | lld/test/wasm/Inputs/import-attributes.ll |
 | lld/test/wasm/no-tls.test |
 | lld/test/wasm/signature-mismatch-unknown.ll |
 | lld/test/wasm/function-index.test |
 | lld/test/wasm/emit-relocs-fpic.s |
 | lld/test/wasm/Inputs/hidden.s |
 | lld/test/wasm/import-attribute-mismatch.s |
 | lld/test/wasm/Inputs/optional-symbol.s |
 | lld/test/wasm/growable-table.test |
 | lld/test/wasm/strip-all.test |
 | lld/test/wasm/stack-first.test |
 | lld/test/wasm/archive-no-index.s |
 | lld/test/wasm/import-table.test |
 | lld/test/wasm/strip-debug.test |
 | lld/test/wasm/Inputs/call-indirect.s |
 | lld/test/wasm/Inputs/start.s |
 | lld/test/wasm/Inputs/weak-symbol2.ll |
 | lld/test/wasm/export-optional-lazy.ll |
 | lld/test/wasm/entry-signature.s |
 | lld/test/wasm/Inputs/hello.s |
 | lld/test/wasm/signature-mismatch-export.ll |
 | lld/test/wasm/conflict.test |
 | lld/test/wasm/demangle.ll |
 | lld/test/wasm/function-imports.ll |
 | lld/test/wasm/shared-needed.ll |
 | lld/test/wasm/pic-static.ll |
 | lld/test/wasm/no-tls.ll |
 | lld/test/wasm/compress-relocs.ll |
 | lld/test/wasm/data-layout.ll |
 | lld/test/wasm/Inputs/optional-symbol.ll |
 | lld/test/wasm/responsefile.test |
 | lld/test/wasm/Inputs/strong-symbol.ll |
 | lld/test/wasm/symbol-type-mismatch.s |
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 |
 | clang/lib/CodeGen/BackendUtil.cpp |
 | llvm/include/llvm/Passes/PassBuilder.h |
 | clang/test/CodeGen/sancov-new-pm.c |
 | llvm/lib/Passes/PassBuilder.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/test/CodeGen/X86/code-model-elf.ll |
 | llvm/lib/Target/X86/X86Subtarget.cpp |
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/lib/CodeGen/GlobalISel/LegalityPredicates.cpp |
 | llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h |
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 |