Changes

Summary

  1. [Zorg] Honor clean_obj in WebUI. (details)
  2. [AIX][PowerPC] Have AIX buildbot build compiler-rt and build and test llvm-test-suite (details)
Commit fd5d6f0cb350e807642e5b61c5c215d88dcc9a91 by llvm-project
[Zorg] Honor clean_obj in WebUI.

Delete the build dir if either `clean_obj` or `clean` is true. Previously, build dir would not be cleaned if `clean` is false, even if `clean_obj` is true.

For reference, when which of the properties are set:

Normal build:
  "clean": does not exist
  "clean_obj": does not exist

Commit with CMakeLists.txt change:
  "clean": does not exist
  "clean_obj": [true, "change"]

"Force Build" -> "Clean source code and build directory" checked:
  "clean": true
  "clean_obj": false

"Force Build" -> "Clean build directory" checked:
  "clean": false
  "clean_obj": true

"Force Build" -> "Clean source code and build directory" and "Clean build directory" checked:
  "clean": true
  "clean_obj": true

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D107193
The file was modifiedzorg/buildbot/builders/OpenMPBuilder.py (diff)
The file was modifiedzorg/buildbot/builders/PollyBuilder.py (diff)
Commit 8201011aefd8c603a5d0ea04f8858c95eac1c80c by zarko
[AIX][PowerPC] Have AIX buildbot build compiler-rt and build and test llvm-test-suite

Update the config so we build compiler-rt as a runtime and test llvm-test-suite.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D116752
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)

Summary

  1. [AIX] Support of Big archive (read) (details)
  2. [mlir][Linalg] NFC - Drop vectorization reliance on ConvolutionOpInterface (details)
  3. [libc++] [test] Improve the tests for std::assignable_from. (details)
  4. [mlir][Linalg] Relax PadTensor tiling constraints and expose it to strategies. (details)
  5. [test] Use opt -passes syntax in DeadArgElim lit tests. NFC (details)
  6. [AArch64] Revive optimize add/sub with immediate through MIPeepholeOpt (details)
  7. [DebugInfo] ValueMapper impl for DIArgList respects IgnoreMissingLocals (details)
  8. [AMDGPU][MC] Corrected disassembly of s_waitcnt (details)
  9. [AMDGPU][GFX10][MC] Updated symbolic names of internal HW registers (details)
  10. [mlir][Linalg] NFC - Cleanup conv1d generators (details)
  11. [AsyncToLLVM] Align frames to 64 bytes (details)
  12. [ELF] Change std::vector<InputSectionBase *> to SmallVector (details)
  13. [libc++][NFC] Use _LIBCPP_DEBUG_ASSERT in <vector> (details)
  14. [libc++][P2321R2] Add specializations of basic_common_reference and common_type for tuple (details)
  15. [Aarch64] Customer lowering of COPYSIGN to SIMD should check for NEON availability (details)
  16. [X86] Add test case for PR53247 (details)
  17. [libc++] [doc] Fix a Sphinx error in ReleaseNotes.rst (I hope) (details)
  18. [libc++] [bench] Stop using uniform_int_distribution<char> in benchmarks. (details)
  19. [libc++] Introduce __debug_db_insert_i() (details)
  20. Revert "[mlir][Linalg] NFC - Drop vectorization reliance on ConvolutionOpInterface" (details)
  21. [LoopDeletion] Revert 3af8a11 and add test coverage for breakage (details)
  22. [clang-tidy] Fix `readability-redundant-declaration` false positive for template friend declaration (details)
  23. [Support] Fix -Wreturn-type in LLVM_ENABLE_THREADS=OFF build after D116846 (details)
  24. [pstl][cmake] Use `GNUInstallDirs` to support custom installation dirs (details)
  25. [libc++] Install clang-tidy in docker containers (details)
  26. [clang-tidy] Fix false positives involving type aliases in `misc-unconventional-assign-operator` check (details)
  27. [LoopDeletion] Add back statistic update lost in 523573e (details)
  28. [AArch64][x86] add tests for bswap demanded bits; NFC (details)
  29. [AsyncToLLVM] aligned_alloc requires the size to be a multiple of aignment, so round up (details)
  30. [PowerPC][AIX] Fallback to DAG-ISEL if global has toc-data attribute. (details)
  31. [lldb] [gdb-remote] Support client fallback for servers without reg defs (details)
  32. [gn build] Port e69a3d18f48b (details)
  33. [libc++] [test] UNSUPPORTED my new uniform_int_distribution test on MinGW. (details)
  34. [libc++] [API BREAK] Change `fs::path::iterator::iterator_category` to `input_iterator_tag`. (details)
  35. [ELF] EhInputSection::split: remove unneeded check (details)
  36. [Libomptarget] Add `cold` to KeepAlive attributes (details)
  37. [RISCV] Legalize fixed length (insert_subvector undef, X, 0) to a scalable insert. (details)
  38. [RISCV] When expanding CONCAT_VECTORS, don't create INSERT_SUBVECTORS for undef subvectors. (details)
  39. [test] precommit new test for D117503 (details)
  40. [GlobalOpt] Generalize malloc-to-global for any allocation function (details)
  41. Pass options by const ref in TestLinalgCodegenStrategy (NFC) (details)
  42. [SDAG] add demanded bits transform for bswap (details)
  43. [NFC][SDNode] Use `StringSwitch` instead of `if` (details)
  44. [ORC] Fix a stale comment: lookupInitSymbolsAsync does not build a result map. (details)
  45. [lld] Fix typo. NFC (details)
  46. [RISCV] Add patterns for vector widening floating-point add/subtract instructions (details)
  47. [RISCV] Make SplatOperand start from 0. (details)
  48. [RISCV] Provide VLOperand in td. (details)
  49. [ORC] Add Platform::teardownJITDylib method. (details)
  50. Enable useDefault{Type/Attribute}PrinterParser by default in ODS Dialect definition (details)
  51. [libcxx][libcxxabi][libunwind][cmake] Use `GNUInstallDirs` to support custom installation dirs (details)
  52. Use more references in MLIR Diagnostic handling (NFC) (details)
  53. Use reference for large object passed by value at the moment in MLIR TableGen (NFC) (details)
  54. [RISCV] Add patterns for vector widening floating-point multiply (details)
  55. Fix flang build after MLIR API change (details)
  56. [AMDGPU] Autogenerate wqm.ll (details)
  57. [clang][dataflow] Replace initValueInStorageLocation with createValue (details)
  58. [RISCV] Add instruction schedule for Zbc extension and Zbs extension (details)
  59. [AMDGPU] Disable optimizeEndCf at -O0 (details)
  60. [clang] Add include path for cppwinrt on Windows SDK 10.0.17134+ (details)
  61. [SimplifyCFG] Fix assertion failure when reusing table switch comparison (details)
  62. Revert "[CodeGen][AArch64] Ensure isSExtCheaperThanZExt returns true for negative constants" (details)
  63. [clangd] Remove redundant check for renamed symbol origin (details)
  64. [DwarfDebug] Restore code that make comments stay aligned in DwarfDebug::emitDebugLocEntry (details)
  65. [Chrono] Add missing include <ratio>. (details)
  66. [CVP] Add test for select with assumes (NFC) (details)
  67. [LVI] Consistently intersect assumes (details)
  68. [clangd] Bring back early-claim approach to fix a selection-tree regression. (details)
  69. [mlir] fix crash in PybindAdaptors.h (details)
  70. [mlir][Linalg] Drop deprecated convolution vectorization patterns (details)
  71. [lldb/python] Use PythonObject in LLDBSwigPython functions (details)
  72. [LegalizeTypes][VP] Add splitting support for vp.reduction.* (details)
  73. [mlir][Linalg] NFC - Drop vectorization reliance on ConvolutionOpInterface (details)
  74. [lldb] Fix compiler warning in CommunicationTest (details)
  75. [lldb] s/dyn_cast/isa in TypeSystemClang (details)
  76. [LVI] Compute SPF range even if one operands is overdefined (details)
  77. [LVI] Handle commuted SPF min/max operands (details)
  78. Revert "[DAG] Extend SearchForAndLoads with any_extend handling" (details)
  79. [CVP] Add tests for icmp of trunc implication (NFC) (details)
  80. [LegalizeTypes][VP] Add widening support for vp.reduce.* (details)
  81. [LVI] Handle implication from icmp of trunc (PR51867) (details)
  82. [VE] vp_select+vectorBinOp passthru isel and tests (details)
  83. [VE] VECustomDAG builder class (details)
  84. [AttrBuilder] Add string attribute getter (NFC) (details)
  85. [clang][dataflow] Add transfer function for addrof (details)
  86. [LoopVectorize][AArch64] Use get.active.lane.mask intrinsic when SVE is enabled (details)
  87. Revert "[AIX] Support of Big archive (read)" (details)
