1,071,134 commits found in 105 milliseconds
[lit] Optimize ShLexer string construction (#199641)
`lex_arg_quoted` and `lex_arg_slow` methods in the `lit`'s `ShLexer`
class used `+=` for string concatenation, which was inefficient. This change
replaces that pattern by collecting string fragments in a list and using
`"".join()` at the end.
**Baseline:**
| Stage | Metric (Runtime / Peak RSS) |
| :--- | :--- |
| **CodeGen-X86** | 99.310s / 51872 kB |
| **llvm-transforms** | 51.457s / 66928 kB |
**Changes made here:**
| Stage | Metric (Runtime / Peak RSS) |
| :--- | :--- |
| **CodeGen-X86** | 94.964s / 51868 kB |
| **llvm-transforms** | 50.890s / 66328 kB |
[2 lines not shown ] LLVM /project 0a0fd08 — clang/test/Sema/AArch64 arm_sve_streaming_only_sme_AND_sme2p3.c arm_sve_feature_dependent_sve_AND_sve2p3___sme_AND_LP_sve2p3_OR_sme2p3_RP.c fixup! Run `clang/utils/aarch64_builtins_test_generator.py`
Change ext_c2y_decl_statement from ExtWarn to Extension
fixup! Don't modify SelectMultiVectorLutiLane
LLVM /project c20c666 — lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime AppleObjCClassDescriptorV2.cpp AppleObjCClassDescriptorV2.h [lldb][NFCI] Cleanup AppleObjCClassDescriptorV2::objc_class_t API (#200180) fix ci
LLVM /project 3e92883 — clang-tools-extra/clangd XRefs.cpp, clang-tools-extra/clangd/test type-hierarchy-ext.test type-hierarchy.test [clangd] Remove redundant symbol name from hierarchy item details (#170112)
Closes clangd/clangd#2346. LLVM /project eec9319 — llvm/include/llvm/IR IntrinsicsAArch64.td, llvm/lib/Target/AArch64 SVEInstrFormats.td AArch64ISelDAGToDAG.cpp fixup! Amend after PR comments
LLVM /project 624586b — llvm/lib/Support UnicodeNameToCodepointGenerated.cpp, llvm/test/CodeGen/AMDGPU/NextUseAnalysis spill-vreg-many-lanes.mir acyclic-770bb.mir Merge branch 'main' into users/kosarev/vcc-tuples
Delta File +275,101 -0 llvm/test/CodeGen/AMDGPU/NextUseAnalysis/spill-vreg-many-lanes.mir +144,679 -0 llvm/test/CodeGen/AMDGPU/NextUseAnalysis/acyclic-770bb.mir +57,682 -0 llvm/test/CodeGen/AMDGPU/NextUseAnalysis/double-nested-loops-complex-cfg.mir +23,873 -20,923 llvm/lib/Support/UnicodeNameToCodepointGenerated.cpp +41,844 -0 llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills2.mir +40,613 -0 llvm/test/CodeGen/AMDGPU/NextUseAnalysis/test_ers_multiple_spills1.mir +583,792 -20,923 28,938 files not shown +3,252,506 -1,110,435 28,944 files
LLVM /project f24ee22 — mlir/test/Conversion/MemRefToEmitC memref-to-emitc-alloc.mlir memref-to-emitc-alloc-dealloc.mlir [mlir][EmitC] Include DeallocOp in AllocOp memref conversion tests (#198275)
This PR helps keep changes introduced in
https://github.com/llvm/llvm-project/pull/194591 visible, by renaming
files in a separate commit. LLVM /project 8ab00f2 — llvm/test/CodeGen/Generic available_externally_alias.ll 2009-03-17-LSR-APInt.ll [z/OS][tests] XFAIL using aliases on z/OS (#200176)
This PR XFAIL 2 lit test cases as the following errors are expected:
```
FAIL: LLVM :: CodeGen/Generic/available_externally_alias.ll
# | <unknown>:0: error: Only aliases to functions is supported in GOFF.
FAIL: LLVM :: CodeGen/Generic/2009-03-17-LSR-APInt.ll
# | <unknown>:0: error: Weak alias/reference not supported on z/OS
``` LLVM /project a16511c — clang/lib/Driver Driver.cpp Types.cpp, clang/lib/Driver/ToolChains Clang.cpp [clang][modules-driver] Precompile std modules independently of -o and final phase (#199289)
With this, Standard library modules are always precompiled as the
primary output of their `-cc1` invocation, instead of being produced as
a byproduct of compiling the Standard library modules to object files.
This also keeps Standard library module precompilation independent of
the final phase specified on the command line, so importing them keep
working under `-fsyntax-only` (and other command-line options that
specify the final phase).
This also makes the Standard library module precompilation independent
of the `-o` flag, so that a command like `clang -std=c++23
-fmodules-driver main.cpp -o main` no longer redirects the Standard
library module outputs to 'main', breaking the compilation. [lit] Handle config loading safely (#200168)
Currently, the config file is opened outside the `try` block without
explicit encoding and handled with a bare `except`.
We can move to putting a `with open()` context manager inside the `try`
block and catching OSError.
Signed-off-by: Prasoon Kumar <prasoonkumar054 at gmail.com> LLVM /project 3c21a0c — llvm/lib/Target/SPIRV SPIRVLegalizerInfo.cpp, llvm/test/CodeGen/SPIRV/extensions/SPV_ALTERA_arbitrary_precision_integers i128-icmp.ll [SPIR-V] Add s128 to allPtrsScalarsAndVectors in legalizer (#199998)
Without this, i128 G_ICMP fails legalization before OpTypeInt emits the
diagnostic
---------
Co-authored-by: Dmitry Sidorov <dsidorov at amd.com> LLVM /project b43dcbe — llvm/lib/Target/SPIRV SPIRVEmitIntrinsics.cpp SPIRVInstructionSelector.cpp, llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_poison_freeze poison.ll poison-composite.ll Implement SPV_KHR_poison_freeze extension (#198037)
Specification can be found here:
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/extensions/KHR/SPV_KHR_poison_freeze.asciidoc [IR] Avoid caching a DenseMap reference across erase in handleOperandChangeImpl. NFC (#200179)
They bind a reference into the map and write through it after erasing
the old entry. This will not hold for backward-shift deletion. Extracted
from #199615 LLVM /project 2766733 — compiler-rt CMakeLists.txt, compiler-rt/lib/profile CMakeLists.txt InstrProfilingFile.c [compiler-rt][profile] Add COMPILER_RT_BUILD_PROFILE_ROCM option (#200127) LLVM /project 992ee59 — compiler-rt/cmake/Modules AllSupportedArchDefs.cmake, compiler-rt/lib/asan asan_allocator.h Add support for Alpha to libsanitizer (#194161)
Add support for [Alpha](https://en.wikipedia.org/wiki/DEC_Alpha ) to
libsanitizer.
- [sanitizer] Add SANITIZER_ALPHA platform macro
- [sanitizer] Add Linux/Alpha syscall implementation
- [sanitizer] Skip __old_kernel_stat check on Alpha
- [sanitizer] Use statx for stat syscalls on Linux/Alpha
- [sanitizer] Add GetPcSpBp signal context support for Alpha
- [sanitizer] Add Alpha struct size constants
- [sanitizer] Add Alpha ioctl encoding constants
- [compiler-rt] sanitizer: Alpha struct sigaction has no sa_restorer
- [compiler-rt] sanitizer: Disable interceptor trampoline on Alpha
- [compiler-rt] sanitizer: Add Alpha __sanitizer_dirent layout
- [compiler-rt] sanitizer: Add Alpha ThreadDescriptorSizeFallback()
- [compiler-rt] Enable Alpha Linux target
- [compiler-rt] Use fixed shadow offset 0x10000000000 (1T) for Alpha
- [compiler-rt][ASan] Limit allocator to 512G on Alpha
[2 lines not shown ] workflows/upload-release-artifact: Validate input and remove template expansion (#199972)
https://github.com/llvm/llvm-project/security/code-scanning/1757
https://github.com/llvm/llvm-project/security/code-scanning/1758
https://github.com/llvm/llvm-project/security/code-scanning/1759
https://github.com/llvm/llvm-project/security/code-scanning/1760
https://github.com/llvm/llvm-project/security/code-scanning/1761 actions/push-container: Remove template expansion (#200062)
https://github.com/llvm/llvm-project/security/code-scanning/1757 LLVM /project fa5d53c — clang/test/Sema/aarch64-sve2p3-intrinsics acle_sve2p3_target_lane.c acle_sve2p3_target.c, llvm/lib/Target/AArch64 AArch64InstrInfo.td fixup! Move tests
LLVM /project 6ee1092 — clang/test/Sema/aarch64-sve2p3-intrinsics acle_sve2p3_target_lane.c acle_sve2p3_imm.cpp, llvm/test/CodeGen/AArch64 sve2p3-intrinsics-luti6.ll fixup! Add some more _bf16 tests
LLVM /project a2ee7c9 — clang/include/clang/Basic arm_sme.td arm_sve.td, clang/test/CodeGen/AArch64/sme2p3-intrinsics acle_sme2p3_luti6.c fixup! Fix more PR comments
LLVM /project 67e7608 — clang/lib/Sema SemaARM.cpp, clang/test/Sema/aarch64-sve2p3-intrinsics acle_sve2p3_target_lane.c fixup! More small PR fixes
LLVM /project d868e50 — clang/include/clang/Basic arm_sve.td, clang/test/CodeGen/AArch64/sme2p3-intrinsics acle_sme2p3_luti6.c fixup! Adjust after ACLE changes to svluti6_lane_s16_x4
LLVM /project 8baa129 — clang/include/clang/Basic arm_sve.td, clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_sve2p3_luti6.c fixup! Adjust definitions after ACLE updates from @rockdreamer
LLVM /project b236c78 — clang/include/clang/Basic arm_sve.td arm_sme.td, clang/test/CodeGen/AArch64/sme2p3-intrinsics acle_sme2p3_luti6.c fixup! Adjust `def`s and split out tests
LLVM /project ef4c473 — clang/include/clang/Basic arm_sve.td, clang/test/Sema/aarch64-sme2p3-intrinsics acle_sme2p3_target_lane.c acle_sme2p3_target.c fixup! Address more PR comments
LLVM /project 39ef379 — clang/lib/Sema SemaARM.cpp, clang/test/CodeGen/AArch64/sme2p3-intrinsics acle_sme2p3_luti6.c fixup! Address more PR comments
LLVM /project 198b237 — clang/include/clang/Basic arm_sve.td, clang/test/CodeGen/AArch64/sve2p3-intrinsics acle_sve2p3_luti6.c fixup! Fix final PR comments for now