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 9fb3669libcxx/test/std/containers/sequences/array at_const.pass.cpp front_back.pass.cpp, libcxx/test/std/containers/sequences/array/array.cons deduct.fail.cpp

[libc++][test] Remove disable_missing_braces_warning.h from tests

Several tests include `disable_missing_braces_warning.h` but do not need
to. Remove the include.

Inspired from discussion at https://reviews.llvm.org/D109668

Reviewed By: ldionne, #libc, Mordante

Differential Revision: https://reviews.llvm.org/D109711
DeltaFile
+0-19libcxx/test/support/disable_missing_braces_warning.h
+0-5libcxx/test/std/containers/sequences/array/at_const.pass.cpp
+0-5libcxx/test/std/containers/sequences/array/array.cons/deduct.fail.cpp
+0-5libcxx/test/std/containers/sequences/array/front_back.pass.cpp
+0-5libcxx/test/std/containers/sequences/array/at.pass.cpp
+0-5libcxx/test/std/containers/sequences/array/indexing_const.pass.cpp
+0-4426 files not shown
+0-15032 files

LLVM/project 5425106libcxx/test/libcxx/language.support/support.dynamic aligned_alloc_availability.verify.cpp, libcxx/test/std/containers/associative/map/map.cons deduct.fail.cpp

[libc++] Remove test-suite annotations for unsupported Clang versions

Differential Revision: https://reviews.llvm.org/D108471
DeltaFile
+3-10libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp
+0-7libcxx/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp
+0-6libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/delete_align_val_t_replace.pass.cpp
+1-5libcxx/test/libcxx/language.support/support.dynamic/aligned_alloc_availability.verify.cpp
+2-3libcxx/test/std/containers/associative/map/map.cons/deduct.fail.cpp
+2-3libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.fail.cpp
+8-34134 files not shown
+58-306140 files

LLVM/project 0166690libcxx/include unordered_set unordered_map, libcxx/include/__functional function.h

[libc++] Remove workarounds for the lack of deduction guides in C++17

All supported compilers have supported deduction guides in C++17 for a
while, so this isn't necessary anymore.

Differential Revision: https://reviews.llvm.org/D108213
DeltaFile
+2-2libcxx/include/unordered_set
+2-2libcxx/include/unordered_map
+3-1libcxx/test/std/utilities/function.objects/refwrap/refwrap.const/type_conv_ctor.pass.cpp
+2-2libcxx/include/set
+2-2libcxx/include/__functional/function.h
+2-2libcxx/include/map
+13-1176 files not shown
+36-13182 files

LLVM/project 31cbe0flibcxx/test/libcxx/thread/thread.lock/thread.lock.guard nodiscard.verify.cpp, libcxx/test/std/containers/associative/multiset/multiset.cons move.pass.cpp move_alloc.pass.cpp

[libc++] Remove the c++98 Lit feature from the test suite

C++98 and C++03 are effectively aliases as far as Clang is concerned.
As such, allowing both std=c++98 and std=c++03 as Lit parameters is
just slightly confusing, but provides no value. It's similar to allowing
both std=c++17 and std=c++1z, which we don't do.

This was discovered because we had an internal bot that ran the test
suite under both c++98 AND c++03 -- one of which is redundant.

Differential Revision: https://reviews.llvm.org/D80926
DeltaFile
+2-2libcxxabi/test/cxa_bad_typeid.pass.cpp
+2-2libcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.verify.cpp
+2-2libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct.pass.cpp
+2-2libcxxabi/test/cxa_bad_cast.pass.cpp
+1-1libcxx/test/std/containers/associative/multiset/multiset.cons/move.pass.cpp
+1-1libcxx/test/std/containers/associative/multiset/multiset.cons/move_alloc.pass.cpp
+10-102,065 files not shown
+2,074-2,0752,071 files

LLVM/project 6fbe470clang/docs ClangFormattedStatus.rst, llvm/lib/Analysis ScalarEvolutionExpander.cpp

[DPWBS-1493] Merge upstream branch 'master' into htc/master

The following files needed to be touched for merge-conflict resolution:

compiler-rt/cmake/builtin-config-idx.cmake  dedaf3a2ac59548c70a0d54da7267bbb082782c0
llvm/include/llvm/module.modulemap          8cec5c35816d80852bef917ed8a3002fcc5961b0

The following files needed to be touched due to changes upstream:

TriCoreMCTargetDesc.cpp  7e49dc6184ef3baf421a5bb0190466cbb1a87785
TriCoreFrameLowering.cpp 7e49dc6184ef3baf421a5bb0190466cbb1a87785
                         0840d725c4e7c98bb440db7b886054525be6ddf1
TriCoreLegalizerInfo.cpp 8bc03d2168241f7b12265e9cd7e4eb7655709f34

The following XFAIL tests were promoted to normal tests:

