FailedChanges

Summary

  1. [Syntax] Add iterators over children of syntax trees. (details)
  2. Return "[IndVars] Remove monotonic checks with unknown exit count" (details)
  3. [x86 testing] NFC: remove a few needless vector popcnt tests (details)
  4. [llvm-reduce] Extend test to also use special globals. (details)
  5. [X86] Regenerate bool-vector tests. NFCI. (details)
  6. [DAG] Move canFoldInAddressingMode before foldBinOpIntoSelect. NFC. (details)
  7. [yaml2obj][obj2yaml] - Teach tools to work with regular archives. (details)
  8. [mlir] NFC: small fixes to LinalgTilingOptions API (details)
  9. [gn build] Port 47369e194a4 (details)
  10. [llvm-objdump] - Rewrite malformed-archives.test to use YAML descriptions. (details)
  11. [AMDGPU] Omit needless string concatenations. NFC. (details)
  12. [llvm-objdump] - Restore Inputs/libbogus11.a input to fix BB. (details)
  13. Revert "[OpenMP] Add Passing in Original Declaration Names To Mapper API" (details)
  14. [openmp] Use front() instead of *begin() to not hide bugs when CurTypes is empty. (details)
  15. [TableGen] Update xxx-tblgen command document. (details)
  16. [llvm-reduce] Add reduction for aliases. (details)
  17. MLIR: add SinOp Lowering to __nv_sinf and __nv_sin (details)
  18. [gn build] Port 23c8da25ef7 (details)
  19. [yaml2obj][test] - Try to fix Archives/regular.yaml to fix BB. (details)
  20. [TableGen] Command description file requires a hyphen in document title. (details)
  21. [obj2yaml][test] - Replace llvm-ar with yaml2obj in Archives/regular.yaml to fix BB. (details)
  22. [libc++] Remove <clocale> from some system_error tests (details)
  23. [libc++] Move the #error message for no localization to <locale.h> (details)
  24. [yamls2obj][test] - Make the Archives/regular.yaml test stricter. (details)
  25. [debuginfo-tests][dexter] Add two new debug experience tests (details)
  26. [libomptarget][nvptx] Undef, weak shared variables (details)
  27. [NFC][IntrRefLDV] Improve the Value printing (details)
  28. [AMDGPU] Use -strict-whitespace for GFX10 disassembler tests (details)
  29. [AArch64] Extend vector insertion test cases. (details)
  30. [Syntax] Add missing default constructor for ConstChildIterator (details)
  31. [compiler-rt][SystemZ] Skip fuzzer/full-coverage.test (details)
  32. Fix Wdocumentation unknown parameter warnings. NFCI. (details)
  33. [clang-tidy][NFC] IdentifierNaming: Remove unnecessary string allocations (details)
  34. [X86] Fix cpu name typos (details)
  35. [ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added before a SHF_LINK_ORDER orphan (details)
  36. [AMDGPU] Precommit tests for D89388 and D89399, NFC (details)
  37. RegAlloc: Clear isSSA (details)
  38. [TableGen] [AMDGPU] Add !sub operator for subtraction (details)
  39. [WebAssembly] Prototype extending multiplication SIMD instructions (details)
  40. [WebAssembly] Clang-format builtins generation (NFC) (details)
Commit d4934eb5f876cdc97a9a8665bd654351fbbcb66b by sam.mccall
[Syntax] Add iterators over children of syntax trees.

This gives us slightly nicer syntax (foreach) for idioms currently expressed
as a loop, and the option to use range algorithms where it makes sense
(e.g. llvm::all_of et al encapsulate the needed flow control in a useful way).

It's also a building block for iteration over filtered views (e.g. iterate over
all Stmt children, with the right type):
for (const Statement &S : filter<Statement>(N.children()))
  ...

I realize the recent direction has been mostly towards strongly-typed
node-specific facilities, but I think it's important we have convenient
generic facilities too.

Differential Revision: https://reviews.llvm.org/D90023
The file was modifiedclang/unittests/Tooling/Syntax/TreeTestBase.h
The file was modifiedclang/unittests/Tooling/Syntax/TreeTest.cpp
The file was modifiedclang/include/clang/Tooling/Syntax/Tree.h
The file was modifiedclang/lib/Tooling/Syntax/Tree.cpp
Commit 160a453138429f5e389de877fd02db2bb7dc6765 by mkazantsev
Return "[IndVars] Remove monotonic checks with unknown exit count"