Commit 2164c54315bb3351a5e22336c12b1eeb2bbf6821 by zhijian
[AIX] Support of Big archive (read)

Summary:

The patch is based on the EGuesnet's implement of the "Support of Big archive (read)
the first commit of the patch is come from https://reviews.llvm.org/D100651.

the rest of commits of the patch

1  Addressed the comments on the https://reviews.llvm.org/D100651
2  according to https://www.ibm.com/docs/en/aix/7.2?topic=formats-ar-file-format-big
using the "fl_fstmoff" for the first object file number, using "char ar_nxtmem[20]" to get next object file ,
using the "char fl_lstmoff[20]" for the last of the object file will fix the following problems:
   2.1 can not correct reading a archive files which has padding data between too object file
   2.2 can not correct reading a archive files from which some object file has be deleted

3 introduce a new derived class BigArchive for big ar file.

Reviewers: James Henderson
Differential Revision: https://reviews.llvm.org/D111889
The file was addedllvm/test/Object/archive-big-extract.test
The file was modifiedllvm/test/tools/llvm-objdump/malformed-archives.test
The file was addedllvm/test/Object/Inputs/aix-big-archive.a
The file was modifiedllvm/include/llvm/Object/Archive.h
The file was modifiedllvm/lib/Object/ArchiveWriter.cpp
The file was modifiedllvm/lib/Object/Archive.cpp
The file was addedllvm/test/Object/archive-big-read.test
The file was addedllvm/test/Object/archive-big-print.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp
Commit c8f5735301993c363c16ce5ddda6f1f6cb968090 by nicolas.vasilache
[mlir][Linalg] NFC - Drop vectorization reliance on ConvolutionOpInterface

Differential Revision: https://reviews.llvm.org/D117323
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was removedmlir/test/lib/Dialect/Linalg/TestConvVectorization.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was removedmlir/test/Conversion/LinalgToVector/linalg-to-vector.mlir
The file was modifiedmlir/test/lib/Dialect/Linalg/CMakeLists.txt
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
Commit d96a5042d69a8b639a26801cb3ecf8332e4d6387 by arthur.j.odwyer
[libc++] [test] Improve the tests for std::assignable_from.

Fixes #50060.

Differential Revision: https://reviews.llvm.org/D117434
The file was modifiedlibcxx/test/std/concepts/concepts.lang/concept.assignable/assignable_from.compile.pass.cpp
Commit 8a8f0a00b2453f4d59ff8a32331ae7b78cac5e72 by nicolas.vasilache
[mlir][Linalg] Relax PadTensor tiling constraints and expose it to strategies.

Reviewed By: ThomasRaoux

Differential Revision: https://reviews.llvm.org/D117334
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/LinalgStrategyPasses.cpp
The file was modifiedmlir/test/Dialect/Linalg/tile-pad-tensor-op.mlir
Commit e76ecbb0f36441b2d84908f907369b6dcfc26163 by bjorn.a.pettersson
[test] Use opt -passes syntax in DeadArgElim lit tests. NFC

The legacy PM is deprecated, so update a bunch of lit tests running
opt to use the new PM syntax when specifying the pipeline.
The file was modifiedllvm/test/Transforms/DeadArgElim/musttail-caller.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/preserve-used-ret.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/keepalive.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2008-01-16-VarargsParamAttrs.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/nonzero-address-spaces.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval-local.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/linkage.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2007-10-18-VarargsReturn.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2013-05-17-VarargsAndBlockAddress.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/multdeadretval.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/naked_functions.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/byref.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/dbginfo-update-dbgval.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/dbginfo.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/deadretval.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/funclet.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/call_profile.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2006-06-27-struct-ret.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/NoundefAttrs.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/canon.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/comdat.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/dead_vaargs.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/operandbundle.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/basictest.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/allocsize.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/func_metadata.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/aggregates.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/deadexternal.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/variadic_safety.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2007-02-07-FuncRename.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/deadretval2.ll
The file was modifiedllvm/test/Transforms/DeadArgElim/2008-06-23-DeadAfterLive.ll
Commit e6698f09929a134bf0f46d9347142b86d8f636a2 by david.green
[AArch64] Revive optimize add/sub with immediate through MIPeepholeOpt

Fixes the build issue with D111034, whose goal was to optimize
add/sub with long immediates.

