LLVM/project 2f763c0clang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

Rebase on top of main

Created using spr 1.3.6-beta.1
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project 4615cceclang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project fe1b3e2clang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

Rebase on top of main

Created using spr 1.3.6-beta.1
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project 8c18c46clang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project 6883cbdclang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

Rebase on top of main

Created using spr 1.3.6-beta.1
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project cacf7fdclang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project c202534clang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

Rebase on top of main

Created using spr 1.3.6-beta.1
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project 5aad4baclang/test/AST ast-dump-templates.cpp, libcxx/test/libcxx/containers/associative tree_remove.pass.cpp

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+2,885-51llvm/test/CodeGen/RISCV/rvv/vector-interleave.ll
+28,628-1,5434,718 files not shown
+222,321-128,3564,724 files

LLVM/project 0d5a309libcxx/test/libcxx/containers/associative tree_remove.pass.cpp tree_balance_after_insert.pass.cpp, llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_bit_instructions cl_khr_extended_bit_ops.ll

todo

Created using spr 1.3.4
DeltaFile
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+1,450-1,462libcxx/test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp
+2,764-0llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_bit_instructions/cl_khr_extended_bit_ops.ll
+2,443-1mlir/test/Conversion/VectorToLLVM/vector-to-llvm-interface.mlir
+38-2,387mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
+1,534-420llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll
+9,709-5,7602,791 files not shown
+106,813-93,9292,797 files

LLVM/project fe55503clang/test/AST ast-dump-templates.cpp, llvm/test/CodeGen/AArch64 neon-dotreduce.ll

rebase

Created using spr 1.3.4
DeltaFile
+3,087-8,187llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vlseg-vsseg.s
+10,982-0llvm/test/CodeGen/RISCV/GlobalISel/wide-scalar-shift-by-byte-multiple-legalization.ll
+6,045-2clang/test/AST/ast-dump-templates.cpp
+3,676-1,531llvm/test/CodeGen/AArch64/neon-dotreduce.ll
+3,824-0llvm/test/Instrumentation/MemorySanitizer/AArch64/arm64-vadd.ll
+3,412-0llvm/test/CodeGen/RISCV/GlobalISel/rotl-rotr.ll
+31,026-9,7205,441 files not shown
+249,931-173,6435,447 files

LLVM/project 2d66ab5libcxx/test/libcxx/containers/associative tree_remove.pass.cpp tree_balance_after_insert.pass.cpp, libcxx/test/std/containers/sequences/list/list.ops splice_pos_list.pass.cpp