This reverts commit e038b60d9169733367393f733058f0ff23c28d3f.
This reverts commit a0d84d80315d0c725b5efcd889928bad1171ba56.

This revert was a mistake. The reason of the failures was
"Use uint64_t for branch weights instead of uint32_t"

Differential Revision: https://reviews.llvm.org/D87832
The file was modifiedllvm/test/Transforms/IndVarSimplify/monotonic_checks.ll
The file was modifiedllvm/include/llvm/Analysis/ScalarEvolution.h
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/lib/Analysis/ScalarEvolution.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
Commit 305d18a04b8c999162d130ca637d2adda59637e6 by dave
[x86 testing] NFC: remove a few needless vector popcnt tests

The removed tests are handled by optimization passes before code gen and
therefore are just a distraction when making code gen changes that may
(as a side effect) reimplement earlier optimization work as a side effect.

Specifically, the following tests where removed:

ult_0_v* -> false
ult_1_v* -> x == 0
ugt_0_v* -> x != 0

ult_{size-of-element-plus-one}_v* -> true
ugt_{size-of-element}_v*          -> false

ult_{size-of-element}_v*           -> x != mask
ugt_{size-of-element-minus-one}_v* -> x == mask
The file was modifiedllvm/test/CodeGen/X86/vector-popcnt-256-ult-ugt.ll
The file was modifiedllvm/test/CodeGen/X86/vector-popcnt-128-ult-ugt.ll
The file was modifiedllvm/test/CodeGen/X86/vector-popcnt-512-ult-ugt.ll
Commit 4b1fbdbd8e5ba1c0236a2d8e1caed095dc56fab5 by flo
[llvm-reduce] Extend test to also use special globals.
The file was modifiedllvm/test/Reduce/remove-alias.ll
Commit ee57619c531aeb9dad057231666e4b57769f2a8a by llvm-dev
[X86] Regenerate bool-vector tests. NFCI.

Merge prefixes where possible, use 'X86' instead of 'X32' (which we try to only use for gnux32 triple tests).
The file was modifiedllvm/test/CodeGen/X86/bool-vector.ll
Commit f53d7f55f14c14f1366192f7117840eb0afbd5b2 by llvm-dev
[DAG] Move canFoldInAddressingMode before foldBinOpIntoSelect. NFC.

Reduces the diff in D90113.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 47369e194a48dbe3cf04a7845e23e25e43e973f0 by grimar
[yaml2obj][obj2yaml] - Teach tools to work with regular archives.

This teaches obj2yaml to dump valid regular (not thin) archives.
This also teaches yaml2obj to recognize archives YAML descriptions,
what allows to craft all different kinds of archives (valid and broken ones).

Differential revision: https://reviews.llvm.org/D89949
The file was addedllvm/include/llvm/ObjectYAML/ArchiveYAML.h
The file was modifiedllvm/lib/ObjectYAML/yaml2obj.cpp
The file was modifiedllvm/lib/ObjectYAML/CMakeLists.txt
The file was modifiedllvm/include/llvm/ObjectYAML/ObjectYAML.h
The file was modifiedllvm/include/llvm/ObjectYAML/yaml2obj.h
The file was modifiedllvm/tools/obj2yaml/obj2yaml.h
The file was addedllvm/tools/obj2yaml/archive2yaml.cpp
The file was addedllvm/lib/ObjectYAML/ArchiveYAML.cpp
The file was modifiedllvm/tools/obj2yaml/CMakeLists.txt
The file was addedllvm/test/tools/obj2yaml/Archives/regular.yaml
The file was addedllvm/lib/ObjectYAML/ArchiveEmitter.cpp
The file was modifiedllvm/tools/obj2yaml/obj2yaml.cpp
The file was addedllvm/test/tools/yaml2obj/Archives/regular.yaml
The file was modifiedllvm/lib/ObjectYAML/ObjectYAML.cpp
Commit b1b0ddbb67d206de7dd2ea028a3e5eff8f6bdf49 by antiagainst
[mlir] NFC: small fixes to LinalgTilingOptions API