Optimize ([add|sub] r, imm) -> ([ADD|SUB] ([ADD|SUB] r, #imm0, lsl #12), #imm1),
if imm == (imm0<<12)+imm1. and both imm0 and imm1 are non-zero 12-bit unsigned
integers.

Optimize ([add|sub] r, imm) -> ([SUB|ADD] ([SUB|ADD] r, #imm0, lsl #12), #imm1),
if imm == -(imm0<<12)-imm1, and both imm0 and imm1 are non-zero 12-bit unsigned
integers.

The change which fixed the build issue in D111034 was the use of new virtual
registers so that SSA form is maintained until deleting MI.

Differential Revision: https://reviews.llvm.org/D117429
The file was modifiedllvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
The file was modifiedllvm/test/CodeGen/AArch64/addsub.ll
The file was modifiedllvm/test/Transforms/CodeGenPrepare/AArch64/large-offset-gep.ll
Commit 32417b32033925b26b3695b753b38fbc6fdcd93d by stephen.tozer
[DebugInfo] ValueMapper impl for DIArgList respects IgnoreMissingLocals

This patch fixes an issue in which SSA value reference within a
DIArgList would be unnecessarily dropped by llvm-link, even when
invoking on a single file (which should be a no-op). The reason for the
difference is that the ValueMapper does not refer to the
RF_IgnoreMissingLocals flag for LocalAsMetadata contained within a
DIArgList; this flag is used for direct LocalAsMetadata uses to preserve
SSA references even when the ValueMapper does not have an explicit
mapping for the referenced SSA value, which appears to always be the
case when using llvm-link in this manner.

Differential Revision: https://reviews.llvm.org/D114355
The file was addedllvm/test/Linker/debug-info-use-before-def.ll
The file was modifiedllvm/lib/Transforms/Utils/ValueMapper.cpp
The file was modifiedllvm/unittests/Transforms/Utils/ValueMapperTest.cpp
Commit b5fb7e485e0f2d189d450fc120ede9ae5fbf27e7 by dmitry.preobrazhensky
[AMDGPU][MC] Corrected disassembly of s_waitcnt

s_waitcnt with default expcnt, vmcnt and lgkmcnt values was disassembled without arguments.
See https://github.com/llvm/llvm-project/issues/52716

Differential Revision: https://reviews.llvm.org/D117305
The file was modifiedllvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp
The file was modifiedllvm/test/MC/AMDGPU/sopp.s
Commit c7ca4c6365470f04457dfc29d80837f5e9962702 by dmitry.preobrazhensky
[AMDGPU][GFX10][MC] Updated symbolic names of internal HW registers

GFX10 no longer support HW_ID. It has been replaced with HW_ID1 and HW_ID2.
See bug 52904: https://github.com/llvm/llvm-project/issues/52904

Differential Revision: https://reviews.llvm.org/D117313
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIDefines.h
The file was modifiedllvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp
The file was modifiedllvm/test/MC/AMDGPU/sopk.s
The file was modifiedllvm/docs/AMDGPU/gfx10_hwreg.rst
Commit 392e16c27ffce3c88d6d14050327bb7409756900 by nicolas.vasilache
[mlir][Linalg] NFC - Cleanup conv1d generators

Differential Revision: https://reviews.llvm.org/D117330
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/test/Dialect/Linalg/vectorize-convolution.mlir
Commit 5acd6e05221574643feb8477ad07e89fd766ec53 by benny.kra
[AsyncToLLVM] Align frames to 64 bytes

Coroutine lowering always takes the natural alignment when spilling to
the frame (issue #53148) so using AVX2 or AVX512 in a coroutine doesn't
work. Always overalign to 64 bytes to avoid this issue until we have a
better solution.

Differential Revision: https://reviews.llvm.org/D117501
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
The file was modifiedmlir/test/Conversion/AsyncToLLVM/convert-coro-to-llvm.mlir
Commit ac0986f88058b5d82559ca84c607c7a664827cbc by i
[ELF] Change std::vector<InputSectionBase *> to SmallVector

There is no remaining std::vector<InputSectionBase> now. My x86-64 lld
executable is 2KiB small.
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/ELF/LinkerScript.cpp
The file was modifiedlld/ELF/SyntheticSections.h
The file was modifiedlld/ELF/SyntheticSections.cpp
Commit d7630b37ceb8d7032f133e0257724997e4cc76ec by nikolasklauser
[libc++][NFC] Use _LIBCPP_DEBUG_ASSERT in <vector>

Use `_LIBCPP_DEBUG_ASSERT` in `<vector>`

Reviewed By: Quuxplusone, ldionne, Mordante, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D117402
The file was modifiedlibcxx/include/vector
Commit 311207bbea2b109ca6e40426bebe76a5f9786315 by nikolasklauser
[libc++][P2321R2] Add specializations of basic_common_reference and common_type for tuple

Add specializations of `basic_common_reference` and `common_type` for `tuple`

Reviewed By: ldionne, Mordante, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D116538
The file was modifiedlibcxx/docs/Status/Cxx2bPapers.csv
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/common_reference.compile.pass.cpp
The file was modifiedlibcxx/test/std/utilities/meta/meta.trans/meta.trans.other/common_type.pass.cpp
The file was modifiedlibcxx/include/tuple
Commit 6f61fe7de97c78adc8fac528239260122fb83be5 by shivam98.tkg
[Aarch64] Customer lowering of COPYSIGN to SIMD should check for NEON availability

For the following test case, clang is crashing for ARM64 architecture
$ cat crash.c
double crash(double a, double b)
{
return __builtin_copysign(a, b);
}

$ clang -O2 -march=armv8-a+nosimd --target=arm64 -S crash.c -o /dev/null
fatal error: error in backend: Cannot select: 0x7fae361bb4e8: v2i64 = AArch64ISD::BIT 0x7fae361bb210, 0x7fae361bb278, 0x7fae361bb480
Fix: PR51806

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D116581
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AArch64/fcopysign.ll
Commit fea85d322d3fa49228a92fbbde568f836677edc8 by llvm-dev
[X86] Add test case for PR53247

Test case from Issue #53247
The file was addedllvm/test/CodeGen/X86/pr53247.ll
Commit 01193cae1c8441f4ce8d21460d397942473f8c11 by arthur.j.odwyer
[libc++] [doc] Fix a Sphinx error in ReleaseNotes.rst (I hope)
The file was modifiedlibcxx/docs/ReleaseNotes.rst
Commit 0e03c62b4c86059fc35b8ce6c087c22a55f43e36 by arthur.j.odwyer
[libc++] [bench] Stop using uniform_int_distribution<char> in benchmarks.

Reviewed as part of D114920.
The file was modifiedlibcxx/benchmarks/algorithms.partition_point.bench.cpp
The file was modifiedlibcxx/benchmarks/allocation.bench.cpp
The file was modifiedlibcxx/benchmarks/GenerateInput.h
Commit caf5548c7cc68c701bb040d84b6f21f9aef4ae01 by nikolasklauser
[libc++] Introduce __debug_db_insert_i()

Introduce `__debug_db_insert_i()`

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D117410
The file was modifiedlibcxx/include/list
The file was modifiedlibcxx/include/__hash_table
The file was modifiedlibcxx/include/__iterator/wrap_iter.h
The file was modifiedlibcxx/include/__debug
Commit f40a579bea9c079fc6d4b048fa3ddb8ac8c97337 by joker.eph
Revert "[mlir][Linalg] NFC - Drop vectorization reliance on ConvolutionOpInterface"

This reverts commit c8f5735301993c363c16ce5ddda6f1f6cb968090.

The integration tests are broken.
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/test/lib/Dialect/Linalg/CMakeLists.txt
The file was addedmlir/test/Conversion/LinalgToVector/linalg-to-vector.mlir
The file was addedmlir/test/lib/Dialect/Linalg/TestConvVectorization.cpp
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Commit 523573e90ddb6db3b58d7a04b7dbe90fa7366dc2 by listmail
[LoopDeletion] Revert 3af8a11 and add test coverage for breakage

This reverts 3af8a11 because I'd used an upper bound where an lower bound was required.  The included reduced test case demonstrates the issue.
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was addedllvm/test/Transforms/LoopDeletion/D108848-regression.ll
Commit 42bc3275d3687524ddc0d20c72722b9324f87be4 by fabian.wolff
[clang-tidy] Fix `readability-redundant-declaration` false positive for template friend declaration

Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=48086 | PR#48086 ]]. The problem is that the current matcher uses `hasParent()` to detect friend declarations, but for a template friend declaration, the immediate parent of the `FunctionDecl` is a `FunctionTemplateDecl`, not the `FriendDecl`. Therefore, I have replaced the matcher with `hasAncestor()`.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D114299
The file was modifiedclang-tools-extra/clang-tidy/readability/RedundantDeclarationCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-redundant-declaration.cpp
Commit e5c944b47cb8da5dbf93b31912f94d34ef4aa472 by i
[Support] Fix -Wreturn-type in LLVM_ENABLE_THREADS=OFF build after D116846
The file was modifiedllvm/lib/Support/ThreadPool.cpp
Commit c90d136be4e055f1b409f38706d0fe3e2211af08 by John.Ericson
[pstl][cmake] Use `GNUInstallDirs` to support custom installation dirs

I am breaking apart D99484 so the cause of build failures is easier to
understand.

Reviewed By: ldionne, #libc

Differential Revision: https://reviews.llvm.org/D117418
The file was modifiedpstl/CMakeLists.txt
Commit c10cbb243cafc0cf42c3e922cb29183279444432 by nikolasklauser
[libc++] Install clang-tidy in docker containers

Install clang-tidy

Reviewed By: ldionne, #libc

Spies: sammccall, mgorny, libcxx-commits, arichardson

Differential Revision: https://reviews.llvm.org/D117268
The file was modifiedlibcxx/utils/ci/Dockerfile
Commit 2cd2accc61ea0900bde66c79d1d04b29bb9e3ed7 by fabian.wolff
[clang-tidy] Fix false positives involving type aliases in `misc-unconventional-assign-operator` check

clang-tidy currently reports false positives even for simple cases such as:
```
struct S {
    using X = S;
    X &operator=(const X&) { return *this; }
};
```
This is due to the fact that the `misc-unconventional-assign-operator` check fails to look at the //canonical// types. This patch fixes this behavior.

Reviewed By: aaron.ballman, mizvekov

Differential Revision: https://reviews.llvm.org/D114197
The file was modifiedclang-tools-extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/misc-unconventional-assign-operator.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/misc-unconventional-assign-operator.rst
Commit 6ca192de588825f70a5cf6bb75d23c51892f723e by listmail
[LoopDeletion] Add back statistic update lost in 523573e

Caught by a couple of builders as an unused variable warning (e.g. https://lab.llvm.org/buildbot#builders/57/builds/13973).
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
Commit 5fb39f0992733cb2837218ebe53a8675a899a642 by spatel
[AArch64][x86] add tests for bswap demanded bits; NFC
The file was modifiedllvm/test/CodeGen/X86/combine-bswap.ll
The file was modifiedllvm/test/CodeGen/AArch64/bswap-known-bits.ll
Commit 964dc368e7c72ad5b7ab995c97920c4deb624631 by benny.kra
[AsyncToLLVM] aligned_alloc requires the size to be a multiple of aignment, so round up

Fixes a crash with debug malloc.
The file was modifiedmlir/test/Conversion/AsyncToLLVM/convert-coro-to-llvm.mlir
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
Commit 10d3bf951841321a4598b31f55c6f4a766703ed4 by sd.fertile
[PowerPC][AIX] Fallback to DAG-ISEL if global has toc-data attribute.

FAST-ISEL should fall back to DAG-ISEL when a global variable has the
toc-data attribute. A number of the checks were duplicated in the lit
test becuase of
1) Slightly different output between -O0 and -O2 due to FAST-ISEL vs
   DAG-ISEL codegen.
2) In preperation of a peephole optimization that will run when
   optimizations are enabled.

Differential Revision: https://reviews.llvm.org/D115373
The file was modifiedllvm/test/CodeGen/PowerPC/toc-data.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
Commit e69a3d18f48bc0d81b5dd12e735a2ec898ce64d4 by mgorny
[lldb] [gdb-remote] Support client fallback for servers without reg defs

Provide minimal register definition defaults for working with servers
that implement neither target.xml nor qRegisterInfo packets.  This is
useful e.g. when interacting with FreeBSD's kernel minimal gdbserver
that does not send target.xml but uses the same layout for its supported
register subset as GDB.

The prerequisite for this is the ability to determine the correct
architecture, e.g. from the target executable.

Differential Revision: https://reviews.llvm.org/D116896
The file was addedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterFallback.cpp
The file was addedlldb/test/API/functionalities/gdb_remote_client/TestGDBServerNoTargetXML.py
The file was modifiedlldb/source/Plugins/Process/gdb-remote/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was addedlldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterFallback.h
Commit bc17de79eed43f64aafa6b953705ed5f185be8e1 by llvmgnsyncbot
[gn build] Port e69a3d18f48b
The file was modifiedllvm/utils/gn/secondary/lldb/source/Plugins/Process/gdb-remote/BUILD.gn
Commit 5820322cb1cb9df5f05a49ed9d86984c0ac7d28d by arthur.j.odwyer
[libc++] [test] UNSUPPORTED my new uniform_int_distribution test on MinGW.

After 9fe67486cc, this test fails on MinGW for some reason.
https://buildkite.com/llvm-project/libcxx-ci/builds/7922#9e267294-441d-4b79-8a19-30fdb5599c1f
All it says in the build output is

    note: command had no output on stdout or stderr
    error: command failed with exit status: 4294967295
The file was modifiedlibcxx/test/std/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/eval.pass.cpp
Commit 459b4b725f52f0befd90312a326225eda6450233 by arthur.j.odwyer
[libc++] [API BREAK] Change `fs::path::iterator::iterator_category` to `input_iterator_tag`.

This essentially reverts e02ed1c255d71 and puts in a new fix, which makes `path::iterator`
a true C++20 `bidirectional_iterator`, but downgrades it to an `input_iterator` in C++17.

Fixes #37852.

Differential Revision: https://reviews.llvm.org/D116489
The file was modifiedlibcxx/include/__iterator/reverse_iterator.h
The file was removedlibcxx/test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.verify.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
The file was modifiedlibcxx/docs/ReleaseNotes.rst
The file was modifiedlibcxx/include/__filesystem/path_iterator.h
Commit 83c7f5d3fb5649af4e57d8b46163b4c0dcfaf263 by i
[ELF] EhInputSection::split: remove unneeded check
The file was modifiedlld/ELF/InputSection.cpp
Commit 4869a22d1d0bff59e3f2699739554d459905a76d by jhuber6
[Libomptarget] Add `cold` to KeepAlive attributes

This patch adds the `cold` attribute to the keepAlive functions in the
RTL. This dummy function exists to keep certain RTL calls alive without
them being optimized out, but it is never called and can be declared
cold. This also helps some erroneous remarks being given on this
function because it has weak linkage and cannot be made internal.

Reviewed By: tianshilei1992

Differential Revision: https://reviews.llvm.org/D117513
The file was modifiedopenmp/libomptarget/deviceRTLs/common/src/support.cu
The file was modifiedopenmp/libomptarget/DeviceRTL/src/Utils.cpp
Commit 9c410838d2bcaa087e867e9f8a353fe455588287 by craig.topper
[RISCV] Legalize fixed length (insert_subvector undef, X, 0) to a scalable insert.

We were considering this legal, but later the undef would become an all
zeros vector. This would cause us to need to re-legalize the insert later
into a vslideup with zero vector.

This patch catches the case and directly legalizes it to a scalable
insert.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D117377
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-masked-gather.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-exttrunc.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-conv.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll
Commit 116af698e20bac65c3532f10458c32f536da4f78 by craig.topper
[RISCV] When expanding CONCAT_VECTORS, don't create INSERT_SUBVECTORS for undef subvectors.

For fixed vectors, the undef will get expanded to an all zeros
build_vector. We don't want that so suppress creating the
insert_subvector.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D117379
The file was modifiedllvm/test/CodeGen/RISCV/rvv/interleave-crash.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/extract-subvector.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/common-shuffle-patterns.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-shuffles.ll
Commit 30715365d45c02669d7dc947ecf2a5e9321f26d0 by listmail
[test] precommit new test for D117503
The file was addedllvm/test/Transforms/GlobalOpt/calloc-promote.ll
Commit 26049b8ce376a81acbaa0b4b86d7dcef1bc432bd by listmail
[GlobalOpt] Generalize malloc-to-global for any allocation function

We can generalize the malloc-to-global transform for other allocation functions which are both a) removable, and b) have a known initialization value.

One subtlety that I want to point out - mostly because I hadn't realized it was true until I took a closer look - is that the existing code doesn't prove that initialization/malloc happens only once. The initialization function can be called multiple times. This is correct without special handling for malloc as undef can map to any value previously written, but a non-undef initializing allocation it means we may end up memseting the new global repeatedly. In particular, this means it's not legal to fold the memset into the initializer of the global.

Differential Revision: https://reviews.llvm.org/D117503
The file was modifiedllvm/test/Transforms/GlobalOpt/calloc-promote.ll
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
Commit e965d068e08be3caddf44f8440dd16f29b4fc15b by joker.eph
Pass options by const ref in TestLinalgCodegenStrategy (NFC)

These aren't small object, fix Coverity report.
The file was modifiedmlir/test/lib/Dialect/Linalg/TestLinalgCodegenStrategy.cpp
Commit ba6485e25fc56468f34cc8a6938d66d3c5f46596 by spatel
[SDAG] add demanded bits transform for bswap

A possible codegen regression for PowerPC is noted in D117406
because we don't recognize a pattern that demands only 1 byte
from a bswap.

This fold  has existed in IR since close to the beginning of LLVM:
https://github.com/llvm/llvm-project/blame/main/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp#L794
...so this patch copies that code as much as possible and adapts
it for SDAG.

The test for PowerPC that would change in D117406 is over-reduced
with undefs, so I recreated it for AArch64 and x86 by passing in
pointer args and renamed the values to make the logic clearer.

Differential Revision: https://reviews.llvm.org/D117508
The file was modifiedllvm/test/CodeGen/AArch64/bswap-known-bits.ll
The file was modifiedllvm/test/CodeGen/X86/combine-bswap.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit efd72ee23b99c03efee7a2f0cd2a3993887ce171 by shaoce
[NFC][SDNode] Use `StringSwitch` instead of `if`

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D117448
The file was modifiedllvm/utils/TableGen/SDNodeProperties.cpp
Commit b396a6dc0cd9de51b408d0bc94c68ef4f0b16245 by Lang Hames
[ORC] Fix a stale comment: lookupInitSymbolsAsync does not build a result map.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
Commit 2bb7f226af18c537af299bd04a7fa57b31b0b2c7 by ashaposhnikov
[lld] Fix typo. NFC
The file was modifiedlld/ELF/Arch/AArch64.cpp
Commit c29d6c410e769938ed5db1090a1b894cf6061a4e by jacquesguan
[RISCV] Add patterns for vector widening floating-point add/subtract instructions

Add patterns for Vector Widening Floating-Point Add/Subtract Instructions

Differential Revision: https://reviews.llvm.org/D117466
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwadd-sdnode.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwsub-sdnode.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
Commit 3fc4b5896a336b5b74c52bbde992992aeb5a78f0 by craig.topper
[RISCV] Make SplatOperand start from 0.

Current SplatOperand starts from 1 because operand 0 (or 1) is intrinsic
id in SelectionDAG.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D117453
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
Commit ec9cb3a79cd648a731cd9033447123c216da5297 by craig.topper
[RISCV] Provide VLOperand in td.

Currently, users expected VL is the last operand. However, since some
intrinsics has tail policy in the last operand, this rule cannot be used
anymore.

Reviewed By: craig.topper, frasercrmck

Differential Revision: https://reviews.llvm.org/D117452
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vremu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmulhsu-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vand-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vdivu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vor-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vxor-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vaadd-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vdiv-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vrsub-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmin-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmax-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmulhu-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vadd-rv32.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsRISCV.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsub-rv32.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vasub-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmul-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vaaddu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmaxu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsadd-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vssubu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vrem-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsaddu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vsmul-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vasubu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vmulh-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vminu-rv32.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vssub-rv32.ll
Commit ade71641dcf6fc2c457e318634f0bcff8f8feee1 by Lang Hames
[ORC] Add Platform::teardownJITDylib method.

This is a counterpart to Platform::setupJITDylib, and is called when JITDylib
instances are removed (via ExecutionSession::removeJITDylib).

Upcoming MachOPlatform patches will use this to clear per-JITDylib data when
JITDylibs are removed.
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/Core.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/LLJIT.cpp
The file was modifiedllvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
The file was modifiedllvm/include/llvm/ExecutionEngine/Orc/Core.h
The file was modifiedllvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
Commit c8e047f5e14c05cace5a8926c0f07b6281d6359f by joker.eph
Enable useDefault{Type/Attribute}PrinterParser by default in ODS Dialect definition

The majority of dialects reimplement the same boilerplate over and over,
switching the default makes it for better discoverability and make it simpler
to implement new dialects.

Differential Revision: https://reviews.llvm.org/D117524
The file was modifiedmlir/lib/Dialect/Async/IR/Async.cpp
The file was modifiedmlir/include/mlir/IR/OpBase.td
The file was modifiedmlir/lib/Dialect/EmitC/IR/EmitC.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/tools/mlir-tblgen/DialectGen.cpp
The file was modifiedmlir/test/mlir-tblgen/typedefs.td
The file was modifiedmlir/test/mlir-tblgen/attr-or-type-format.td
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinDialect.td
The file was modifiedmlir/lib/Dialect/PDL/IR/PDLTypes.cpp
The file was modifiedmlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.td
Commit f16a4a034a279f52c33f41cafb7d9751ee8a01dd by John.Ericson
[libcxx][libcxxabi][libunwind][cmake] Use `GNUInstallDirs` to support custom installation dirs

I am breaking apart D99484 so the cause of build failures is easier to
understand.

Differential Revision: https://reviews.llvm.org/D117417
The file was modifiedlibcxx/cmake/Modules/HandleLibCXXABI.cmake
The file was modifiedlibunwind/CMakeLists.txt
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxxabi/CMakeLists.txt
Commit 7265688e0922a197a4be9095f6a727aa4b5cb2c1 by joker.eph
Use more references in MLIR Diagnostic handling (NFC)

This saves some copies of non-trivial objects, flagged by Coverity.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D117525
The file was modifiedmlir/lib/IR/Diagnostics.cpp
The file was modifiedmlir/include/mlir/IR/Diagnostics.h
Commit 78fdbdbf2682dbc9c2746ae22ba0a255ecb0867e by joker.eph
Use reference for large object passed by value at the moment in MLIR TableGen (NFC)

Also make the ODS Operator class have const iterator, and use const
references for existing API taking Operator by reference.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D117516
The file was modifiedmlir/lib/TableGen/Operator.cpp
The file was modifiedmlir/tools/mlir-tblgen/CodeGenHelpers.cpp
The file was modifiedmlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/include/mlir/TableGen/Operator.h
The file was modifiedmlir/tools/mlir-tblgen/OpInterfacesGen.cpp
The file was modifiedmlir/tools/mlir-tblgen/OpDocGen.cpp
Commit 1090000b63f939052486080a143175775c1edbdc by jacquesguan
[RISCV] Add patterns for vector widening floating-point multiply

Add patterns for vector widening floating-point multiply

Differential Revision: https://reviews.llvm.org/D117530
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
The file was addedllvm/test/CodeGen/RISCV/rvv/vfwmul-sdnode.ll
Commit 79dffbadf69c6604698e193d639d2580eb3814c4 by joker.eph
Fix flang build after MLIR API change

In c8e047f5e1 the default for useDefault{Type/Attribute}PrinterParser
was changed in ODS, restore the old value explicitly for the FirDialect.
The file was modifiedflang/include/flang/Optimizer/Dialect/FIRDialect.td
Commit ed4d8fdafdb5120b69fe2a8da418dc0c37f79ffc by carl.ritson
[AMDGPU] Autogenerate wqm.ll

Switch wqm.ll to be autogenerated.
Replace gfx6 and gfx8 targets with gfx9 (wave64) and gfx10 (wave32).

Reviewed By: kmitropoulou

Differential Revision: https://reviews.llvm.org/D117455
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
Commit 782eced561492c74f7b4409d6ee7eee84a1647c7 by sgatev
[clang][dataflow] Replace initValueInStorageLocation with createValue

Since Environment's setValue method already does part of the work that
initValueInStorageLocation does, we can factor out a new createValue
method to reduce the duplication.

This is part of the implementation of the dataflow analysis framework.
See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev.

Reviewed-by: ymandel, xazax.hun

Differential Revision: https://reviews.llvm.org/D117493
The file was modifiedclang/lib/Analysis/FlowSensitive/Transfer.cpp
The file was modifiedclang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
The file was modifiedclang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
Commit 5ceb4f5446f38ee81e74cd6ab9dd003c6d94280d by ben.shi
[RISCV] Add instruction schedule for Zbc extension and Zbs extension

Zbc extension:
CLMUL/CLMULR/CLMULH are grouped together, defined one schedule class.

Zbs extension:
BCLR/BSET/BINV/BEXT are grouped together, defined one schedule class.
BCLRI/BSETI/BINVI/BEXTI are grouped together, defined one schedule class.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D117538
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoZb.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedSiFive7.td
The file was modifiedllvm/lib/Target/RISCV/RISCVScheduleB.td
The file was modifiedllvm/lib/Target/RISCV/RISCVSchedRocket.td
Commit 56a5d78893e62f348e329ea513f1fab28e869a10 by Christudasan.Devadasan
[AMDGPU] Disable optimizeEndCf at -O0

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D116819
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.ll
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
Commit 9c195bae31c4eefc3e5360cefb4f601388a4f6d9 by hans
[clang] Add include path for cppwinrt on Windows SDK 10.0.17134+

This fixes https://github.com/llvm/llvm-project/issues/53112 by adding
cppwinrt to the include path when the SDK version is higher than
10.0.17134.0.

Differential revision: https://reviews.llvm.org/D117407
The file was modifiedclang/lib/Driver/ToolChains/MSVC.cpp
The file was modifiedclang/test/Driver/cl-sysroot.cpp
Commit 4e1c2077262e0e7c708da8077874c2c022a86adc by npopov
[SimplifyCFG] Fix assertion failure when reusing table switch comparison

After D116332, some icmps no longer fold with the target-independent
constant folder. The SimplifyCFG code assumed that the comparison
would always fold, which is not guaranteed. Explicitly check that the
result is either true or false.

Differential Revision: https://reviews.llvm.org/D117184
The file was modifiedllvm/lib/Transforms/Utils/SimplifyCFG.cpp
The file was addedllvm/test/Transforms/SimplifyCFG/X86/switch-to-lookup-globals.ll
Commit f4515ab858ec3ac87ee63aacdf29647bc64b0de4 by david.sherwood
Revert "[CodeGen][AArch64] Ensure isSExtCheaperThanZExt returns true for negative constants"

This reverts commit 197f3c0deb76951315118ef13937b67ea9cbd5aa.

Reverting after miscompilation errors discovered with ffmpeg.
The file was modifiedllvm/test/CodeGen/AArch64/sve-vector-splat.ll
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-and-legalization.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/test/CodeGen/AArch64/funnel-shift.ll
The file was modifiedllvm/test/CodeGen/AArch64/reduce-and.ll
The file was modifiedllvm/test/CodeGen/AArch64/unfold-masked-merge-vector-variablemask.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/CodeGenPrepare.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Commit 2d9198cec994b91fc13ef6cdd6983c61aaa1f726 by kbobyrev
[clangd] Remove redundant check for renamed symbol origin

This is a follow-up on D116643. `isInSystemHeader` check already detects
symbols coming from the Standard Library, so searching for the qualified name
in StdSymbolMap.inc is no longer necessary.

The tests filtering out purely based on the symbol qualified names are removed.

Reviewed By: hokein

Differential Revision: https://reviews.llvm.org/D117491
The file was modifiedclang-tools-extra/clangd/refactor/Rename.cpp
The file was modifiedclang-tools-extra/clangd/unittests/RenameTests.cpp
Commit 65fbe38f0a20adac8853cb5123d57d8ce3ef17bc by bjorn.a.pettersson
[DwarfDebug] Restore code that make comments stay aligned in DwarfDebug::emitDebugLocEntry

Commit 2bddab25dba8d4b0 removed a piece of code from
DwarfDebug::emitDebugLocEntry that according to code comments
"Make sure comments stay aligned".

This patch restores that piece of code, together with the addition
of some extra checks in an existing lit test to work as a regression
test. Without this patch we incorrectly get
  .byte   159                             # 0
instead of
  .byte   159                             # DW_OP_stack_value

Differential Revision: https://reviews.llvm.org/D117441
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ByteStreamer.h
The file was modifiedllvm/test/DebugInfo/X86/convert-loclist.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Commit ab6e9a44ba8011d537cb71381c2a41a5e3354507 by flo
[Chrono] Add missing include <ratio>.

The file uses std::ratio without including the correct header.
Previously ratio was indirectly provided through chrono in libc++ but
that's not the case any longer.

This should fix a build failure with modules enabled:
https://green.lab.llvm.org/green/job/clang-stage2-Rthinlto/5185/console
The file was modifiedllvm/include/llvm/Support/Chrono.h
Commit f9f865d86c822db6078a3f219d328249406635e1 by npopov
[CVP] Add test for select with assumes (NFC)

The incoming values of selects are currently not intersected with
assumes.
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Commit 202d590a017b76926c9e327927d9c144bc8f5cfb by npopov
[LVI] Consistently intersect assumes

Integrate intersection with assumes into getBlockValue(), to ensure
that it is consistently performed.

We were doing it in nearly all places, but for example missed it
for select inputs.
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit fd598e185972f76a50c45e1402ab3b0fd70664b9 by hokein.wu
[clangd] Bring back early-claim approach to fix a selection-tree regression.

The early-claim hack was removed in 96f5cc1ee417f863f85756d1e56b1bed1bd76a7e,
we see a regression about captured var-decl in lambda.

Fixes https://github.com/clangd/clangd/issues/990.

Differential Revision: https://reviews.llvm.org/D117472
The file was modifiedclang-tools-extra/clangd/Selection.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SelectionTests.cpp
Commit 289021a45decdef8ed61d054b9c90ce775ca9c96 by zinenko
[mlir] fix crash in PybindAdaptors.h

The constructor function was being defined without indicating its "__init__"
name, which made it interpret it as a regular fuction rather than a
constructor. When overload resolution failed, Pybind would attempt to print the
arguments actually passed to the function, including "self", which is not
initialized since the constructor couldn't be called. This would result in
"__repr__" being called with "self" referencing an uninitialized MLIR C API
object, which in turn would cause undefined behavior when attempting to print
in C++.

Fix this by specifying the correct name.

This in turn uncovers the fact the the mechanism used by PybindAdaptors.h to
bind constructors directly as "__init__" functions taking "self" is deprecated
by Pybind. Instead, leverage the fact that the adaptors are intended for
attrbutes/types that cannot have additional data members and are all ultimately
instances of "PyAttribute"/"PyType" C++ class. In constructors of derived
classes, construct an instance of the base class first, then steal its internal
pointer to the C++ object to construct the instance of the derived class.

On top of that, the definition of the function was incorrectly indicated as the
method on the "None" object instead of being the method of its parent class.
This would result in a second problem when Pybind would attempt to print
warnings pointing to the parent class since the "None" does not have a
"__name__" field or its C API equivalent.

Fix this by specifying the correct parent class by looking it up by name in the
parent module.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D117325
The file was modifiedmlir/include/mlir/Bindings/Python/PybindAdaptors.h
Commit cc0d208805c3d1dac3ec5a44f971b1b5c8ab3a2a by nicolas.vasilache
[mlir][Linalg] Drop deprecated convolution vectorization patterns

Differential revision: https://reviews.llvm.org/D117326
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-nwc-wcf-call.mlir
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-ndhwc-dhwcf-call.mlir
The file was modifiedmlir/test/lib/Dialect/Linalg/CMakeLists.txt
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-3d-call.mlir
The file was removedmlir/test/Conversion/LinalgToVector/linalg-to-vector.mlir
The file was removedmlir/test/lib/Dialect/Linalg/TestConvVectorization.cpp
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-call.mlir
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-1d-call.mlir
The file was modifiedmlir/test/Integration/Dialect/Linalg/CPU/test-conv-2d-nhwc-hwcf-call.mlir
Commit c154f397eeb86ea1a5b8fa46405104ace962cec3 by pavel
[lldb/python] Use PythonObject in LLDBSwigPython functions

Return our PythonObject wrappers instead of raw PyObjects (obfuscated as
void *). This ensures that ownership (reference counts) of python
objects is automatically tracked.

Differential Revision: https://reviews.llvm.org/D117462
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
The file was modifiedlldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
The file was modifiedlldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
The file was modifiedlldb/bindings/python/python-wrapper.swig
Commit fd1dce35bd595e6330903f58756bca26bec85809 by victor.perez
[LegalizeTypes][VP] Add splitting support for vp.reduction.*

Split vp.reduction.* intrinsics by splitting the vector to reduce in
two halves, perform the reduction operation in each one of them and
accumulate the results of both operations.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D117469
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-int-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
Commit efdd4c169d307b73db2d64552ea7698d5ee6feff by nicolas.vasilache
[mlir][Linalg] NFC - Drop vectorization reliance on ConvolutionOpInterface

Differential revision: https://reviews.llvm.org/D117323
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
Commit 04f13da677d11f447e6332cf3171f5f1547d01a3 by pavel
[lldb] Fix compiler warning in CommunicationTest

"0x80 changes value when converted to char"
The file was modifiedlldb/unittests/Core/CommunicationTest.cpp
Commit afb196c357f787c6e1e960aeca9531494102ad30 by pavel
[lldb] s/dyn_cast/isa in TypeSystemClang
The file was modifiedlldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
Commit d15823e3006bd3c5f19388e5cb6bc0cdcba9c2b2 by npopov
[LVI] Compute SPF range even if one operands is overdefined

If we have a constant range for one operand but not the other,
we can generally still compute a useful results for SPF min/max.
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Commit 9e68557e6437a7cb997cf571542b3638839dcaa0 by npopov
[LVI] Handle commuted SPF min/max operands

We need to check that the operands of the min/max are the operands
of the select, but we don't care which order they are in.
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Commit f4615feaa1fb686b12db518299a372d0c99824ae by hans
Revert "[DAG] Extend SearchForAndLoads with any_extend handling"

This caused builds to fail with

  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:5638:
  bool (anonymous namespace)::DAGCombiner::BackwardsPropagateMask(llvm::SDNode *):
  Assertion `NewLoad && "Shouldn't be masking the load if it can't be narrowed"' failed.

See the code review for a link to a reproducer.

> This extends the code in SearchForAndLoads to be able to look through
> ANY_EXTEND nodes, which can be created from mismatching IR types where
> the AND node we begin from only demands the low parts of the register.
> That turns zext and sext into any_extends as only the low bits are
> demanded. To be able to look through ANY_EXTEND nodes we need to handle
> mismatching types in a few places, potentially truncating the mask to
> the size of the final load.
>
> Differential Revision: https://reviews.llvm.org/D117457

This reverts commit 578008789fd061a88ce47dac6ff627001b404348.
The file was modifiedllvm/test/CodeGen/X86/pr35765.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/pr35763.ll
The file was modifiedllvm/test/CodeGen/AArch64/combine-andintoload.ll
Commit 0861fbe11ec36fa324382e38dee48750085e44a3 by npopov
[CVP] Add tests for icmp of trunc implication (NFC)
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Commit b7bf96a258653582a996dbc0225fc4a38def5d3f by victor.perez
[LegalizeTypes][VP] Add widening support for vp.reduce.*

When widening these intrinsics, we do not have to insert neutral
elements at the end of the vector as when widening vector.reduce.*
intrinsics, thanks to vector predication semantics.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D117467
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-mask-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-int-vp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-fp-vp.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/vreductions-int-vp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-mask-vp.ll
Commit 3ec7f46e99b3690d8d25def158c2d58793ca4b28 by npopov
[LVI] Handle implication from icmp of trunc (PR51867)

Similar to the existing urem code, if we have (trunc X) >= C,
then also X >= C.

Proof: https://alive2.llvm.org/ce/z/RF4YR2

Fixes https://github.com/llvm/llvm-project/issues/51867.
The file was modifiedllvm/test/Transforms/CorrelatedValuePropagation/basic.ll
The file was modifiedllvm/lib/Analysis/LazyValueInfo.cpp
Commit 43994e9a4a8323825cd6303fc756adb1cfd5dbad by simon.moll
[VE] vp_select+vectorBinOp passthru isel and tests

Extend the VE binaryop vector isel patterns to use passthru when the
result of a SDNode is used in a vector select or merge.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D117495
The file was modifiedllvm/lib/Target/VE/VVPInstrPatternsVec.td
The file was addedllvm/test/CodeGen/VE/Vector/vp_fmul_merge.ll
The file was addedllvm/test/CodeGen/VE/Vector/vp_fadd_merge.ll
The file was addedllvm/test/CodeGen/VE/Vector/vp_fdiv_merge.ll
The file was addedllvm/test/CodeGen/VE/Vector/vp_fsub_merge.ll
Commit 1b09d0c42b42be219dd0984e0714d68b4a36cd3e by simon.moll
[VE] VECustomDAG builder class

VECustomDAG's functions simplify emitting VE custom ISD nodes. The class
is just a stub now. We add more functions, in particular for the
VP->VVP->VE lowering, to VECustomDAG as we build up vector isel.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D116103
The file was modifiedllvm/lib/Target/VE/CMakeLists.txt
The file was addedllvm/lib/Target/VE/VECustomDAG.cpp
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was addedllvm/lib/Target/VE/VECustomDAG.h
Commit 541322540ea0e9e33dbe84db4a28ad4872a6a4cb by npopov
[AttrBuilder] Add string attribute getter (NFC)

This avoids the need to scan through td_attrs() in AutoUpgrade,
decoupling it from AttrBuilder implementation details.
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
Commit 59e031ff9057b103c73f22bebc32304ee79fa139 by sgatev
[clang][dataflow] Add transfer function for addrof

This is part of the implementation of the dataflow analysis framework.
See "[RFC] A dataflow analysis framework for Clang AST" on cfe-dev.

Reviewed-by: xazax.hun

Differential Revision: https://reviews.llvm.org/D117496
The file was modifiedclang/lib/Analysis/FlowSensitive/Transfer.cpp
The file was modifiedclang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Commit e781620dee4415018bdf3769a97c2ec31a85ff68 by david.sherwood
[LoopVectorize][AArch64] Use get.active.lane.mask intrinsic when SVE is enabled

When SVE is enabled for AArch64 targets it makes more sense to use the
get.active.lane.mask intrinsic, because SVE has an exact 1-1 mapping
from the intrinsic to the 'whilelo' instruction for legal vector types.
This instruction neatly takes overflow into account as well. This patch
fixes an issue in VPInstruction::generateInstruction that assumed we are
only dealing with fixed-width vectors.

Differential Revision: https://reviews.llvm.org/D117109
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
The file was modifiedllvm/test/Transforms/LoopVectorize/AArch64/tail-fold-uniform-memops.ll
Commit 1b9d323a266c9cc125e1993be56db97d71f25d39 by flo
Revert "[AIX] Support of Big archive (read)"

This appears to be causing the following build failures on green
dragon during stage2 builds on macOS:

/System/Volumes/Data/jenkins/workspace/apple-clang-stage2-configure-RA_osceola/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-llvm/./bin/clang++ -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -Wno-unknown-warning-option -Werror=unguarded-availability-new -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/System/Volumes/Data/jenkins/workspace/apple-clang-stage2-configure-RA_osceola/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-llvm/tools/clang/stage2-bins/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-class-memaccess -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -O2 -gline-tables-only -DNDEBUG -arch x86_64 -arch arm64 -arch arm64e -isysroot /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -mmacosx-version-min=10.10 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-dead_strip tools/llvm-cov/CMakeFiles/llvm-cov.dir/llvm-cov.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/gcov.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/CodeCoverage.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageExporterJson.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageExporterLcov.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageFilters.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageReport.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/CoverageSummaryInfo.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageView.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewHTML.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/SourceCoverageViewText.cpp.o tools/llvm-cov/CMakeFiles/llvm-cov.dir/TestingSupport.cpp.o -o bin/llvm-cov  -Wl,-rpath,@loader_path/../lib  lib/libLLVMCore.a  lib/libLLVMSupport.a  lib/libLLVMObject.a  lib/libLLVMCoverage.a  lib/libLLVMProfileData.a  lib/libLLVMDebugInfoDWARF.a  lib/libLLVMObject.a  lib/libLLVMBitReader.a  lib/libLLVMCore.a  lib/libLLVMRemarks.a  lib/libLLVMBitstreamReader.a  lib/libLLVMMCParser.a  lib/libLLVMTextAPI.a  lib/libLLVMMC.a  lib/libLLVMBinaryFormat.a  lib/libLLVMDebugInfoCodeView.a  lib/libLLVMSupport.a  -lm  /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/lib/libz.tbd  /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk/usr/lib/libcurses.tbd  lib/libLLVMDemangle.a && cd /System/Volumes/Data/jenkins/workspace/apple-clang-stage2-configure-RA_osceola/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-llvm/tools/clang/stage2-bins/tools/llvm-cov && xcrun dsymutil -o=llvm-cov.dSYM /System/Volumes/Data/jenkins/workspace/apple-clang-stage2-configure-RA_osceola/clang.roots/BuildRecords/clang-9999.99_install/Objects/obj-llvm/tools/clang/stage2-bins/bin/llvm-cov
Undefined symbols for architecture x86_64:
  "llvm::object::CommonArchiveMemberHeader<llvm::object::BigArMemHdrType>::getRawAccessMode() const", referenced from:
      vtable for llvm::object::BigArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::BigArMemHdrType>::getRawUID() const", referenced from:
      vtable for llvm::object::BigArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::BigArMemHdrType>::getRawGID() const", referenced from:
      vtable for llvm::object::BigArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::UnixArMemHdrType>::getRawAccessMode() const", referenced from:
      vtable for llvm::object::ArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::UnixArMemHdrType>::getRawLastModified() const", referenced from:
      vtable for llvm::object::ArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::BigArMemHdrType>::getRawLastModified() const", referenced from:
      vtable for llvm::object::BigArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::BigArMemHdrType>::getOffset() const", referenced from:
      vtable for llvm::object::BigArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::UnixArMemHdrType>::getRawUID() const", referenced from:
      vtable for llvm::object::ArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::UnixArMemHdrType>::getRawGID() const", referenced from:
      vtable for llvm::object::ArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
  "llvm::object::CommonArchiveMemberHeader<llvm::object::UnixArMemHdrType>::getOffset() const", referenced from:
      vtable for llvm::object::ArchiveMemberHeader in libLLVMObject.a(Archive.cpp.o)
ld: symbol(s) not found for architecture x86_64

https://smooshbase.apple.com/ci/job/apple-clang-stage2-configure-RA_osceola/30276/console
The file was modifiedllvm/lib/Object/Archive.cpp
The file was modifiedllvm/lib/Object/ArchiveWriter.cpp
The file was removedllvm/test/Object/archive-big-extract.test
The file was removedllvm/test/Object/archive-big-read.test
The file was modifiedllvm/include/llvm/Object/Archive.h
The file was removedllvm/test/Object/Inputs/aix-big-archive.a
The file was modifiedllvm/test/tools/llvm-objdump/malformed-archives.test
The file was removedllvm/test/Object/archive-big-print.test
The file was modifiedllvm/tools/llvm-ar/llvm-ar.cpp

Summary

  1. [Zorg] Honor clean_obj in WebUI. (details)
  2. [AIX][PowerPC] Have AIX buildbot build compiler-rt and build and test llvm-test-suite (details)
Commit fd5d6f0cb350e807642e5b61c5c215d88dcc9a91 by llvm-project
[Zorg] Honor clean_obj in WebUI.

Delete the build dir if either `clean_obj` or `clean` is true. Previously, build dir would not be cleaned if `clean` is false, even if `clean_obj` is true.

For reference, when which of the properties are set:

Normal build:
  "clean": does not exist
  "clean_obj": does not exist

Commit with CMakeLists.txt change:
  "clean": does not exist
  "clean_obj": [true, "change"]

"Force Build" -> "Clean source code and build directory" checked:
  "clean": true
  "clean_obj": false

"Force Build" -> "Clean build directory" checked:
  "clean": false
  "clean_obj": true

"Force Build" -> "Clean source code and build directory" and "Clean build directory" checked:
  "clean": true
  "clean_obj": true

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D107193
The file was modifiedzorg/buildbot/builders/OpenMPBuilder.py
The file was modifiedzorg/buildbot/builders/PollyBuilder.py
Commit 8201011aefd8c603a5d0ea04f8858c95eac1c80c by zarko
[AIX][PowerPC] Have AIX buildbot build compiler-rt and build and test llvm-test-suite

Update the config so we build compiler-rt as a runtime and test llvm-test-suite.

Reviewed By: daltenty

Differential Revision: https://reviews.llvm.org/D116752
The file was modifiedbuildbot/osuosl/master/config/builders.py