xfail-legalize-extract-s96.mir 052c962ced71c5130d709186b78c37a4adc59d66
xfail-legalize-freeze.mir      052c962ced71c5130d709186b78c37a4adc59d66
xfail-legalize-insert.mir      052c962ced71c5130d709186b78c37a4adc59d66

    [16 lines not shown]
DeltaFile
+8,299-8,297llvm/test/DebugInfo/NVPTX/debug-info.ll
+6,406-0clang/docs/ClangFormattedStatus.rst
+2,825-1,566llvm/test/Analysis/CostModel/ARM/cast.ll
+2,565-0llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
+0-2,565llvm/lib/Analysis/ScalarEvolutionExpander.cpp
+1,266-734llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
+21,361-13,1623,468 files not shown
+131,236-57,5233,474 files

LLVM/project 77b9abflibcxx/include array, libcxx/test/std/containers/sequences/array iterators.pass.cpp at.pass.cpp

[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
DeltaFile
+144-101libcxx/test/std/containers/sequences/array/iterators.pass.cpp
+87-65libcxx/include/array
+59-71libcxx/test/std/containers/sequences/array/at.pass.cpp
+69-60libcxx/test/std/containers/sequences/array/array.cons/implicit_copy.pass.cpp
+32-82libcxx/test/std/containers/sequences/array/front_back.pass.cpp
+34-75libcxx/test/std/containers/sequences/array/indexing.pass.cpp
+425-45432 files not shown
+1,174-80338 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/libcxx/strings/basic.string/string.modifiers erase_iter_db2.pass.cpp, libcxx/test/std/containers/unord/unord.set erase_iter_iter_db3.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.set/erase_iter_iter_db3.pass.cpp
+4-2libcxx/test/libcxx/strings/basic.string/string.modifiers/erase_iter_db2.pass.cpp
+4-2libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.creation/make_ostream_joiner.pass.cpp
+31-146,117 files not shown
+18,208-6,2276,123 files

LLVM/project 57b08b0compiler-rt/lib/builtins enable_execute_stack.c eprintf.c, polly/tools/GPURuntime GPUJIT.c GPUJIT.h

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.c
+4-4polly/tools/GPURuntime/GPUJIT.h
+3-4compiler-rt/lib/builtins/enable_execute_stack.c
+3-4compiler-rt/lib/builtins/eprintf.c
+3-4compiler-rt/lib/builtins/extenddftf2.c
+3-4compiler-rt/lib/builtins/extendhfsf2.c
+20-247,424 files not shown
+22,292-29,6747,430 files

LLVM/project 2fec6dclibcxx/test/std/containers/container.adaptors/queue/queue.cons deduct.pass.cpp, libcxx/test/std/containers/container.adaptors/stack/stack.cons deduct.pass.cpp

Mark deduction guide tests as failing on apple-clang-9

As discussed here: http://lists.llvm.org/pipermail/cfe-dev/2018-May/058116.html
The tests fail on clang-5, as well as apple-clang-9. Mark them as such.

llvm-svn: 333479
DeltaFile
+1-1libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.pass.cpp
+1-1libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
+1-1libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp
+1-1libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.pass.cpp
+4-44 files

LLVM/project c58f9b7libcxx/test/std/containers/sequences/array/array.cons deduct.pass.cpp, libcxx/test/std/utilities/optional/optional.object/optional.object.ctor deduct.pass.cpp deduct.fail.cpp

Fix up the final bits of breakage due to clang v5 generating bad implicit template deduction guides - specifically for copy-ctors

llvm-svn: 333381
DeltaFile
+5-8libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.pass.cpp
+9-1libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.fail.cpp
+3-3libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
+17-123 files

LLVM/project 3928193libcxx/test/std/containers/sequences/array/array.cons deduct.pass.cpp

Fix array deduction guide test breakage

No matching constructor

llvm-svn: 333315
DeltaFile
+3-0libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
+3-01 files

LLVM/project 929b4celibcxx/test/std/containers/sequences/array/array.cons deduct.fail.cpp deduct.pass.cpp

Disable 'missing-braces' warning

llvm-svn: 332779
DeltaFile
+5-0libcxx/test/std/containers/sequences/array/array.cons/deduct.fail.cpp
+4-0libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
+9-02 files

LLVM/project 0ca8c08libcxx/include array, libcxx/test/std/containers/sequences/array/array.cons deduct.pass.cpp deduct.fail.cpp

Implement deduction guides for <array>; Reviewed as https://reviews.llvm.org/D46964

llvm-svn: 332768
DeltaFile
+58-0libcxx/test/std/containers/sequences/array/array.cons/deduct.pass.cpp
+32-0libcxx/test/std/containers/sequences/array/array.cons/deduct.fail.cpp
+12-1libcxx/include/array
+102-13 files