This commit changes to use plain values instead of references.
We need to copy it anyway. References forbid using temporary
values generated from expressions.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D90277
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Commit aa455164066e0336d51b4ef50b3b896393a868a4 by llvmgnsyncbot
[gn build] Port 47369e194a4
The file was modifiedllvm/utils/gn/secondary/llvm/lib/ObjectYAML/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/llvm/tools/obj2yaml/BUILD.gn
Commit 080ca508589664a9a2d431ca11e409ac4a6314f7 by grimar
[llvm-objdump] - Rewrite malformed-archives.test to use YAML descriptions.

Currently the test uses 14 precompiled binaries. With the functionality
implemented in D89949, it is possible to remove them and use YAMLs instead.

Differential revision: https://reviews.llvm.org/D90013
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus3.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus2.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus7.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus9.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus12.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus14.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus5.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus11.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus13.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus6.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus4.a
The file was modifiedllvm/test/tools/llvm-objdump/malformed-archives.test
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus1.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus10.a
The file was removedllvm/test/tools/llvm-objdump/Inputs/libbogus8.a
Commit 9e634bc22f2a1f8d889227179b0e5c6c77aa9db6 by jay.foad
[AMDGPU] Omit needless string concatenations. NFC.
The file was modifiedllvm/lib/Target/AMDGPU/EvergreenInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/BUFInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/DSInstructions.td
Commit 3acff2498d60a52a3722994cd0d15e76a73d1875 by grimar
[llvm-objdump] - Restore Inputs/libbogus11.a input to fix BB.

The libbogus11.a archive was removed by D90013.
But it is used by another test: llvm-objdump\MachO\disassemble-g-dsym.test

BB failture:
http://lab.llvm.org:8011/#/builders/109/builds/1450
The file was addedllvm/test/tools/llvm-objdump/Inputs/libbogus11.a
Commit 207cf71fa9ce117051c73fe308e8e434f3c84c9c by benny.kra
Revert "[OpenMP] Add Passing in Original Declaration Names To Mapper API"

This reverts commit d981c7b7581efc3ef378709042100e75da0185a0 and
a87d7b3d448a16e416d1980b9d6aea99e4c9900b. Test fails under msan.
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
The file was modifiedclang/test/OpenMP/target_map_codegen_29.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_02.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_06.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_05.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_01.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_10.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_11.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/OpenMP/capturing_in_templates.cpp
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was removedclang/test/OpenMP/target_map_names.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_link_codegen.cpp
The file was modifiedclang/test/OpenMP/target_defaultmap_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_12.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_16.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_addr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_07.cpp
The file was modifiedclang/test/OpenMP/target_teams_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_15.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_28.cpp
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_30.cpp
The file was modifiedclang/test/OpenMP/target_device_codegen.cpp
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_18.inc
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedclang/test/OpenMP/target_parallel_for_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_04.cpp
The file was modifiedclang/test/OpenMP/target_parallel_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_pointer_capturing.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_14.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_21.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_member_expr_array_section_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedopenmp/libomptarget/src/private.h
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_23.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/target_map_codegen_24.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_17.cpp
The file was modifiedclang/test/OpenMP/target_update_codegen.cpp
The file was modifiedclang/test/OpenMP/target_is_device_ptr_codegen.cpp
The file was removedopenmp/libomptarget/include/SourceInfo.h
The file was modifiedclang/test/OpenMP/target_map_codegen_00.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_26.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_33.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_09.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_27.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_20.cpp
The file was modifiedllvm/test/Transforms/OpenMP/values_in_offload_arrays.ll
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_08.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_13.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_19.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/add_attributes.ll
The file was modifiedclang/test/OpenMP/target_map_codegen_22.cpp
The file was modifiedclang/test/OpenMP/target_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_25.cpp
Commit 90a9f97cbda3bef63d9866d300b73b8ccf65c7f5 by benny.kra
[openmp] Use front() instead of *begin() to not hide bugs when CurTypes is empty.
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit 22a8f5a2c3c98432f28582ec72c7ea1fbe5ee1b2 by paul
[TableGen] Update xxx-tblgen command document.

Add a few cross-references among TableGen documents.

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