[libc++][NFC] Run the container tests through clang-format (#126499)

We've been improving these the tests for vector quite a bit and we are
probably not done improving our container tests. Formatting everything
at once will make subsequent reviews easier.
DeltaFile
+1,480-1,490libcxx/test/libcxx/containers/associative/tree_remove.pass.cpp
+1,450-1,462libcxx/test/libcxx/containers/associative/tree_balance_after_insert.pass.cpp
+761-762libcxx/test/std/containers/sequences/list/list.ops/splice_pos_list.pass.cpp
+605-614libcxx/test/std/containers/unord/unord.multimap/local_iterators.pass.cpp
+586-599libcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp
+540-553libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_non_member.pass.cpp
+5,422-5,4801,358 files not shown
+60,339-69,9201,364 files

LLVM/project ad220d9clang/test/OpenMP target_teams_distribute_parallel_for_simd_schedule_codegen.cpp teams_distribute_parallel_for_simd_schedule_codegen.cpp, llvm/test/CodeGen/X86 large-gep-chain.ll

Merge commit 'e2d1e2183a9615c669392eefcfe632cc0b59a649' into users/meinersbur/irbuilder-extract
DeltaFile
+0-116,484llvm/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt
+0-115,677llvm/test/MC/Disassembler/AMDGPU/gfx9_dasm_all.txt
+0-98,954llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
+25,277-25,277llvm/test/CodeGen/X86/large-gep-chain.ll
+9,540-24,668clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
+9,364-24,292clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
+44,181-405,35242,672 files not shown
+3,761,432-2,721,70342,678 files

LLVM/project 4fe8bd0libcxx/include string vector

RENAME ALL THE THINGS
DeltaFile
+634-634libcxx/include/string
+578-578libcxx/include/vector
+464-464libcxx/include/__config
+447-447libcxx/include/limits
+434-434libcxx/include/unordered_map
+411-411libcxx/include/regex
+2,968-2,9682,751 files not shown
+31,958-31,9582,757 files

LLVM/project c74059clibcxx/include vector __bit_reference, libcxx/test/std/containers/sequences/vector access.pass.cpp

[libc++] Implement P1004R2 (constexpr std::vector)

Reviewed By: #libc, ldionne

Spies: mgorny, var-const, ormris, philnik, miscco, hiraditya, steven_wu, jkorous, ldionne, christof, libcxx-commits

Differential Revision: https://reviews.llvm.org/D68365

(cherry picked from commit 98d3d5b5da66e3cf7807c23a0294280bb796466b)
DeltaFile
+331-226libcxx/include/vector
+139-104libcxx/include/__bit_reference
+77-53libcxx/include/__split_buffer
+20-14libcxx/test/std/containers/sequences/vector/access.pass.cpp
+20-9libcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp
+20-9libcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp
+607-415116 files not shown
+1,816-735122 files

LLVM/project 98d3d5blibcxx/include vector __bit_reference, libcxx/test/std/containers/sequences/vector access.pass.cpp

[libc++] Implement P1004R2 (constexpr std::vector)

Reviewed By: #libc, ldionne

Spies: mgorny, var-const, ormris, philnik, miscco, hiraditya, steven_wu, jkorous, ldionne, christof, libcxx-commits

Differential Revision: https://reviews.llvm.org/D68365
DeltaFile
+331-226libcxx/include/vector
+139-104libcxx/include/__bit_reference
+77-53libcxx/include/__split_buffer
+20-14libcxx/test/std/containers/sequences/vector/access.pass.cpp
+20-9libcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter_iter.pass.cpp
+20-9libcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp
+607-415116 files not shown
+1,817-735122 files

LLVM/project 773ae44libcxx/test/std/algorithms/alg.modifying.operations/alg.transform binary_transform.pass.cpp, libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members get_long_double_ru_RU.pass.cpp get_long_double_fr_FR.pass.cpp

[libcxx][nfc] prefixes test type `input_iterator` with `cpp17_`

C++20 revised the definition of what it means to be an iterator. While
all _Cpp17InputIterators_ satisfy `std::input_iterator`, the reverse
isn't true. D100271 introduces a new test adaptor to accommodate this
new definition (`cpp20_input_iterator`).

In order to help readers immediately distinguish which input iterator
adaptor is _Cpp17InputIterator_, the current `input_iterator` adaptor
has been prefixed with `cpp17_`.

Differential Revision: https://reviews.llvm.org/D101242
DeltaFile
+115-115libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp
+70-70libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/binary_transform.pass.cpp
+58-58libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_ru_RU.pass.cpp
+58-58libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long_double.pass.cpp
+58-58libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_fr_FR.pass.cpp
+58-58libcxx/test/std/localization/locale.categories/category.monetary/locale.money.get/locale.money.get.members/get_long_double_en_US.pass.cpp
+417-417207 files not shown
+1,564-1,560213 files

LLVM/project 2c2a7bbclang/test/Analysis/Inputs/expected-plists retain-release.m.objcpp.plist retain-release.m.objc.plist, lldb/www/python_reference lldb-pysrc.html _lldb'-module.html

Merge community 'master' into HighTec htc/master
DeltaFile
+131,121-0llvm/test/MC/AMDGPU/gfx10_asm_all.s
+98,845-0llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
+0-76,576lldb/www/python_reference/lldb-pysrc.html
+0-35,247lldb/www/python_reference/_lldb'-module.html
+26,304-0clang/test/Analysis/Inputs/expected-plists/retain-release.m.objcpp.plist
+26,235-0clang/test/Analysis/Inputs/expected-plists/retain-release.m.objc.plist
+282,505-111,82349,584 files not shown
+3,612,145-1,757,40149,590 files

LLVM/project 2df59c5libcxx/test/std/containers/unord/unord.map/unord.map.modifiers erase_iter_iter_db2.pass.cpp, libcxx/test/std/input.output/iostream.format/quoted.manip quoted.pass.cpp

Support tests in freestanding

Summary:
Freestanding is *weird*. The standard allows it to differ in a bunch of odd
manners from regular C++, and the committee would like to improve that
situation. I'd like to make libc++ behave better with what freestanding should
be, so that it can be a tool we use in improving the standard. To do that we
need to try stuff out, both with "freestanding the language mode" and
"freestanding the library subset".

Let's start with the super basic: run the libc++ tests in freestanding, using
clang as the compiler, and see what works. The easiest hack to do this:

In utils/libcxx/test/config.py add:

  self.cxx.compile_flags += ['-ffreestanding']

Run the tests and they all fail.


    [37 lines not shown]
DeltaFile
+7-3libcxx/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp
+7-3libcxx/test/std/input.output/iostream.format/quoted.manip/quoted.pass.cpp
+5-2libcxx/test/std/utilities/meta/meta.unary/meta.unary.cat/nullptr.pass.cpp
+4-2libcxx/test/std/containers/unord/unord.map/unord.map.modifiers/erase_iter_iter_db2.pass.cpp
+4-2libcxx/test/std/strings/basic.string/string.access/db_back.pass.cpp
+4-2libcxx/test/std/utilities/tuple/tuple.tuple/TupleFunction.pass.cpp
+31-146,117 files not shown
+18,208-6,2276,123 files

LLVM/project 57b08b0compiler-rt/lib/builtins absvdi2.c absvsi2.c, libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic float.pass.cpp

Update more file headers across all of the LLVM projects in the monorepo
to reflect the new license. These used slightly different spellings that
defeated my regular expressions.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351648
DeltaFile
+4-4polly/tools/GPURuntime/GPUJIT.h
+4-4polly/tools/GPURuntime/GPUJIT.c
+3-4libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/float.pass.cpp
+3-4compiler-rt/lib/builtins/absvdi2.c
+3-4compiler-rt/lib/builtins/absvsi2.c
+3-4compiler-rt/lib/builtins/absvti2.c
+20-247,424 files not shown
+22,292-29,6747,430 files

LLVM/project fbfb2ablibcxx/test/std/containers/unord/unord.map swap_member.pass.cpp, libcxx/test/std/containers/unord/unord.multimap swap_member.pass.cpp

[libcxx] [test] D27021: Fix MSVC warning C4389 "signed/unsigned mismatch", part 8/12.

Add static_cast<std::size_t> when comparing distance() to size().

These replacements were performed programmatically with regex_replace():

const vector<pair<regex, string>> reg_fmt = {
    { regex(R"(assert\((\w+)\.size\(\) == std::distance\((\w+, \w+)\)\))"),
        "assert($1.size() == static_cast<std::size_t>(std::distance($2)))" },
    { regex(R"(assert\(distance\((\w+\.begin\(\), \w+\.end\(\))\) == (\w+)\.size\(\)\))"),
        "assert(static_cast<std::size_t>(distance($1)) == $2.size())" },
    { regex(R"(assert\(std::distance\((\w+\.\w*begin\(\), \w+\.\w*end\(\))\) == (\w+)\.size\(\)\))"),
        "assert(static_cast<std::size_t>(std::distance($1)) == $2.size())" },
};

Also, include <cstddef> when it wasn't already being included.

llvm-svn: 288745
DeltaFile
+49-48libcxx/test/std/containers/unord/unord.multimap/swap_member.pass.cpp
+49-48libcxx/test/std/containers/unord/unord.set/swap_member.pass.cpp
+49-48libcxx/test/std/containers/unord/unord.set/unord.set.swap/swap_non_member.pass.cpp
+49-48libcxx/test/std/containers/unord/unord.multiset/swap_member.pass.cpp
+49-48libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/swap_non_member.pass.cpp
+49-48libcxx/test/std/containers/unord/unord.map/swap_member.pass.cpp
+294-288111 files not shown
+1,046-943117 files

LLVM/project 1f4231flibcxx/test/libcxx/strings/basic.string/string.modifiers erase_iter_db2.pass.cpp erase_iter_db1.pass.cpp, libcxx/test/std/strings/basic.string/string.modifiers/string_erase erase_iter_db2.pass.cpp erase_iter_iter_db2.pass.cpp

Guard libc++ specific c.__invariants() tests in LIBCPP_ASSERT macros

llvm-svn: 267947
DeltaFile
+0-52libcxx/test/std/strings/basic.string/string.modifiers/string_erase/erase_iter_db2.pass.cpp
+52-0libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db2.pass.cpp
+0-50libcxx/test/std/strings/basic.string/string.modifiers/string_erase/erase_iter_iter_db2.pass.cpp
+50-0libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db1.pass.cpp
+50-0libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db1.pass.cpp
+50-0libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_iter_db2.pass.cpp
+202-102101 files not shown
+690-642107 files

LLVM/project 5a83710libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members put_long_double.pass.cpp put_double.pass.cpp, libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members put_long_double.pass.cpp put_double.pass.cpp

Move test into test/std subdirectory.

llvm-svn: 224658
DeltaFile
+26,248-0libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
+0-26,248libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
+0-17,887libcxx/test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.pass.cpp
+17,887-0libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_double.pass.cpp
+0-5,966libcxx/test/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp
+5,966-0libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_string_size_size.pass.cpp
+50,101-50,1019,627 files not shown
+403,159-403,1469,633 files