Add cross-references between TableGen documents.
The file was modifiedllvm/docs/CommandGuide/tblgen.rst
The file was modifiedllvm/docs/TableGen/ProgRef.rst
The file was removedllvm/docs/TableGen/Deficiencies.rst
The file was modifiedllvm/docs/TableGen/index.rst
Commit 23c8da25ef79b31f8d014cb6135437e9061a4ce7 by flo
[llvm-reduce] Add reduction for aliases.

This patch adds a new reduction pass that tries to remove aliases.
It runs early, as most of those likely can be removed up-front in
practice.

This substantially improves llvm-reduce for IR generated by the swift
compiler, which can generate a lot of aliases which lead to lots of
invalid reductions.

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D90260
The file was modifiedllvm/test/Reduce/remove-alias.ll
The file was modifiedllvm/tools/llvm-reduce/CMakeLists.txt
The file was addedllvm/tools/llvm-reduce/deltas/ReduceAliases.cpp
The file was modifiedllvm/tools/llvm-reduce/DeltaManager.h
The file was addedllvm/tools/llvm-reduce/deltas/ReduceAliases.h
Commit 1ec893c57417d9d762451c0837f5a84545f5da16 by zinenko
MLIR: add SinOp Lowering to __nv_sinf and __nv_sin

Added lowering rule from `SinOp` to `__nv_sinf` and `__nv_sin`

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D90147
The file was modifiedmlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
The file was modifiedmlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
Commit e8c4fd86ce95b64811826437ff57ab9e090eea91 by llvmgnsyncbot
[gn build] Port 23c8da25ef7
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Commit 6d656c9691d4139a00566125c6de45814a30565c by grimar
[yaml2obj][test] - Try to fix Archives/regular.yaml to fix BB.

It was added in D89949.

FreeBSD bot fails: http://lab.llvm.org:8011/#/builders/28/builds/547
The file was modifiedllvm/test/tools/yaml2obj/Archives/regular.yaml
Commit 0ed1e1df402fdb3c9572382be1f873b77d661726 by paul
[TableGen] Command description file requires a hyphen in document title.
The file was modifiedllvm/docs/CommandGuide/tblgen.rst
Commit 59fcf503858856c40c595863b712072e3731e95b by grimar
[obj2yaml][test] - Replace llvm-ar with yaml2obj in Archives/regular.yaml to fix BB.

Seems that llvm-ar has a different behavior on MAC and BB fails: http://45.33.8.238/mac/22696/log.txt

This replaces llvm-ar with yaml2obj.
The file was modifiedllvm/test/tools/obj2yaml/Archives/regular.yaml
Commit 201184b30b286340e323c08d7d1f5f86cfa15489 by Louis Dionne
[libc++] Remove <clocale> from some system_error tests

The explicit call to `std::setlocale(LC_ALL, "C")` isn't required, since
the Standard already says the equivalent of this call is performed on
program startup.
The file was modifiedlibcxx/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category.pass.cpp
The file was modifiedlibcxx/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_const_char_pointer.pass.cpp
The file was modifiedlibcxx/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_string.pass.cpp
The file was modifiedlibcxx/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code.pass.cpp
The file was modifiedlibcxx/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_error_code_const_char_pointer.pass.cpp
The file was modifiedlibcxx/test/std/diagnostics/syserr/syserr.syserr/syserr.syserr.members/ctor_int_error_category_string.pass.cpp
Commit 91336a0c619f26be35b1dd1c9480a42c4aacb21f by Louis Dionne
[libc++] Move the #error message for no localization to <locale.h>

<locale.h> is lower level than <__locale>, so that's where we want the
error to live for systems that don't provide localization support.
The file was modifiedlibcxx/test/libcxx/include_as_c.sh.cpp
The file was modifiedlibcxx/test/libcxx/min_max_macros.compile.pass.cpp
The file was modifiedlibcxx/include/locale.h
The file was modifiedlibcxx/include/__locale
The file was modifiedlibcxx/test/libcxx/depr/depr.c.headers/locale_h.pass.cpp
The file was modifiedlibcxx/test/libcxx/double_include.sh.cpp
The file was modifiedlibcxx/test/libcxx/no_assert_include.compile.pass.cpp
The file was modifiedlibcxx/test/std/depr/depr.c.headers/locale_h.pass.cpp
The file was modifiedlibcxx/test/libcxx/depr/depr.c.headers/extern_c.pass.cpp
Commit bc1773f5b5e90e5fab3202768e516e145881666f by grimar
[yamls2obj][test] - Make the Archives/regular.yaml test stricter.

In rG6d656c9691d4 I had to relax the check from

`CONTENT: 21 3c 61 72 63 68 3e 0a 12{{$}}`

to

`CONTENT: 21 3c 61 72 63 68 3e 0a 12`

to fix the FreeBSD bot quickly: http://lab.llvm.org:8011/#/builders/28/builds/547

It turns out that "od" prints a trailing white space on FreeBSD, that is
why EOL mark ({{$}}) can't be used. But we still want to check the output size.

This patch adds a check of output size with "wc -c", similar to how it is done
below in the same test. This restores the original strictness.
The file was modifiedllvm/test/tools/yaml2obj/Archives/regular.yaml
Commit afc44efc262b27e8d6cdcf86d40a820ecd450520 by Tom.Weaver
[debuginfo-tests][dexter] Add two new debug experience tests

deferred_globals.cpp: Verify that debug information for a local variable does
not hide a global definition that has the same name

namespace.cpp: Ensure that the debug information for a global variable
includes namespace information.

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

Author:    Nabeel Omer <nabeel.omer@sony.com>
The file was addeddebuginfo-tests/dexter-tests/deferred_globals.cpp
The file was addeddebuginfo-tests/dexter-tests/namespace.cpp
Commit 5d02ca49a294848b533adf7dc1d1275d125ef587 by jonathanchesterfield
[libomptarget][nvptx] Undef, weak shared variables

[libomptarget][nvptx] Undef, weak shared variables

Shared variables on nvptx, and LDS on amdgcn, are uninitialized at
the start of kernel execution. Therefore create the variables with
undef instead of zeros, motivated in part by the amdgcn back end
rejecting LDS+initializer.

Common is zero initialized, which seems incompatible with shared. Thus
change them to weak, following the direction of
https://reviews.llvm.org/rG7b3eabdcd215

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D90248
The file was modifiedclang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
The file was modifiedclang/test/OpenMP/nvptx_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_data_sharing.cpp
The file was modifiedclang/test/OpenMP/nvptx_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
Commit 6384378582b429ff86ea10a7e48b4ab2001b1e4b by djtodoro
[NFC][IntrRefLDV] Improve the Value printing

Basically, this just improves the dump of the Value stored within a location.

If the defining instruction number is zero, it means it is "live-in".

Before the patch:

ESI --> bb 0 inst 0 loc ESI
After:

ESI --> Value{bb: 0, inst: live-in, loc: ESI}
This is an NFC.

Differential Revision: https://reviews.llvm.org/D90309
The file was modifiedllvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
Commit 77a0edd40822a886b3cec906f1ad6efeb7ddedc9 by jay.foad
[AMDGPU] Use -strict-whitespace for GFX10 disassembler tests

This is in preparation for fixing some spurious double spaces in the
disassembly.
The file was modifiedllvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
Commit 5febc535c4f8e278124cdeb88a4a82d99016944c by flo
[AArch64] Extend vector insertion test cases.

Also re-generate the check lines using update_llc_test_checks.py.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vector-insertion.ll
Commit c0053c62d9a0b798b42686499de9bb2e7391b111 by llvm-dev
[Syntax] Add missing default constructor for ConstChildIterator

MSVC was complaining as it couldn't see the Base::ChildIteratorBase default constructor.
The file was modifiedclang/include/clang/Tooling/Syntax/Tree.h
Commit a998cae0210f49e5b67a295c93385f468e19445f by ulrich.weigand
[compiler-rt][SystemZ] Skip fuzzer/full-coverage.test

This test is currently marked as XFAIL on s390x, but it is randomly
passing, causing build bot issues.  Setting as UNSUPPORTED for now.
The file was modifiedcompiler-rt/test/fuzzer/full-coverage.test
Commit 8279ea1a2ae5f59bce1a0db675c82a8849ab9f58 by llvm-dev
Fix Wdocumentation unknown parameter warnings. NFCI.

This seems to due to a bad merge by rG156e8b37024a
The file was modifiedclang/include/clang/Basic/SourceManager.h
Commit 556ee675c1471d9c571c58cc8e396b70e6cc7bc6 by n.james93
[clang-tidy][NFC] IdentifierNaming: Remove unnecessary string allocations

Remove the need to heap allocate a string for each style option lookup while reading or writing options.p

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D90244
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.cpp
Commit 0d17dc2e75428885e37e53a1524ce7b607501cfa by llvm-dev
[X86] Fix cpu name typos

As discussed on PR26418 rGea84dc9500df incorrectly set the knl cpuname to tremont (and missed out the tremont cpuname entirely).
The file was modifiedllvm/lib/Support/Host.cpp
Commit ae73091f30245852817c5c0af050a5a731dee50a by i
[ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added before a SHF_LINK_ORDER orphan

Fixes https://github.com/ClangBuiltLinux/linux/issues/1186

If a non-SHF_LINK_ORDER orphan is added first, `firstIsec->flags & SHF_LINK_ORDER`
will be zero and we currently assert when calling `getLinkOrderDep`.

Reviewed By: grimar

Differential Revision: https://reviews.llvm.org/D90200
The file was modifiedlld/ELF/LinkerScript.cpp
The file was addedlld/test/ELF/linkorder-mixed2.s
Commit 09c73456837a76a8496edf42732f6e47b35a2bb5 by sebastian.neubauer
[AMDGPU] Precommit tests for D89388 and D89399, NFC
The file was addedllvm/test/CodeGen/AMDGPU/amdpal-msgpack-denormal.ll
The file was addedllvm/test/CodeGen/AMDGPU/amdpal-msgpack-dx10-clamp.ll
The file was addedllvm/test/CodeGen/AMDGPU/amdpal-msgpack-ieee.ll
The file was addedllvm/test/CodeGen/AMDGPU/amdpal-msgpack-default.ll
Commit b9c21d43bb0c9e1a6d51f624f4369c717516a459 by Matthew.Arsenault
RegAlloc: Clear isSSA

The MIR parser may infer SSA, so -run-pass=regallocgreedy would hit a
verifier error after multiple vreg defs are added.
The file was modifiedllvm/lib/CodeGen/RegAllocBasic.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocFast.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocGreedy.cpp
The file was modifiedllvm/lib/CodeGen/RegAllocPBQP.cpp
The file was addedllvm/test/CodeGen/AMDGPU/greedy-broken-ssa-verifier-error.mir
Commit 9d72065cf6e0d02f748671d872d891f36ceda257 by paul
[TableGen] [AMDGPU] Add !sub operator for subtraction

Use it in the AMDGPU target to eliminate !add(value1, !mul(value2, -1))

Differential Revision: https://reviews.llvm.org/D90107
The file was modifiedllvm/docs/TableGen/ProgRef.rst
The file was modifiedllvm/include/llvm/TableGen/Record.h
The file was modifiedllvm/lib/Target/AMDGPU/SIRegisterInfo.td
The file was modifiedllvm/lib/TableGen/TGLexer.h
The file was modifiedllvm/lib/TableGen/TGLexer.cpp
The file was modifiedllvm/lib/TableGen/TGParser.cpp
The file was modifiedllvm/test/TableGen/math.td
The file was modifiedllvm/test/TableGen/arithmetic.td
The file was modifiedllvm/lib/TableGen/Record.cpp
Commit 31e944556f5464b5a488c42f1d727d5b27734169 by tlively
[WebAssembly] Prototype extending multiplication SIMD instructions

As proposed in https://github.com/WebAssembly/simd/pull/376. This commit
implements new builtin functions and intrinsics for these instructions, but does
not yet add them to wasm_simd128.h because they have not yet been merged to the
proposal. These are the first instructions with opcodes greater than 0xff, so
this commit updates the MC layer and disassembler to handle that correctly.

Differential Revision: https://reviews.llvm.org/D90253
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
The file was modifiedllvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp
The file was modifiedllvm/test/MC/WebAssembly/simd-encodings.s
The file was modifiedllvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
The file was modifiedclang/include/clang/Basic/BuiltinsWebAssembly.def
The file was modifiedclang/test/CodeGen/builtins-wasm.c
The file was modifiedllvm/include/llvm/IR/IntrinsicsWebAssembly.td
Commit 98941279b90ee096a7d34f09d320d8e1d5fcb61b by aheejin
[WebAssembly] Clang-format builtins generation (NFC)

Differential Revision: https://reviews.llvm.org/D90294
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp