SuccessChanges

Summary

  1. moved all volumes below /vol (details)
  2. created new generic Linux container (details)
  3. Add pybind11 to the mlir-nvidia Docker image to be able to enable the MLIR Python bindings (details)
  4. buildbot-ubuntu-clang: added missing libraries for clangd (details)
  5. updated clangd-ubuntu-clang (details)
  6. added .vscode to .gitignore (details)
  7. initial deployment of clangd-ubuntu-clang (details)
  8. Worker for Theta supercomputer at ALCF with Flang builder (details)
  9. Updated the step completition detection for annotated steps. (details)
  10. Add flang docs to SphinxDocsBuilder. (details)
  11. Changed builddir to match the builder name. builddir must be unique. (details)
  12. buildbot-clangd-ubuntu-clang improvements (details)
  13. new worker and builder for clangd (details)
  14. [llvm] New worker for ThinLTO whole program devirtualization (details)
  15. clangd-ubuntu-clang: removed special character from admin name (details)
  16. clangd-ubuntu-tsan fixed typo in release type (details)
  17. [sanitizer] Enable tests on Android Arm (details)
  18. [sanitizer] Disable arm64 android tests (details)
  19. [sanitizer] Start testing with faster device (details)
  20. [sanitizer] Disable 32bit Android ARM tests (details)
  21. [sanitizer] Fix libc++_shared.so path on arm 32bit (details)
  22. [sanitizer] Simplify shell script (details)
  23. [sanitizer] Re-enable arm bots (details)
  24. [sanitizer] Simplify few lines in bot script (details)
  25. clangd-ubuntu-tsan: Fix arguments passed to CMake (details)
  26. clangd-ubuntu-tsan: fix depends_on_projects (details)
  27. clangd-ubuntu-tsan: Add forgotten gRPC installation path (details)
  28. clangd-ubuntu-clang: Cleanup (details)
  29. clangd-ubuntu-clang: Bump gRPC back to 1.33.2 (details)
  30. clangd-tsan-ubuntu: only build clangd{,-indexer,-index-server} (details)
  31. added RAM info to worker status (details)
  32. clangd-ubuntu-clang: increased resource limits to cover TSan builds (details)
  33. Added support for buid targets to UnifiedTreeBuilder. (details)
  34. Support reloading the buildbot config. (details)
  35. clangd-ubuntu-clang: reduced RAM requirements (details)
  36. langd-ubuntu-clang: fixed typo in RAM usage (details)
  37. Updates to ALCF Theta Buildbot (details)
  38. [llvm-zorg]Give default values to BUILDBOT_CLOBBER and BUILDBOT_REVISION (details)
  39. [sanitizer] Add workaround for incremental build (details)
  40. [llvm-zorg] Exit early (skip tests) if builds failed (details)
  41. clangd-ubuntu-clang: moved to production server (details)
  42. [sanitizer] Fix operators order in bash script (details)
  43. [sanitizer] Fix operators order in bash script (details)
  44. Add flang dylib/shared libs buildbots (details)
  45. clang-x86-ninja-win10: reducing scopoe of builds to get bot stable (details)
  46. clang-x86-ninja-win10: removed quotes around LIT_TOOLS_DIR (details)
  47. Do not collapse build requests with different property sets. (details)
Commit 08a066e1edefa9be5aa001eca805358866a54b0a by kuhnel
moved all volumes below /vol
The file was modifiedbuildbot/google/docker/build_run.sh (diff)
Commit 435f2322cb347a06ab3d26fa87c5676b289c527f by kuhnel
created new generic Linux container
The file was addedbuildbot/google/docker/buildbot-ubuntu-clang/VERSION
The file was addedbuildbot/google/docker/buildbot-ubuntu-clang/Dockerfile
The file was addedbuildbot/google/docker/buildbot-ubuntu-clang/run.sh
Commit 4c5df5edfb4b1c7209354a6d871118adc3fea2f1 by joker.eph
Add pybind11 to the mlir-nvidia Docker image to be able to enable the MLIR Python bindings

Differential Revision: https://reviews.llvm.org/D90966
The file was modifiedbuildbot/google/docker/buildbot-mlir-nvidia/Dockerfile (diff)
Commit 6f5ddbf9e704e346e5bffcfdc017e26000b6235b by kuhnel
buildbot-ubuntu-clang: added missing libraries for clangd

also improved documentation of Dockerfile
The file was modifiedbuildbot/google/docker/buildbot-ubuntu-clang/Dockerfile (diff)
Commit b55eb3e73c8e4f21063802a691754bc6903e03fd by kuhnel
updated clangd-ubuntu-clang

* renamed worker
* fixed packages
* configured LLVM toolchain
The file was removedbuildbot/google/docker/buildbot-ubuntu-clang/VERSION
The file was addedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile
The file was modifiedbuildbot/google/terraform/main.tf (diff)
The file was addedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/VERSION
The file was removedbuildbot/google/docker/buildbot-ubuntu-clang/run.sh
The file was removedbuildbot/google/docker/buildbot-ubuntu-clang/Dockerfile
The file was addedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/run.sh
Commit b8bcb750df35a58fde1a2a570d4499d25fbdc9bf by kuhnel
added .vscode to .gitignore
The file was modified.gitignore (diff)
Commit db2515d183b81b8f77f8bdd5d039ae5a44a5c543 by kuhnel
initial deployment of clangd-ubuntu-clang
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile (diff)
The file was modifiedbuildbot/google/terraform/main.tf (diff)
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/VERSION (diff)
Commit 487c8cb1080a354346ab3d74df750e0c21f9a8ae by llvm-zorg
Worker for Theta supercomputer at ALCF with Flang builder

The Flang builder and worker for ALCF's Theta supercomputer are based on the configuration used at NERSC.

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D90986
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
Commit 79a33844b41484b1b5392faea09d0c0be74bf888 by vvereschaka
Updated the step completition detection for annotated steps.

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D90883
The file was modifiedzorg/buildbot/commands/AnnotatedCommand.py (diff)
Commit 1d80d949d0da3bbba73fd9a8a6e9822d66d22dc9 by alebedev
Add flang docs to SphinxDocsBuilder.

Since flang Sphinx docs are buildable, we can expand SphinxDocsBuilder to build and publish.

Require
sphinx==1.8.5
sphinx-markdown-tables==0.0.14
recommonmark==0.6.0

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D91116
The file was modifiedzorg/buildbot/builders/SphinxDocsBuilder.py (diff)
Commit 834282c5275ab707b7629081c143d8064076e072 by gkistanova
Changed builddir to match the builder name. builddir must be unique.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 2abb7f51d766d94d93d2617491098f83c8247280 by kuhnel
buildbot-clangd-ubuntu-clang improvements

* fixed worker path in deployment
* compiling grpc locally to work around TSan issue in grpc
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile (diff)
The file was modifiedbuildbot/google/terraform/main.tf (diff)
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/VERSION (diff)
Commit b84d69ba3b5e1e4a1e4823392c7709ac61b701d0 by kuhnel
new worker and builder for clangd

adding new worker andbuilder to cover remote indexing feature of clangd

Differential Revision: https://reviews.llvm.org/D91128
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit dd1e514bf8aa96828a577352d469b4422a7f0e55 by tejohnson
[llvm] New worker for ThinLTO whole program devirtualization

Adds a new x86_64 Ubuntu worker to test ThinLTO bootstrap with
whole program devirtualization enabled.

Differential Revision: https://reviews.llvm.org/D90578
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
The file was modifiedbuildbot/osuosl/master/config/status.py (diff)
Commit 21a3fc662d088a4288188a6556d21dbf03f2079e by kuhnel
clangd-ubuntu-clang: removed special character from admin name
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/run.sh (diff)
The file was modifiedbuildbot/google/terraform/main.tf (diff)
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/VERSION (diff)
Commit c730af4375de6c87222567bf9ddae1eb850b2048 by kuhnel
clangd-ubuntu-tsan fixed typo in release type
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit b933737a6f7bda945c7cc9275cc0e06cc3e75c8b by noreply
[sanitizer] Enable tests on Android Arm
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android.sh (diff)
Commit 8a93d24988e864b381484813d2783614f1539924 by noreply
[sanitizer] Disable arm64 android tests

Device was to long offline and some tests regressed
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android.sh (diff)
Commit f80103a85c08cd8b1ddab906f2bcae297ffd545e by noreply
[sanitizer] Start testing with faster device

.
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
Commit 488632b2a1e033e5fa032551e78400c34fe3b579 by noreply
[sanitizer] Disable 32bit Android ARM tests
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android.sh (diff)
Commit d541403786666845d6f601e70bd50ec31cb6b0a7 by noreply
[sanitizer] Fix libc++_shared.so path on arm 32bit
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
Commit 3fce25391d76f132efb1a6d613253f1c96242439 by noreply
[sanitizer] Simplify shell script
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
Commit 50284cd36413ea6034462858bd1a3c9f9e2e2db3 by noreply
[sanitizer] Re-enable arm bots
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android.sh (diff)
Commit 2467f4892851632a2c5ea573a382bb98badde882 by Vitaly Buka
[sanitizer] Simplify few lines in bot script
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
Commit 945bb04ad6ecf55232093bf6e31ece084ae96278 by kbobyrev
clangd-ubuntu-tsan: Fix arguments passed to CMake

The builds are currently failing:
http://lab.llvm.org:8014/#/builders/136/builds/5

Presumably, the problem is that extra `"` make it into the values passed to
CMake somehow through the shell or invocation, and that causes unexpected
failures. The buildbot configurations around clangd-ubuntu-tsan never enclose
values in additional `"` so this patch also makes it more coherent with the
rest of existing code.

Differential Revision: https://reviews.llvm.org/D91566
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 68644e471ebd874057eea90f6c1c2fc035753ead by kbobyrev
clangd-ubuntu-tsan: fix depends_on_projects

`depends_on_projects` appears to be the Python list of single project
names rather than project names joined with `;`.

Also, use `"` across all values to be consistent within the single
project config.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 972c462597cfaed8745927dff2541254a0a2ae47 by kbobyrev
clangd-ubuntu-tsan: Add forgotten gRPC installation path
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 0843df3c4f0928a2aaa936cc20c669dc1aa22c93 by kbobyrev
clangd-ubuntu-clang: Cleanup

* Add LLVM to buildbot dependencies.
* Downgrade gRPC built in Docker to 1.30.2 to make the version
  compatible with Debian unstable.
* Minor cleanup in comments for the Docker image.
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile (diff)
Commit 8efd618edaf110cab2d25b56ee66eced203639d1 by kbobyrev
clangd-ubuntu-clang: Bump gRPC back to 1.33.2

1.30.2 without the patches Debian has is buggy.
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/Dockerfile (diff)
Commit 1b72913842a10044be6d2521c395ae10d83cb2b9 by sam.mccall
clangd-tsan-ubuntu: only build clangd{,-indexer,-index-server}

Differential Revision: https://reviews.llvm.org/D91597
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 946f7e8d2fe971fa5354bd062380190343d2e6aa by kuhnel
added RAM info to worker status
The file was modifiedbuildbot/google/docker/buildbot-clangd-ubuntu-clang/run.sh (diff)
Commit 90207140bdb93ac61ec54cf96fd61bc68aced4a0 by kuhnel
clangd-ubuntu-clang: increased resource limits to cover TSan builds
The file was modifiedbuildbot/google/terraform/main.tf (diff)
Commit 609931a6e83af7c9d7b35a1c4910217e4f6147c2 by gkistanova
Added support for buid targets to UnifiedTreeBuilder.
The file was modifiedzorg/buildbot/builders/UnifiedTreeBuilder.py (diff)
Commit a6fe99bffd1d55260b89231d9860155db7aae001 by gkistanova
Support reloading the buildbot config.
The file was modifiedbuildbot/osuosl/master/config/__init__.py (diff)
The file was modifiedbuildbot/osuosl/master/master.cfg (diff)
Commit e58caeb9483049e1d411af2c619f8e3f8ad59ec9 by kuhnel
clangd-ubuntu-clang: reduced RAM requirements
The file was modifiedbuildbot/google/terraform/main.tf (diff)
Commit 1bc9b3daf451c2713e6a502a00c29932b4de5737 by kuhnel
langd-ubuntu-clang: fixed typo in RAM usage
The file was modifiedbuildbot/google/terraform/main.tf (diff)
Commit dcfc5b668f39fd07facfd7bc7943cf277fecee49 by llvm-zorg
Updates to ALCF Theta Buildbot

Build with fewer tasks and concurrent builds.

Use GCC compiler for build.

Build the new Flang Driver

Reviewed By: gkistanova

Differential Revision: https://reviews.llvm.org/D91400
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit ea86ea1e72d5bd8b419d177f6922ebe213c25cc6 by vyng
[llvm-zorg]Give default values to BUILDBOT_CLOBBER and BUILDBOT_REVISION

so you don't have to set them if you don't care about them.

Differential Revision: https://reviews.llvm.org/D91739
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_functions.sh (diff)
Commit b11e54e72e7410e7707c6386d3c1e2e5d26ee4b7 by noreply
[sanitizer] Add workaround for incremental build
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_cmake.sh (diff)
Commit 2df2449172690d8d46f90f7f4c10a6315bb21d49 by vyng
[llvm-zorg] Exit early (skip tests) if builds failed

This helps reducing the error log.
You don't have to scroll all the way up to see that the test failed because there was no libclang_rt.* files (due to compilation failure in build steps)

Differential Revision: https://reviews.llvm.org/D91808
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
Commit 0564bc60fc7e921f231e622c33b99a1d40cfa9c4 by kuhnel
clangd-ubuntu-clang: moved to production server
The file was modifiedbuildbot/google/terraform/main.tf (diff)
Commit 19b0dd23e09d1fa902550af206a03b019131bc65 by noreply
[sanitizer] Fix operators order in bash script
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
Commit bb93d57ac0d2ecbaaf56dae6268b9e4e1bf32199 by noreply
[sanitizer] Fix operators order in bash script
The file was modifiedzorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (diff)
Commit 1a3cb9aabf5eb27f2c6d515fb4711d0719a30947 by diana.picus
Add flang dylib/shared libs buildbots

Differential Revision: https://reviews.llvm.org/D91843
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
The file was modifiedbuildbot/osuosl/master/config/workers.py (diff)
Commit 5ce18db8739adcbf6a831d84e9a357f7b68cc3db by kuhnel
clang-x86-ninja-win10: reducing scopoe of builds to get bot stable
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit 5e4429c11f2044589e27636936d88f4adcd0edb7 by noreply
clang-x86-ninja-win10: removed quotes around LIT_TOOLS_DIR

Hopefully this will fix the failing build:
http://lab.llvm.org:8014/#/builders/27/builds/1089
The file was modifiedbuildbot/osuosl/master/config/builders.py (diff)
Commit acf138fae1adab346a4c967cc0b7e9247fbc83d8 by gkistanova
Do not collapse build requests with different property sets.
The file was modifiedzorg/buildbot/process/buildrequest.py (diff)

Summary

  1. [clang-tidy] Make clang-format and include-order-check coherent (details)
  2. [ConstraintElimination] Add support for And. (details)
  3. [flang][nfc] Add missing dependency in CMake (details)
  4. [MLIR] Fix up integration tests after b7382ed3fea08da27530a6d6d53f168fc704e4c4 (details)
  5. [TableGen] Clean up Target .td include files (details)
  6. [AArch64][SVE] Support implicit lax vector conversions for SVE types (details)
  7. [WebAssembly][MC] Remove useless overrides in MCWasmStreamer (details)
  8. [SLP] Make SLPVectorizer to use `llvm.masked.gather` intrinsic (details)
  9. [Matrix] Add inline assembly test case. (details)
  10. [OPENMP]Fix PR48076: mapping of data member pointer. (details)
  11. [clang][AVR] Improve avr-ld command line options (details)
  12. [SLPVectorizer] Fix assert (details)
  13. [AMDGPU] Precommit more vccz workaround tests (details)
  14. Linker: Fix linking of byref types (details)
  15. [OpenMP][stats] reset serial state when re-entering serial region (details)
  16. [WebAssembly] Fix parsing of linking section for named global imports (details)
  17. [OpenMP] NFC: remove tabs in message catalog file (details)
  18. [X86] subvector-broadcast.ll - replace X32 check prefix with X86. NFC. (details)
  19. [X86] nontemporal.ll - replace X32 check prefix with X86. NFC. (details)
  20. [IR] ShuffleVectorInst::isIdentityWithPadding - bail on non-fixed-type vector shuffles. (details)
  21. [VPlan] Add VPDef class. (details)
  22. [mlir] Remove unused ConvertToLLVMPattern::linearizeSubscripts(). (details)
  23. [PPC] Fix dead store value clang static analyzer warning. NFCI. (details)
  24. Invert accessor for checking traversal mode (details)
  25. Rename API to not be constrained to template instantiations (details)
  26. Move ASTMatchFinder definition so it can be accessed from other functions (details)
  27. [AST] Ignore implicit nodes in IgnoreUnlessSpelledInSource mode (details)
  28. [AST] Update matchers to be traverse-aware (details)
  29. [mlir] Add a _get_default_loc_context utility to Python bindings (details)
  30. [BasicAA] Make alias GEP positive offset handling symmetric (details)
  31. [ARC] Correct ARCInstPrinter::getMnemonic after D90039 (details)
  32. [ELF] --gc-sections: collect unused .gcc_except_table in section groups and associated text sections (details)
  33. [MLIR][SPIRV] Rename `spv._address_of` to `spv.mlir.addressof` (details)
  34. [InstCombine] add tests for masked add; NFC (details)
  35. [InstCombine] relax constraints on mask-of-add (details)
  36. [InstCombine] add vector test for mask of add; NFC (details)
  37. [InstCombine] remove scalar constraint for mask-of-add fold (details)
  38. [NFC] Add unit tests for printing/parsing of variadic operands and results. (details)
  39. [debugserver] Add option to propagate SIGSEGV to target process (details)
  40. [BPI] Look through bitcasts in calcZeroHeuristic (details)
  41. [X86] vec_fabs.ll - replace X32 check prefix with X86. NFC. (details)
  42. [X86] rot16.ll - replace X32 check prefix with X86. NFC. (details)
  43. [InstCombine] visitAnd - use m_SpecificInt instead of m_APInt + comparison. NFCI. (details)
  44. Comment out new test while I figure out what is wrong with it (details)
  45. [mlir] Simplify std.alloc lowering to LLVM. (details)
  46. lld: Add --color-diagnostic to MachO port, harmonize others (details)
  47. [InstCombine] visitAnd - remove unnecessary Value *X, *Y shadow variables. NFCI. (details)
  48. [X86] select-of-fp-constants.ll - replace X32 check prefix with X86. NFC. (details)
  49. [X86] segmented-stacks tests - replace X32 check prefix with X86 for non-gnux32 tests. NFC. (details)
  50. [AArch64][SVE] Add tests for VLST -> VLAT lax conversions (details)
  51. [libc++] Only include_next <wctype.h> if it exists (details)
  52. [Transformer] Split ForStmt test into two (details)
  53. [libc++] Do not error out when we don't know the file format (details)
  54. [OPENMP] Fix PR47999: correctly map implicit firstprivates in outer tasks. (details)
  55. [X86] emutls-pic.ll - replace X32 check prefix with X86. NFC. (details)
  56. [X86] emutls-pie.ll - replace X32 check prefix with X86. NFC. (details)
  57. [X86] emutls.ll - replace X32 check prefix with X86. NFC. (details)
  58. [X86] byval tests - replace X32 check prefix with X86. NFC. (details)
  59. [InstCombine] allow vectors for masked-add -> xor fold (details)
  60. [libc] make part of libc's unit test framework independent of llvm (details)
  61. [MachineScheduler] Inform pass infra of post-ra scheduler's dependencies (details)
  62. [OpenMP] Add omp_realloc implementation (details)
  63. [SLP] avoid unreachable code crash/infloop (details)
  64. [ELF] Fix interaction between --unresolved-symbols= and --[no-]allow-shlib-undefined (details)
  65. [flang] Fix FIR test failures (details)
  66. [OpenMP] Use explicit type casting in kmp_atomic.cpp (details)
  67. [SVE] Take constant fold fast path for splatted vscale vectors (details)
  68. [mlir] [sparse] start of sparse tensor compiler support (details)
  69. [llvm-symbolizer] Add inline stack traces for Windows. (details)
  70. [LLVMFronted][tests] Add basic OpenMP parsing tests. (details)
  71. [gn build] Port 8fb4417d82b (details)
  72. Fix a pair of tests that would fail on a win32 box (details)
  73. Fix assertions and bad warnings on extremely wide bit-fields. (details)
  74. [libc] Add implementations of ldexp[f|l]. (details)
  75. honor Python2_EXECUTABLE and Python3_EXECUTABLE when they are passed to cmake (details)
  76. Revert "Revert "[analyzer] NFC: Move IssueHash to libAnalysis."" (details)
  77. [gn build] Port f8f6d6455f9 (details)
  78. [lld][WebAssembly] Implement --unresolved-symbols (details)
  79. [mlir][Linalg] Add dependence type to LinalgDependenceGraphElem. (details)
  80. [gn build] Use forward slashes for goma directory (details)
  81. [CMake] Fix ExtensionDependencies.inc with multiple extensions (details)
  82. Revert "[BitCode] decode nossp fn attr" (details)
  83. Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" (details)
  84. [Frontend] Add flag to allow PCM generation despite compiler errors (details)
  85. set the alignment of mlir::AttributeStorage to 64 bit explicitly to fix 32 bit platform (details)
  86. [NFC][Test] Add more tests for IEEE Longdouble for PowerPC (details)
  87. [CFGuard] Add address-taken IAT tables and delay-load support (details)
  88. Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis."" (details)
  89. [gn build] Port 41bcc05e2a4 (details)
  90. Revert "Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.""" (details)
  91. [NewPM] Disable PreservedCFGChecker and add regression unit tests (details)
  92. [gn build] Port 6a89cb8136f (details)
  93. [libc++] Revert switch-based std::variant implementation again. (details)
  94. [DCE] Always get TargetLibraryInfo (details)
  95. ADT: Share an implementation for single-element insert in SmallVector, NFC (details)
  96. [mlir][Python] Make DenseElementsAttr loading be int size agnostic. (details)
  97. [clangd] Add OverridenBy Relation to index. (details)
  98. Add CalibratedQuantizedType to quant dialect (details)
  99. [JumpThreading] Make -print-lvi-after-jump-threading work with NPM (details)
  100. [test] Pin size-remarks.ll to legacy PM (details)
  101. [X86] Use GF2P8AFFINEQB to implement vector bitreverse. (details)
  102. [mlir] Get array from the dense elements attribute with buffer protocol. (details)
  103. [test] Make scc-pass-printer.ll work with NPM (details)
  104. [NFC][tsan] Prepepare for more interceptors which use cond_wait() (details)
  105. test commit (details)
  106. [lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types. (details)
  107. [clangd] Call hierarchy (Protocol layer) (details)
  108. SpeculativeExecution: Allow speculating more instruction types (details)
  109. Revert "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (details)
  110. [lldb] Python3 byte<->string issue in patch-crashlog.py (details)
  111. [libcxx] Add missing _LIBCPP_FUNC_VIS on a few win32 locale functions (details)
  112. [clang][cli] Add ability to make fixups to CompilerInvocation after option parsing (details)
  113. [mlir] Introduce support for parametric side-effects (details)
  114. [clang][cli] Turn arcmt-* options into a single option (details)
  115. [Analysis] CGSCCPassManager.cpp - fix Wshadow warnings. NFCI. (details)
  116. Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). (details)
  117. [NFC] Add missing dependency in the IR unittests (details)
  118. [NFC][POwerPC] Added testcases of constant-i64. (details)
  119. [clang][cli] Remove NormalizerRetTy and use the decltype of the KeyPath instead (details)
  120. [mlir] Simplify code generated by ConvertToLLVMPattern::getStridedElementPtr(). (details)
  121. [tsan] Add pthread_cond_clockwait interceptor (details)
  122. [lldb] [test] Pass -mmmx to x86-gp-write test explicitly (details)
  123. [lldb] [test] Mark command-process-connect.test XFAIL (details)
  124. [lldb] [test] Un-XFAIL TestMultipleDebuggers.py (details)
  125. [lldb] [test] Un-XFAIL tests on freebsd/i386 (details)
  126. [clang][cli] Port Migrator option flags to new option parsing system (details)
  127. [IndVars] Support different types of ExitCount when optimizing exit conds (details)
  128. [lldb] Fix a couple of remote llgs tests (details)
  129. [sanitizer] Fix typo in log messages (details)
  130. [Matrix] Adjust matrix pointer type for inline asm arguments. (details)
  131. [SLP] Use the minimum alignment of the load bundle when forming a masked.gather (details)
  132. Add sysroot/lib to library search path of baremetal toolchain. (details)
  133. Remove unportable test (details)
  134. Fix typo for hasAnyOverloadedOperatorName; NFC (details)
  135. [ARM][LowOverheadLoops] Merge VCMP and VPST across VPT blocks (details)
  136. [lldb][NFC] Don't let Process inherit from UserID (details)
  137. [SystemZ] Use ISD::ABS opcode during isel. (details)
  138. [clangd] Remove the trailing "." in add-using message. (details)
  139. [ConstraintElimination] Refactor constraint extraction (NFC). (details)
  140. [AMDGPU] Rename pseudo S_WAITCNT_IDLE to S_WAIT_IDLE. NFC. (details)
  141. Fix unused variables in release build (details)
  142. [X86] Add broadcast merge test case for PR48215 (details)
  143. [AST] Enhance the const expression evaluator to support error-dependent exprs. (details)
  144. [NFC][Reassociate] Add patterns where `or` is part of load reduction idiom (details)
  145. [Reassociate] Don't convert add-like-or's into add's if they appear to be part of load-combining idiom (details)
  146. [AMDGPU] Fix and extend vccz workarounds (details)
  147. [libc][obvious] Fix fdim[f|l] signatures in stdc spec. (details)
  148. [OPENMP]Fix PR48174:  compile-time crash with target enter data on a global struct. (details)
  149. [DAGCombiner] Precommit Sext Tests for D91589 (details)
  150. SpeculativeExecution: Allow speculating more instruction types (details)
  151. [clangd] Implement textDocument/implementation (Xref layer) (details)
  152. [NFC] Use [MC]Register for Hexagon target (details)
  153. [llvm] fix global_downgraded_to_static test (details)
  154. lld: Make tests depend on llvm-symbolizer after bc98034040 (details)
  155. [OpenMP] [DOCS] Update OMP5.1 feature status table [NFC] (details)
  156. [SystemZ][NFC] Group SystemZ tests in SystemZ folder (details)
  157. Fix unused variable warning. NFCI. (details)
  158. HazardRecognizer - Fix definition/declaration argument name mismatches. NFCI. (details)
  159. Revert "[clangd] Implement textDocument/implementation (Xref layer)" (details)
  160. [libc++] Implements multiline regex support. (details)
  161. [AMDGPU] Fix v3f16 interaction with image store workaround (details)
  162. lld/MachO: Move MachOOptTable to DriverUtils.cpp, remove DriverUtils.h (details)
  163. [VP] Non-signalling llvm.vp.* intrinsics are speculatable (details)
  164. Revert "Revert "[clangd] Implement textDocument/implementation (Xref layer)"" (details)
  165. [NFC][LoopIdiom] Left-shift-until-bittest: revisit test coverage (details)
  166. Revert "[build] normalize components dependencies" (details)
  167. [clang-tidy] Allow `TransformerClangTidyCheck` clients to set the rule directly. (details)
  168. [MLIR][SPIRV] Rename `spv._reference_of` to `spv.mlir.referenceof` (details)
  169. [GWP-ASan] Respect GWP_ASAN_DEFAULT_ENABLED compile-time macro (details)
  170. [BasicAA] Remove assert in AA evaluator (details)
  171. Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug. (details)
  172. [libc][NFC][Obvious] Remove few unnecessary pieces from ilogb tests. (details)
  173. [Inline] Add test for PR48209 (NFC) (details)
  174. [Inline] Fix incorrect noalias metadata application (PR48209) (details)
  175. [modules] Fix crash in call to `FunctionDecl::setPure()` (details)
  176. Revert "[tsan] Add pthread_cond_clockwait interceptor" (details)
  177. Revert "Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug." (details)
  178. [Inline] Expand test to show dropped metadata (NFC) (details)
  179. [Inline] Fix incorrectly dropped noalias metadata (details)
  180. [OpenMP] Add Passing in Original Declaration Names To Mapper API (details)
  181. [ConstraintElimination] Decompose add nuw/sub nuw. (details)
  182. Revert "Revert "Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug."" (details)
  183. [test] Fix remaining GVN tests under NPM (details)
  184. [test] Fix eliminate-callsite-inline.ll under NPM (details)
  185. [BasicAA] Generalize base offset modulus handling (details)
  186. [NFC][AMDGPU] Remove some generic pointers in memory-legalizer tests (details)
  187. [NFC][Reassociate] Delay checking isLoadCombineCandidate() until after ShouldConvertOrWithNoCommonBitsToAdd() but before haveNoCommonBitsSet() (details)
  188. [PowerPC] Add peephole to remove redundant accumulator prime/unprime instructions (details)
  189. [OpenMP] Add Support for Mapping Names in Libomptarget RTL (details)
  190. Revert "Revert "Revert "Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug.""" (details)
  191. [libcxx] Port to NuttX (https://nuttx.apache.org) RTOS (details)
  192. [GWP-ASan] Port tests to Fuchsia (details)
  193. [NPM] Add implicit basic-aa before other AA (details)
  194. MCExpr::evaluateAsRelocatableImpl : allow evaluation of non-VK_None MCSymbolRefExpr when MCAsmLayout is available (details)
  195. [flang] Improve error message on bad LOGICAL compare operations (details)
  196. [flang] Correct handling of null pointer initializers (details)
  197. [libc++] Clarify how we pick the typeinfo comparison (details)
  198. [RISCV] Use register class VR for V instruction operands directly. (details)
  199. Fix assert on valid due to incorrect assumption that a field name must (details)
  200. [mlir][Affine] Refactor affine fusion code in pass to utilities (details)
  201. [gn build] (manually) merge f0785c1f7ac (details)
  202. [tsan] Add pthread_cond_clockwait interceptor (details)
  203. [MachO] Update embedded part of ObjectFileMachO for Mangled API change (details)
  204. [VE] Add vmv intrinsic instructions (details)
  205. [YAMLIO] Add a generic YAML fuzzer harness (details)
  206. [YAMLIO] Support non-null-terminated inputs (details)
  207. [NPM] Remove -enable-npm-optnone flag (details)
  208. [hwasan] Fix Thread reuse (try 2). (details)
  209. Added GDB pretty printer for StringMap (details)
  210. [WebAssembly] Support fp reg class in r constraint (details)
  211. [mlir][sparse] remove a few rewriting failures (details)
  212. ADT: Add assertions to SmallVector::insert, etc., for reference invalidation (details)
  213. Support: Avoid SmallVector::assign with a range from to-be-replaced vector in Windows GetExecutableName (details)
  214. [clang-tidy] Extend bugprone-string-constructor-check to std::string_view. (details)
  215. [trace][intel-pt] Scaffold the 'thread trace start | stop' commands (details)
  216. [X86][AArch64][RISCV] Pre-commit negated abs test case. NFC. (details)
  217. [mlir] Add support for referencing a SymbolRefAttr in a SideEffectInstance (details)
  218. [mlir][Pass] Only enable/disable CrashRecovery once (details)
  219. [RISCV] Add MemOperand to the instruction created by storeRegToStackSlot/loadRegFromStackSlot (details)
  220. [NFC][TFUtils] Extract out the output spec loader (details)
  221. [Transforms] Use llvm::is_contained (NFC) (details)
  222. [NFC][TFUtils] also include output specs lookup logic in loadOutputSpecs (details)
  223. [libc] Fix the overflow check condition of ldexp. (details)
  224. [PowerPC] [Clang] Fix alignment of 128-bit float types (details)
  225. [clangd] Fix data race in GoToInclude.All test (details)
  226. [IndVarSimplify] Notify top most loop to drop cached exit counts (details)
  227. [WebAssembly] Add support for named globals in the object format. (details)
  228. [VE] VEC_BROADCAST, lowering and isel (details)
  229. [mlir][TableGen] Support intrinsics with multiple returns and overloaded operands. (details)
  230. [clang-tidy] Improving bugprone-sizeof-expr check. (details)
  231. [NFC] Move code earlier as preparation for further changes (details)
  232. [NFC] Remove comment (commited ahead of time by mistake) (details)
  233. [SelDAGBuilder] Do not require simple VTs for constraints. (details)
  234. [Mach0] Fix unused-variable warnings (details)
  235. [LV][NFC-ish] Allow vector widths over 256 elements (details)
  236. [AArch64][SVE] Allow C-style casts between fixed-size and scalable vectors (details)
  237. [X86][AVX] Only share broadcasts of different widths from the same SDValue of the same SDNode (PR48215) (details)
  238. [lldb] Add explicit 64-bit fip/fdp registers on x86_64 (details)
  239. [lldb] Use translated full ftag values (details)
  240. [clangd] Disable SerializationTest.NoCrashOnBadArraySize with ASAN (details)
  241. [ARM] Deliberately prevent inline asm in low overhead loops. NFC (details)
  242. [ValueTracking] computeKnownBitsFromShiftOperator - move shift amount analysis to top of the function. NFCI. (details)
  243. [RISCV] Extend 32-bit test coverage of neg-abs tests for D91120 (details)
  244. [ConstraintElimination] Add GEP test case with variable offset. (details)
  245. Fix Wundef warnings for Support/Compiler.h (details)
  246. [libc++] ADL-proof <vector> by adding _VSTD:: qualification on calls. (details)
  247. [mlir][linalg] Start a named ops to generic ops pass (details)
  248. [AIX][FE] Support constructor/destructor attribute (details)
  249. Revert "[lldb] Use translated full ftag values" (details)
  250. [clang][cli] Port Comment option flags to new parsing system (details)
  251. Revert "[libc++] ADL-proof <vector> by adding _VSTD:: qualification on calls." (details)
  252. [clang][cli] Port analyzer flags to new option parsing system (details)
  253. [clangd] No crash on "-verify" mode. (details)
  254. [ARM] Add a WLS tail predication test. NFC (details)
  255. [MLIR][SPIRV] Rename `spv._merge` to `spv.mlir.merge` (details)
  256. [MLIR][SPIRV] ModuleCombiner: deduplicate global vars, spec consts, and funcs. (details)
  257. [AIX][XCOFF][Patch2] decode vector information and extent long table of the traceback table of the xcoff. (details)
  258. [FileCheck] Disallow unused prefixes in llvm/test/Analysis (details)
  259. [lldb] Remove legacy casts from TestStackFromStdModule (details)
  260. [lldb][NFC] Add a FIXME for ClangASTSource::FindExternalLexicalDecls's unused 'decls' parameter (details)
  261. [libc] Add differential fuzzers for ldexp and remquo. (details)
  262. [NFC][PhaseOrdering] Add a test showing the need to run IndVars after LoopIdiom (details)
  263. Use rewriter in SCFToSPIRV conversion. (details)
  264. [OpenMP] Add Location Fields to Libomptarget Runtime for Debugging (details)
  265. [ARM][LowOverheadLoops] Convert intermediate vpr use assertion to condition (details)
  266. [sanitizer_common] Add facility to get the full report path (details)
  267. [libomptarget] Add support for target update non-contiguous (details)
  268. [LoopVectorize] NFC: Fix unused variable warning for MaxSafeDepDist (details)
  269. [lldb] Fix incorrect error handling in  GDBRemoteCommunicationClient::SendGetSupportedTraceType (details)
  270. [AArch64] Lower fptrunc/fpext from/to FP128t to/from FP16 (details)
  271. [compiler-rt] [builtins] Support conversion between fp16 and fp128 (details)
  272. [compiler-rt] [builtins] Use _Float16 on extendhfsf2, truncdfhf2 __truncsfhf2 if available (details)
  273. Revert "Reorder linalg.conv indexing_maps loop order" (details)
  274. [RISCV] Lower GREVI and GORCI as custom nodes (details)
  275. [clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved (details)
  276. [MemProf] Add interface to dump profile (details)
  277. [lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py (details)
  278. [MLIR][SPIRV] Rename `spv._module_end` to `spv.mlir.endmodule` (details)
  279. [llvm][IR] Add dso_local_equivalent Constant (details)
  280. [mlir] Add a missing dependency to LinalgToLLVM (details)
  281. [CUDA] Unbreak CUDA compilation with -std=c++20 (details)
  282. [libc++] Mark a few tests as unsupported on older Clangs to fix bots (details)
  283. [RISCV] Add test cases for missed grevi/greviw opportunities. NFC (details)
  284. [OpenMP] Add support for Intel's umonitor/umwait (details)
  285. [clangd] Also detect corrupt stri table size. (details)
  286. [mlir][BuiltinDialect] Resolve comments from D91571 (details)
  287. [clangd] Express ASAN interactions of tests more clearly. NFC (details)
  288. Fix crash after looking up dwo_id=0 in CU index. (details)
  289. [NPM] Move more O0 pass building into PassBuilder (details)
  290. [gn build] (manually) merge 1fb91fcf9cfe849 (details)
  291. [Polly] Use LocationSize::unknown() (NFC) (details)
  292. [libc++] Add documentation for setting up new CI jobs (details)
  293. [Lint] Use MemoryLocation (details)
  294. Make array pointers in the CAPI const (details)
  295. [BasicAA] Deoptimize intrinsics don't modify memory (details)
  296. Replace the equivalent code by UnionTableAddr (details)
  297. Fix rollback of first block erasure in a region. (details)
  298. [MemLoc] Require LocationSize argument (NFC) (details)
  299. [MemLoc] Specify LocationSize in unit test (details)
  300. [MemLoc] Use hasValue() method (NFC) (details)
  301. [mlir] Split BufferUtils.h out of Bufferize.h (details)
  302. Remove deadcode from DFSanFunction::get*TLS*() (details)
  303. [mlir] Add an assertion on creating an Operation with null result types (details)
  304. [MemLoc] Use hasValue() method more (NFC) (details)
  305. [NFC][InstCombine] Add test coverage for `and (sext %x), SIGNMASK`-like pattern (details)
  306. [InstCombine] Fold `and(shl(zext(x), width(SIGNMASK) - width(%x)), SIGNMASK)` to `and(sext(%x), SIGNMASK)` (details)
  307. Remove unused private fields (details)
  308. [mlir] Add missing const * updates in StandardAttributes (details)
  309. [test] Fix pr39282.ll under NPM (details)
  310. [test] Fix globalaa-retained.ll under NPM (details)
  311. [ConstraintElimination] Decompose GEP with arbitrary offsets. (details)
  312. [test] Fix split-vfunc.ll under NPM (details)
  313. [clangd] Add textDocument/ast extension method to dump the AST (details)
  314. [gn build] Port 8adc4d1ec76 (details)
  315. [LLDB] Fixing lldb/test/Shell/Register/x86-fp-write.test (details)
  316. [lld][WebAssembly] Convert more tests to asm format. NFC. (details)
  317. ADT: Weaken SmallVector::resize assertion from 5abf76fbe37380874a88cc9aa02164800e4e10f3 (details)
  318. ADT: Use early returns in SmallVector::resize, NFC (details)
  319. Port -lower-matrix-intrinsics-minimal to NPM (details)
  320. ADT: Split out isSafeToReferenceAfterResize helper to use early returns, NFC (details)
  321. [test] Fix multiply-minimal.ll (details)
  322. [PowerPC] Allow a '%' prefix for registers in CFI directives (details)
  323. [mlir][Linalg] Add utility function that return static loop bounds of Linalg ops (details)
  324. [mlir][Linalg] Fuse sequence of Linalg operation (on buffers) (details)
  325. [mlir][Linalg] NFC: Expose some utility functions used for promotion. (details)
  326. Remove unused isZero function (details)
  327. [mlir] Support big-endian systems in DenseElementsAttr (multiple word) (details)
  328. [CodeGen] Use llvm::is_contained (NFC) (details)
  329. Temporarily Revert "[CostModel] remove cost-kind predicate for intrinsics in basic TTI implementation" (details)
  330. [PGO] Make -disable-preinline work with NPM (details)
  331. [NFC] Pre-commit test for flt_rounds on PowerPC (details)
  332. [lib/Object] - Generalize the RelocationResolver API. (details)
  333. [X86] Add support for vex, vex2, vex3, and evex for MASM (details)
  334. Revert "[LLDB] Fixing lldb/test/Shell/Register/x86-fp-write.test" (details)
  335. [lldb] [test/Register] XFAIL x86-fp-write on Darwin (details)
  336. [Test] Add tests demonstrating a bug in SCEV, PR48225 (details)
  337. Revert "[OpenMP] Add support for Intel's umonitor/umwait" (details)
  338. [llvm-readobj] - Introduce `forEachRelocationDo` helper. (details)
  339. [clangd] NFC: Reorder headers in tests accordig to Clang-Tidy (details)
  340. [llvm-readelf/obj] - Improve error reporting when dumping group sections. (details)
  341. [Test] Auto-update checks in a test (details)
  342. [NFC][Test] Update test for IEEE Long Double (details)
  343. [AMDGPU] Implement flat scratch init for pal (details)
  344. [mlir] Automatic reference counting for Async values + runtime support for ref counted objects (details)
  345. [lldb][AArch64/Linux] Show memory tagged memory regions (details)
  346. Fix MSVC "not all control paths return a value" warnings. NFCI. (details)
  347. [sanitizer_common][test] Disable FastUnwindTest.* on SPARC (details)
  348. [sanitizer_common][test] Disable CombinedAllocator32Compact etc. on Solaris/sparcv9 (details)
  349. [clang][CodeGen] Move riscv specific tests to RISCV subtarget folder (details)
  350. [clang][CodeGen] Move WebAssembly specific tests to WebAssembly subtarget folder (details)
  351. Revert "[mlir][Linalg] Fuse sequence of Linalg operation (on buffers)" (details)
  352. [mlir][std] Fold comparisons when the operands are equal (details)
  353. [VE] Change threshold for jump table generation (details)
  354. Partially revert '[MachO] Update embedded part of ObjectFileMachO for Mangled API change' (details)
  355. [mlir][std] Fold load(tensor_to_memref) into extract_element (details)
  356. [InstCombine] add test comments for negative tests; NFC (details)
  357. [mlir][std] Canonicalize a dim(memref_reshape) into a load from the shape operand (details)
  358. [sanitizers][test] Test sanitizer_common and ubsan_minimal on Solaris (details)
  359. [LoopUnroll] add test for full unroll that is sensitive to cost-model; NFC (details)
  360. [CostModel] add tests for math library calls; NFC (details)
  361. [AArch64] Out-of-line atomics (-moutline-atomics) implementation. (details)
  362. [ARM] Disable WLSTP loops (details)
  363. Add documentation illustrating use of IgnoreUnlessSpelledInSource (details)
  364. Add a call super attribute plugin example (details)
  365. [AArch64] Enable post RA scheduler for Cortex-R82 (details)
  366. [clang] Do not crash on pointer wchar_t pointer assignment. (details)
  367. [NFC intended] Refactor the code for printChanged for reuse and to facilitate subsequent reporters of changes to the IR in the new pass manager. (details)
  368. [clang-tidy] Include std::basic_string_view in readability-redundant-string-init. (details)
  369. [CostModel] avoid crashing while finding scalarization overhead (details)
  370. Reland: Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug. (details)
  371. [SLP][Test] Update pr47269.ll test. NFC (details)
  372. [libc] Combine all math differential fuzzers into one target. (details)
  373. Add a default address space for globals to DataLayout (details)
  374. [AMDGPU] Set the default globals address space to 1 (details)
  375. [X86] Add SSE42 sat-add test coverage (details)
  376. [CostModel] mostly remove cost-kind predicate for intrinsics in basic TTI implementation (details)
  377. [flang][driver] Remove unnecessary CMake dependencies (nfc) (details)
  378. [X86][SSE] LowerADDSAT_SUBSAT - avoid X86ISD::BLENDV in UADDSAT/USUBSAT custom lowering (details)
  379. [DeadMachineInstrctionElim] Post order visit all blocks and Iteratively run DeadMachineInstructionElim pass until nothing dead (details)
  380. [mlir] Expose parseDimAndSymbolList from affineops.h (details)
  381. [Hexagon][NewPM] Port -hexagon-loop-idiom and add to pipeline (details)
  382. [lldb] Add examples and reword source-map help string (details)
  383. [mlir] add canonicalization patterns for trivial SCF 'for' and 'if' (details)
  384. [SelectionDAG][X86][PowerPC][Mips] Replace the default implementation of LowerOperationWrapper with the X86 and PowerPC version. (details)
  385. [libTooling] Update Transformer's `node` combinator to include the trailing semicolon for decls. (details)
  386. [MLIR] Correct block merge bug (details)
  387. [X86][AVX] LowerADDSAT_SUBSAT - avoid X86ISD::BLENDV in UADDSAT/USUBSAT v8i32/v4i64 lowering (details)
  388. [RISCV] Add RISCVISD::ROLW/RORW use those for custom legalizing i32 rotl/rotr on RV64IZbb. (details)
  389. Update OptionComparison.md (details)
  390. [CSSPGO] IR intrinsic for pseudo-probe block instrumentation (details)
  391. [RISCV] Custom type legalize i32 bswap/bitreverse to GREVIW on RV64 with Zbp extension (details)
  392. [CSSPGO] MIR target-independent pseudo instruction for pseudo-probe intrinsic (details)
  393. OpaquePtr: Bulk update tests to use typed byval (details)
  394. [OPENMP]Honor constantness of captured variables. (details)
  395. [RISCV] Remove RV32 HwMode. Use DefaultMode for RV32 (details)
  396. [OPENMP]Use the real pointer value as base, not indexed value. (details)
  397. [clangd] semanticTokens: fields are 'property', not 'member' (details)
  398. [mlir][vector] Add transfer_op LoadToStore forwarding and deadStore optimizations (details)
  399. [RISCV] Put RV32 before RV64 in the ValueTypeByHwMode and RegInfoByHwMode lists in RISCVRegisterInfo.td (details)
  400. Guard init_priority attribute within libc++ (details)
  401. Revert "[lldb] add a missing dependency on intrinsics_gen" (details)
  402. [msan] unpoison_file from fclose and fflash (details)
  403. [SLP][NFC]Fix assert condition in newTreeEntry, NFC. (details)
  404. Demangling support for class type non-type template parameter extensions. (details)
  405. [AArch64][GlobalISel] Make G_EXTRACT_VECTOR_ELT of <2 x p0> legal. (details)
  406. [CSSPGO][llvm-profgen] Parse mmap events from perf script (details)
  407. [CSSPGO][llvm-profgen] Disassemble text sections (details)
  408. [CSSPGO][llvm-profgen] Instruction symbolization (details)
  409. OpaquePtr: Bulk update tests to use typed sret (details)
  410. Don’t break before nested block param when prior param is not a block (details)
  411. [libc] Switch functions to using global headers (details)
  412. [libc] Make more of the libc unit testing llvm independent (details)
  413. [llvm-profgen][NFC]Fix build failure on different platform (details)
  414. [hwasan] Implement error report callback. (details)
  415. [mlir][sparse] refine optimization, add few more test cases (details)
  416. [flang][openacc] Add clause validity tests for the parallel directive (details)
  417. OpaquePtr: Update more tests to use typed sret (details)
  418. Verifier: Fix assert when verifying non-pointer byval or preallocated (details)
  419. [flang][openacc] Add clause validity tests for the host_data directive (details)
  420. Revert "Revert "[libc++] ADL-proof <vector> by adding _VSTD:: qualification on calls."" (details)
  421. [Analysis] Use llvm::is_contained (NFC) (details)
  422. AMDGPU: Fix counting kernel arguments towards register usage (details)
  423. OpaquePtr: Make byval/sret types mandatory (details)
  424. [mac/arm] Fix clang/test/Sema/wchar.c on mac/arm hosts (details)
  425. [mac/arm] Fix test/Driver/darwin-sdk-version.c on arm macs (details)
  426. [VE][NFC] Update missing bulk update tests to use typed sret (details)
  427. [NFC][AMDGPU] Document kernel descriptor (details)
  428. GitHub Actions: Add job for automatically updating the main branch (details)
  429. [VE] Correct types of return/argument values for getAdjustedFrameSize() (details)
  430. [VE][NFC] Modify function order and simplify comments (details)
  431. [mlir] Add microbenchmark for linalg+async-parallel-for (details)
  432. [mlir] AsynToLLVM: do no use op->getOperands() in conversion patterns (details)
  433. [flang][openmp] Fix bug in `OmpClause::Hint` clause which was missing to generate inside in OMP.cpp.inc file. (details)
  434. [mlir] Fix async microbench integration test (details)
  435. [NFC, Refactor] Modernize enum FunctionDefinitionKind (DeclSpech.h) into a scoped enum (details)
  436. [TableGen] [ISel Matcher Emitter] Rework with two passes: one to size, one to emit (details)
  437. [lldb] Reland "Use translated full ftag values" (details)
  438. [BasicAA] Add recphi test with dynamic offset (NFC) (details)
  439. [Flang][OpenMP][NFC][2/2] Reorder OmpStructureChecker and simplify it. (details)
  440. [X86] Regenerate vector-reduce-or-cmp.ll (details)
  441. DominanceFrontier - remove unused <vector> includes (details)
  442. MachineDominators.h - remove unused <vector> include (details)
  443. [X86] Include %rip for 32-bit RIP-relative relocs for x32 (details)
  444. [BasicAA] Remove stale FIXME (NFC) (details)
  445. [flang][openmp] Separate memory-order-clause parser creating OmpClause node (details)
  446. [NFC] Fix typo in atomic (details)
  447. [BasicAA] Remove some intermediate variables (NFC) (details)
  448. [BasicAA] Return DecomposedGEP (NFC) (details)
  449. [compiler-rt] [profile] Silence a warning about an unused function on mingw targets (details)
  450. [BasicAA] Remove unnecessary sextOrSelf (NFC) (details)
  451. [libunwind] Delete unused handlerNotFound in unwind_phase1 (details)
  452. Fix shared build. (details)
  453. [InstCombine] Use is_contained (NFC) (details)
  454. [StaticAnalyzer] Support struct annotations in FuchsiaHandleChecker (details)
  455. [llvm][clang][mlir] Add checks for the return values from Target::createXXX to prevent protential null deref (details)
  456. thinlto_embed_bitcode.ll: clarify grep should treat input as text (details)
  457. [SelectionDAG] Remove unused declaration ExpandStrictFPOp (NFC) (details)
  458. [MachineLICM] Remove unused declaration HoistRegion (details)
  459. Add Semantic check for Flang OpenMP 4.5 - 2.15.3.2 and 2.15.3.3 shared and private clause (details)
  460. [MBP] Remove unused declaration shouldPredBlockBeOutlined (NFC) (details)
  461. [PowerPC] Extend folding RLWINM + RLWINM to post-RA. (details)
  462. [RISCV] Use separate Lo and Hi MemOperands when expanding BuildPairF64Pseudo and SplitF64Pseudo. (details)
  463. [clangd] Add clang-tidy options to config (details)
  464. [Analysis] Remove unused system header includes (details)
  465. [clangd] Fix compile error after 20b69af7 (details)
  466. [DAG] LowerMINMAX - move default expansion to generic TargetLowering::expandIntMINMAX (details)
  467. Add Semantic check for Flang OpenMP 4.5 - 2.7.1 ordered and collapse clause (details)
  468. [libc++] [libc++abi] Use C++20 standard. (details)
  469. [BasicAA] Add more phi-phi tests (NFC) (details)
  470. [ValueTracking][MemCpyOpt] avoid crash on inttoptr with vector pointer type (PR48075) (details)
  471. [CostModel] add tests for FP maximum; NFC (details)
  472. [CostModel] add basic handling for FP maximum/minimum intrinsics (details)
  473. [BasicAA] Avoid unnecessary cache update (NFC) (details)
  474. [Sema] Introduce function reference conversion, NFC (details)
  475. Build reproducible tarballs for releases (details)
  476. [clangd] Introduce config parsing for External blocks (details)
  477. [clangd] Introduce config compilation for External blocks (details)
  478. [clangd] Introduce ProjectAwareIndex (details)
  479. [clangd] Use ProjectAwareIndex in ClangdMain (details)
  480. [clangd] Fix use-after-free in ProjectAwareIndex tests (details)
  481. [mlir][Python] Support finding pybind11 from the python environment. (details)
  482. [gn build] sort of merge 37ac559fccd4 (details)
  483. [gn build] Port 067ffbfe601 (details)
  484. [ARM] MVE VABD tests. NFC (details)
  485. [gn build] (manually) port ed424b428 (details)
  486. [ARM] Ensure MVE_TwoOpPattern is used inside Predicate's (details)
  487. [Clang] Add __STDCPP_THREADS__ to standard predefine macros (details)
  488. [MLIR] ODS typedef gen fixes & improvements (details)
  489. [hwasan] Remove unused declaration shadowBase (NFC) (details)
  490. [ValueMapper] Remove unused declaration remapFunction (NFC) (details)
  491. [CodeGen] Use pred_empty (NFC) (details)
  492. [NFC] Reduce code duplication in binop processing in computeExitLimitFromCondCached (details)
  493. [llvm-readobj] - Don't crash when relocation table goes past the EOF. (details)
  494. [libc++] [www] Mark P0482 as "In Progress", as some parts of it are already implemented. (details)
  495. [clangd] Attempt at fixing ExternalIndex tests on windows (details)
  496. [lldb] [Process/FreeBSD] Add missing 'override' kws to POSIXStopInfo (details)
  497. [lldb] [Process/Utility] Declare register overlaps between ST and MM (details)
  498. [lldb] [test] Fix qRegisterInfo lldb-server tests to handle missing registers (details)
  499. [lldb] [Process/FreeBSDRemote] Fix regset names and related tests (details)
  500. [clang-tidy] Fix a nullptr-access crash in unused-raii-check. (details)
  501. [lldb] Prevent 'process connect' from using local-only plugins (details)
  502. [LoopFlatten] Widen IV, support ZExt. (details)
  503. [DebugInfo] Refactor code for emitting DWARF expressions for FP constants (details)
  504. [clangd] Second attempt at fixing windows buildbots (details)
  505. [llvm-readobj] - Stop using `unwrapOrError` in `DumpStyle<ELFT>::getGroups()` (details)
  506. [SCEV] Fix incorrect treatment of max taken count. PR48225 (details)
  507. [llvm-readelf/obj] - Fix the possible crash when dumping group sections. (details)
  508. [AST] Build recovery expression by default for all language. (details)
  509. [mlir][Linalg] NFC - Factor out Linalg functionality for shape and loop bounds computation (details)
  510. [clangd] Implement Decl canonicalization rules for rename (details)
  511. [AArch64][SVE] Allow lax conversion between VLATs and GNU vectors (details)
  512. [clangd] Get rid of clangToolingRefactoring dependency (details)
  513. [APInt] Add the truncOrSelf resizing operator to APInt (details)
  514. [clangd] testPath's final result agrees with the passed in Style (details)
  515. [VE][NFC] Clean stack frame description (details)
  516. [VE] Clean canRealignStack implementation (details)
  517. Revert "[clangd] testPath's final result agrees with the passed in Style" (details)
  518. [mlir][Linalg] Drop symbol_source abstraction which does not pay for itself. (details)
  519. [AMDGPU][MC] Improved diagnostic messages for invalid literals (details)
  520. [clangd] textDocument/implementation (LSP layer) (details)
  521. [mlir] Avoid cloning ops in SCF parallel conversion to CFG (details)
  522. Ignore noderef attribute in unevaluated context (details)
  523. [AMDGPU][MC] Improved diagnostic messages (details)
  524. [llvm-readobj][test] - Simplify the gnu-notes.test (details)
  525. [lldb] [test] Restore Windows-skip on 'process connect' tests (details)
  526. [Inline] Fix in handling of ptrtoint in InlineCost (details)
  527. [mlir] canonicalize away zero-iteration SCF for loops (details)
  528. [test] Update PR reference in testcase [NFC] (details)
  529. Remove automatic traversal from forEach matcher (details)
  530. Update mode used in traverse() examples (details)
  531. Remove the IgnoreImplicitCastsAndParentheses traversal kind (details)
  532. Fix speling in comments. NFC. (details)
  533. [VE] Remove magic numbers 176 (details)
  534. [mlir] Add a print function for memref<*xi64>. (details)
  535. Fix tests for clang-query completion (details)
  536. [mlir] Temporarily disable flaky mlir-cpu-runner async tests (details)
  537. [VE] VE Vector Predicated SDNode, vector add isel and tests (details)
  538. [TableGen] Eliminte source location from CodeInit (details)
  539. [AArch64] Add tests for masked.gather costs. (details)
  540. Add userData to the diagnostic handler C API (details)
  541. [mac/arm] make clang/test/Driver/clang_f_opts.c pass consistently (details)
  542. [SelectionDAG][ARM][AArch64][Hexagon][RISCV][X86] Add SDNPCommutative to fma and fmad nodes in tablegen. Remove explicit commuted patterns from targets. (details)
  543. [mlir][Linalg] Fuse sequence of Linalg operation (on buffers) (details)
  544. [mac/arm] fix clang/test/Driver/darwin-ld-dedup.c (details)
  545. [mlir][Linalg] NFC: Expose some utility functions used for promotion. (details)
  546. [AArch64] Add scatter cost model tests. (details)
  547. [NFC] remove print statement I accidentally added. (details)
  548. [AArch64] Update clang CodeGen tests I missed in 4252f7773a5b98b825d17e5f77c7d349cb2fb7c7. (details)
  549. [ms] [llvm-ml] Support macro function invocations in expressions (details)
  550. [llvm-elfabi] Emit ELF header and string table sections (details)
  551. [test] Pin tests using -dot-callgraph to legacy PM (details)
  552. [AIX] Support init priority (details)
  553. [CGSCC] Detect devirtualization in more cases (details)
  554. [test] Pin memory-dereferenceable.ll to legacy PM (details)
  555. Port -print-memderefs to NPM (details)
  556. Revert "[llvm-elfabi] Emit ELF header and string table sections" (details)
  557. [ms] [llvm-ml] Support purging macro definitions (details)
  558. [clang-tidy] Fix RenamerClangTidy checks trying to emit a fix that isnt a valid identifier (details)
  559. [llvm-elfabi] Emit ELF header and string table sections (details)
  560. Make check-clang depend on the LLVM split-file utility (details)
  561. [mlir] Add mising dependency (details)
  562. [clang-tidy] Use compiled regex for AllowedRegexp in macro usage check (details)
  563. [lldb/test] Remove flaky `process connect` test. (details)
  564. [NPM] Share pass building options with legacy PM (details)
  565. Reapply "[CodeGen] [WinException] Only produce handler data at the end of the function if needed" (details)
  566. Revert "[CGSCC] Detect devirtualization in more cases" (details)
  567. APINotes: add property models for YAML attributes (details)
  568. [gn build] Port f6b02ecd027 (details)
  569. [InstCombine] propagate 'nsw' on pointer difference of 'inbounds' geps (details)
  570. Use MlirStringRef throughout the C API (details)
  571. [RISCV] Remove unused VM register class (details)
  572. [libcxx] Resolve LWG 2724 protected -> private. (details)
  573. [mlir] Support WsLoopOp in OpenMP to LLVM dialect conversion (details)
  574. [LoopVectorizer] Lower uniform loads as a single load (instead of relying on CSE) (details)
  575. [test] pre-comit test for D91451 (details)
  576. [llvm-symbolizer] Switch to using native symbolizer by default on Windows (details)
  577. [hwasan] Fix tests when vm.overcommit_memory=1. (details)
  578. Revert "[llvm-symbolizer] Switch to using native symbolizer by default on Windows" (details)
  579. [Clang][-fvisibility-from-dllstorageclass] Set DSO Locality from final visibility (details)
  580. Enable support for floating-point division reductions (details)
  581. fix some Wundef warnings in public headers (details)
  582. Fix signed integer overflow bug that's causing test failures with UBSan. (details)
  583. [clangd] Call hierarchy (XRefs layer, incoming calls) (details)
  584. [clangd] Call hierarchy (ClangdServer layer) (details)
  585. [clangd] Call hierarchy (ClangdLSPServer layer) (details)
  586. [clangd] Use WorkScheduler.run() in ClangdServer::resolveTypeHierarchy() (details)
  587. [gn build] Port 3e6e6a2db67 (details)
  588. [lldb] Add platform select to TestProcessConnect.py (details)
  589. [LLDB] Fix typo in RegisterContextPOSIXProcessMonitor_arm64 (details)
  590. [gn build] modify hotfix in 17df195f705cef76a9 to work with all enabled targets (details)
  591. [libunwind] Multiple preprocessor fixes on PowerPC* (details)
  592. [Driver] Enable getOSLibDir() lib32 workaround for SPARC on Linux (details)
  593. [CMake] Unify LLVM_LINKER_IS_GOLD -Wl,--gc-sections setting with GNU ld and LLD (details)
  594. [LoopVec] Reuse a lambda [NFC] (details)
  595. [FunctionAttrs][NPM] Fix handling of convergent (details)
  596. Reland [CGSCC] Detect devirtualization in more cases (details)
  597. [PowerPC] Pre-commit more tests for `select` codegen. NFC. (details)
  598. [GlobalISel][TableGen] Fix seg fault for zero instruction (details)
  599. [AArch64][GlobalISel] Make <2 x p0> of G_SHUFFLE_VECTOR legal. (details)
  600. [AArch64][GlobalISel] Add pre-isel lowering to convert p0 G_DUPs to use s64. (details)
  601. [test] Fix gvn-inline-iteration.ll under NPM (details)
  602. Revert "[DebugInfo] Refactor code for emitting DWARF expressions for FP constants" (details)
  603. [LLD] [COFF] Allow wrapping dllimported functions (details)
  604. [mlir] Make attributes mutable in Python bindings (details)
  605. [llvm-elfabi] Emit ELF .dynsym, .dynamic sections (details)
  606. [mlir] move lib/Bindings/Python/Attributes.td to include/mlir/Bindings/Python (details)
  607. [clangd] Sort results of incomingCalls request by container name (details)
  608. [[lvm-readelf/obj] - Remove `tryGetSectionName` helper. (details)
  609. Add support for branch forms of ALU instructions to Cortex-A57 model (details)
  610. [llvm-readelf/obj] - Improve the error reporting in printStackSize(). (details)
  611. [llvm-readelf/obj] - Refine the implementation of `printGNUVersionSectionProlog` (details)
  612. [DAGCombine][PowerPC] Convert negated abs to trivial arithmetic ops (details)
  613. [SchedModels] Limit set of predicates seen by mutuallyExclusive (details)
  614. [libc++] [www] Fix HTML. NFC. (details)
  615. [OpenMP] fix asm code for for arm64 (AARCH64) for Darwin/macOS (details)
  616. [mlir][linalg] Add bufferization pattern for `linalg.indexed_generic`. (details)
  617. [SchedModels] Improve diagnostics. NFC (details)
  618. Revert "[NFC][SCEV] Generalize monotonicity check for full and limited iteration space" (details)
  619. [mlir] AsyncRuntime: fix concurrency bugs + fix exports in methods definitions (details)
  620. [IR] Constant::getAggregateElement - early-out for ScalableVectorType (details)
  621. [clangd] Fix shared-lib builds (details)
  622. [RISCV] Combine GREVI sequences (details)
  623. [MLIR] Fix TableGen generator for attribute interfaces. (details)
  624. [docs] Try to make this bullet list in ThinLTO.rst actually be a bullet list (details)
  625. [HIP] Fix regressions due to fp contract change (details)
  626. [LV] Keep Primary Induction alive when folding tail by masking (details)
  627. clang+lld: Improve clang+ld.darwinnew.lld interaction, pass -demangle (details)
  628. [mlir] NFC - Expose an OffsetSizeAndStrideOpInterface (details)
  629. [MC][ARM] Fix number of operands of tMOVSr (details)
  630. [NFC][AIX][XCOFF] change function name from getNumofGPRsSaved to getNumOfGPRsSaved (details)
  631. [llvm-mca] Fix processing thumb instruction set (details)
  632. Fix driver test from e16c0a9a689719 (details)
  633. [clangd] Mention when CXXThis is implicit in exposed AST. (details)
  634. [libc++] Remove _LIBCPP_CONSTEXPR_AFTER_CXX17_WITH_IS_CONSTANT_EVALUATED. (details)
  635. lld: Fix darwinnew symlink name added in e16c0a9a68971 (details)
  636. [clang-offload-bundler] use std::forward_list for storing temp file names [NFC] (details)
  637. clang: Pass -platform-version to new MachO LLD (details)
  638. [PowerPC] dyn_cast should be dyn_cast_or_null in MASSV pass (details)
  639. [lld/mac] Implement basic typo correction for flags (details)
  640. [libcxx] Implement P1956 rename low-level bit functions (details)
  641. Add support for STRICT_FSETCC promotion (details)
  642. [test] Merge parallel_region_merging{,_legacy_pm}.ll (details)
  643. Clear NewGEPBases after finish using them in CodeGenPrep pass (details)
  644. [NFC][tests] Replace non-portable grep with FileCheck (details)
  645. [libc++] NFC: Fix confusing indentation in <numeric> (details)
  646. [mlir] Add Tosa dialect const folder for tosa.const. (details)
  647. [PowerPC][PCRelative] Add new pseudo instructions for PCRel TLS to fix R2 clobber issue (details)
  648. [ThinLTO/WPD] Enable -wholeprogramdevirt-skip in ThinLTO backends (details)
  649. Fix CalibratedQuantizedType's print function to match parser (details)
  650. [AMDGPU] Add a TRANS bit to TSFlags. NFC. (details)
  651. [Driver] Default Generic_GCC aarch64 to -fasynchronous-unwind-tables (details)
  652. [mlir][Python] Fix the last remaining instance of PYTHON_EXECUTABLE. (details)
  653. [clangd] AddUsing: Used spelled text instead of type name. (details)
  654. [HardwareLoops] Change order of SCEV expression construction for InitLoopCount. (details)
  655. [test] Fix rtf_type_checking.ll under NPM (details)
  656. [DSE] Precommit test case for PR48279. (details)
  657. [test] Pin parallel_deletion_cg_update.ll to legacy PM (details)
  658. [LoopVec] Add a minor clarifying comment (details)
  659. [InstCombine] add tests for gep math; NFC (details)
  660. [InstCombine] add tests for sub of muls; NFC (details)
  661. [InstCombine] try difference-of-shifts factorization before negator (details)
  662. [clangd] Add more trace spans for rename, NFC. (details)
  663. [mlir][Python] Sync Python bindings with C API MlirStringRef modification. (details)
  664. [mlir] NFC - Refactor and expose a parsing helper for OffsetSizeAndStrideInterface (details)
  665. [test] Clean up ppc-features.cpp and improve tests (details)
  666. [mlir] NFC - Refactor and expose a helper printOffsetSizesAndStrides helper function. (details)
  667. Avoid redundant work when computing vtable vcall visibility (details)
  668. [libc++] [P0482] [C++20] Implement missing bits for atomic (details)
  669. [mlir] Add conversion from SCF parallel loops to OpenMP (details)
  670. [PowerPC] Don't reuse an illegal typed load for int_to_fp conversion. (details)
  671. [mlir][sparse] generalize invariant expression handling in sparse compiler (details)
  672. [mlir] Remove SameOperandsAndResultShape when redundant with ElementwiseMappable (details)
  673. [RISCV] Add GHC calling convention (details)
  674. [clangd] Addusing tweak: find insertion point after definition (details)
  675. [OpenMP50][DOCS] Mark target data non-contiguous as done, NFC. (details)
  676. [SelectionDAG] Avoid aliasing analysis if the object size is unknown. (details)
  677. [gn build] Port 8d06a678a5c (details)
  678. Revert "[RISCV] Add GHC calling convention" (details)
  679. [RISCV] Add GHC calling convention (details)
  680. [ASTImporter] Make the Import() return value consistent with the map of imported decls when merging ClassTemplateSpecializationDecls (details)
  681. [RISCV] Set __GCC_HAVE_SYNC_COMPARE_AND_SWAP_x defines (details)
  682. [MC/AsmParser] Fix use of Arm calling convention in target-agnostic test (details)
  683. [mlir] use STATUS instead of CHECK_* in MLIRDetectPythonEnv.cmake (details)
  684. [AIX] Add mabi=vec-extabi options to enable the AIX extended and default vector ABIs. (details)
  685. [SelectionDAG] Add PseudoProbeSDNode to LargestSDNode to fix 32-bt build break. (details)
  686. [LAA] Minor code style tweaks [NFC] (details)
  687. [Sanitizer][RISCV] Fix redefinition of REG_SP (details)
  688. Fix mangling of substitutions for template-prefixes. (details)
  689. [lld] Add --no-lto-whole-program-visibility (details)
  690. Treat a placeholder type for class template argument deduction as (details)
  691. [mlir][sparse] add parallelization strategies to sparse compiler (details)
  692. [clang-tidy] Support IgnoredRegexp configuration to selectively suppress identifier naming checks (details)
  693. Fix compilation issue reported by MSVC user on cfe-dev (details)
  694. DebugInfo: Add some missing explicit target triples. (details)
  695. [PowerPC][FP128] Fix the incorrect calling convention for IEEE long double on Power8 (details)
  696. DebugInfo: Remove llc_dwarf usage from tests already relying on a target triple in the IR (details)
  697. Make CallInst::updateProfWeight emit i32 weights instead of i64 (details)
  698. [SCEV] Use isa<> pattern for testing for CouldNotCompute [NFC] (details)
  699. Don't assume the clang binary name contains the string "clang". (details)
  700. [NFC][Test] Format the test for IEEE Long double (details)
  701. Try to fix tests after e16c0a9a68971 with CLANG_DEFAULT_LINKER=lld (details)
  702. [PPC][AIX] Add vector callee saved registers for AIX extended vector ABI (details)
  703. [DAG][PowerPC] Fix dropped `nsw` flag in `SimplifySetCC` by adding `doesNodeExist` helper (details)
  704. [IndVars] Use more precise context when eliminating narrowing (details)
  705. [NewPM] Add pipeline EP callback after initial frontend cleanup (details)
  706. [DAGCombine] Add hook to allow target specific test for sqrt input (details)
  707. Revert "[SCEV] Generalize no-self-wrap check in isLoopInvariantExitCondDuringFirstIterations" (details)
  708. [CHR] Use pred_size (NFC) (details)
  709. [PowerPC] Probe the gap between stackptr and realigned stackptr (details)
  710. [NFC][ARM][PhaseOrdering] Add one more test for D91800: LoopIdiom should be before IndVars (details)
  711. [llvm-readelf/obj] - Deduplicate the logic that prints notes. NFCI. (details)
  712. [VPlan] Turn VPReductionRecipe into a VPValue (details)
  713. [VPlan] Switch VPWidenRecipe to be a VPValue (details)
  714. [llvm-readobj] - An attempt to fix BB after D92018. (details)
  715. [clangd] Avoid type hierarchy crash on incomplete type (details)
  716. [SchedModels] Return earlier removed checks (details)
  717. [obj2yaml] - Dump section offsets in some cases. (details)
  718. [clangd] Add metrics for invalid name. (details)
  719. [libObject,llvm-readelf] - Stop describing a section/segment in `notes_begin()`. (details)
  720. [ORC] Remove a superfluous semicolon, silencing GCC warnings. NFC. (details)
  721. [ORC] Cast to const void* to silence a GCC warning. NFC. (details)
  722. [clang][SVE] Activate macro `__ARM_FEATURE_SVE_VECTOR_OPERATORS`. (details)
  723. [OpenCL] Move kernel arg type tests into one file (details)
  724. [clangd] Fix a tsan failure. (details)
  725. [VPlan] Add VPReductionSC to VPUser::classof, unify VPValue IDs. (details)
  726. [clangd] Extract common file-caching logic from ConfigProvider. (details)
  727. [gn build] Port d95db1693cb (details)
  728. [SVE][CodeGen] Add a DAG combine to extend mscatter indices (details)
  729. DetectDeadLanes.cpp - remove unused headers. NFCI. (details)
  730. SemaExpr.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  731. CGCall.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  732. TargetInfo.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  733. SemaExpr.cpp - use castAs<> instead of getAs<> as we dereference the pointer directly. NFCI. (details)
  734. [ARM][AArch64] Adding Neoverse N2 CPU support (details)
  735. [clangd] Use TimePoint<> instead of system_clock::time_point, it does matter after all. (details)
  736. [libc++] P1645 constexpr for <numeric> (details)
  737. [llvm-readelf/obj] - Stop using `reportError` when dumping notes. (details)
  738. Fix a typo in the documentation to unbreak the sphinx builder. (details)
  739. Revert "[libc++] P1645 constexpr for <numeric>" (details)
  740. [LAA] NFC: Rename [get]MaxSafeRegisterWidth -> [get]MaxSafeVectorWidthInBits (details)
  741. [clangd] PopulateSwitch: disable on dependent enums. (details)
  742. [libc++] ADL-proof <variant> by adding _VSTD:: qualification on calls. (details)
  743. Fix case mismatch between definition and declaration (details)
  744. [PowerPC] Regenerate vec_select.ll tests and add <1 x i128> test case (details)
  745. [DAG] Legalize abs(x) -> smax(x,sub(0,x)) iff smax/sub are legal (details)
  746. [flang][openacc] Semantic check for cache directive (details)
  747. [AMDGPU] Emit stack frame size in metadata (details)
  748. [WebAssembly] Factor out WasmTableType in binary format (details)
  749. [PassManager] Run Induction Variable Simplification pass *after* Recognize loop idioms pass, not before (details)
  750. [MC][WebAssembly] Only emit indirect function table import if needed (details)
  751. [AMDGPU] Actually fully update opt-pipeline.ll test to account for -loop-idiom vs -indvars switch (details)
  752. [ELF] Add TargetInfo::adjustGotPcExpr for `R_GOT_PC` relaxations. NFC (details)
  753. [SVE] Fix TypeSize warning in RuntimePointerChecking::insert (details)
  754. [ELF] Rename adjustRelaxExpr to adjustTlsExpr and delete the unused `data` parameter. NFC (details)
  755. [clang][test] Fix prefix operator++ signature in iterators (details)
  756. [gn build] Download prebuilt mac-arm64 binary now that it exists (details)
  757. [OpenMP][OMPT] Implement verbose tool loading (details)
  758. [OpenMP][OMPT] Introduce a guard to handle OMPT return address (details)
  759. [OpenMP] libomp: fix non-X86, non-AARCH64 builds (details)
  760. [Flang][Docs] Update call information and add two more calls (details)
  761. [OpenMP][Docs] Add more content, call coordinates, FAQ entries, links (details)
  762. [RISCV] Custom type legalize i32 fshl/fshr on RV64 with Zbt. (details)
  763. [FastISel] Flush local value map on ever instruction (details)
  764. [DAG] Legalize abs(x) -> umin(x,sub(0,x)) iff umin/sub are legal (details)
  765. [clangd] Implement clang-tidy options from config (details)
  766. [gn build] Port 73fdd998701 (details)
  767. [CostModel][X86] Refresh ISD::ABS costs (details)
  768. Remove static function unused after cf1c774. (details)
  769. [RISCV] Add test cases showing that we don't recognize the select form of NABS in SelectionDAGBuilder so we end up with branches. NFC (details)
  770. [Hexagon] Add support for ISD::SMAX/SMIN/UMAX/UMIN instead of custom dag patterns (details)
  771. [MS] Fix double evaluation of MSVC builtin arguments (details)
  772. [MS] Add more 128bit cmpxchg intrinsics for AArch64 (details)
  773. [MLIR][Affine] Add custom builders for AffineVectorLoadOp/AffineVectorStoreOp (details)
  774. [clangd] Track deprecation of 'member' semantic token type in LSP. (details)
  775. [libc++] Factor out common logic for calling aligned allocation (details)
  776. [RISCV] Make SMIN/SMAX/UMIN/UMAX legal with Zbb extension. (details)
  777. [RISCV] Add test cases to check that we use (smax X, (neg X)) for abs with Zbb extension. (details)
  778. [mlir] Add build configuration for Quant unittest (details)
  779. [ms] [llvm-ml] Implement the expression expansion operator (details)
  780. [libc++] NFC: Reindent non-lockfree-atomics feature (details)
  781. DebugInfo: remove unnecessary mtriple from test/DebugInfo/X86/abstract_origin.ll (details)
  782. github actions: Use llvmbot token for main branch sync (details)
  783. [SelectionDAGBuilder] Add SPF_NABS support to visitSelect (details)
  784. [RISCV] Add an implementation of isFMAFasterThanFMulAndFAdd (details)
  785. [NFC] Fix pattern name. (details)
  786. Revert builtins fp16 support: tests do not pass on Mac (details)
  787. [CodeView] Avoid emitting empty debug globals subsection. (details)
  788. Refactor and simplify class scope name lookup. (details)
  789. Adding PoisonValue for representing poison value explicitly in IR (details)
  790. Part of C++ DR 39: a class member lookup is not ambiguous if it finds the (details)
  791. [gn build] (manually) port b534beabeed3ba (details)
  792. [mlir][sparse] add ability to select pointer/index storage type (details)
  793. [clangd] Collect main file refs by default (details)
  794. [gn build] sync script: handle multiple source lists if only deleting (details)
  795. [gn build] sync script: only compute tokloc when adding files (details)
  796. [gn build] sync script: try to make a loop clearer (details)
  797. [lld][WebAssembly] Ensure stub symbols always get address 0 (details)
  798. [mlir][Python] Add additional capsule interop types. (details)
  799. [LoopLoadElim] Make sure all loops are in simplify form. PR48150 (details)
  800. [LegalizerTypes] Add support for scalarizing the operand of an FP_EXTEND when the result type is legal. (details)
  801. [RISCV] Remove unused PatFrag argument from the tablegen class used for c.beqz/c.bnez. NFC (details)
  802. [IndVars] Use isLoopBackedgeGuardedByCond for last iteration check (details)
  803. [RISCV] Add isel pattern to match (i64 (sra (shl X, 32), C)) to SRAIW if C > 32. (details)
  804. [SCEV] Use isKnownPredicateAt in isLoopBackedgeGuardedByCond (details)
  805. [llvm-readobj] - Fix a warning. (details)
  806. [Support] Use llvm::is_contained (NFC) (details)
  807. [libc++] [libc++abi] Mark a few tests as unsupported/xfail on gcc-7/8/9. (details)
  808. [OpenMP][OMPT] Fix building with OMPT disabled after 6d3b81664a4b79 (details)
  809. [libc++] [www] Fix HTML. NFC. (details)
  810. Fix use-of-uninitialized-value in rG75f50e15bf8f (details)
  811. [clangd] Do not treat line as inactive if skipped range ends at character position 0 (details)
  812. [lldb] Fix TestThreadStepOut.py after "Flush local value map on every instruction" (details)
  813. [libc++] [docs] Migrate C++ status pages to RestructuredText (RST). (details)
  814. [AMDGPU] Introduce and use isGFX10Plus. NFC. (details)
  815. [libc++] [P0966] [C++20] Fix bug PR45368 by correctly implementing P0966: string::reserve should not shrink. (details)
  816. [libc++] Fix gcc warning -Wsign-compare. (details)
  817. [NFC][libc++] Mark LWG3296 as complete. (details)
  818. Revert "[SCEV] Use isKnownPredicateAt in isLoopBackedgeGuardedByCond" (details)
  819. [llvm-profgen] [docs] Fix invalid header. Add to ToC. NFC. (details)
  820. [RISCV] Add test cases for missed opportunities to use sbsetw/sbclrw/sbinvw when the result isn't known to be sign extended. (details)
  821. [RISCV] Add isel patterns for sbsetw/sbclrw/sbinvw with sext_inreg as the root. (details)
  822. [SCEV] Use isBasicBlockEntryGuardedByCond in isLoopBackedgeGuardedByCond (details)
  823. [llvm-readelf/obj] - Report a warning when the value of the DT_PLTREL dynamic tag is invalid. (details)
  824. Revert "[SCEV] Use isBasicBlockEntryGuardedByCond in isLoopBackedgeGuardedByCond" (details)
  825. Return "[SCEV] Use isBasicBlockEntryGuardedByCond in isLoopBackedgeGuardedByCond", 2nd try (details)
  826. [X86] Fix -DAG checks on gnux32 pic tests (details)
  827. Revert "Return "[SCEV] Use isBasicBlockEntryGuardedByCond in isLoopBackedgeGuardedByCond", 2nd try" (details)
  828. [SVE][CodeGen] Extend isConstantSplatValue to support ISD::SPLAT_VECTOR (details)
  829. [libc++] Mark a few more tests as unsupported on gcc-8/9. (details)
  830. [clang][Driver] Handle risvc in Baremetal.cpp. (details)
  831. [CostModel] Add basic implementation of getGatherScatterOpCost. (details)
  832. [X86] Extend neg-abs test coverage (details)
  833. [clangd][query-driver] Extract target (details)
  834. [mlir][bufferize] Add argument materialization for bufferization (details)
  835. [VE] Add comprehensive stackframe tests (details)
  836. [AArch64][CostModel] Precommit some vector mul tests. NFC. (details)
  837. [IndVarSimplify] Fix Modified status when handling dead PHI nodes (details)
  838. [mlir][linalg] Mark linalg.yield as ReturnLike (details)
  839. [VPlan] Turn VPReplicateRecipe into a VPValue. (details)
  840. [ASTImporter] Import the default argument of TemplateTemplateParmDecl (details)
  841. [LiveDebugVariables] Strip all debug instructions from nodebug functions (details)
  842. [clang][cli] Port Target option flags to new option parsing system (details)
  843. Remove stray debug-only from test (details)
  844. [DAG] Legalize umin(x,y) -> sub(x,usubsat(x,y)) and umax(x,y) -> add(x,usubsat(y,x)) iff usubsat is legal (details)
  845. Revert rG12d59b696b330 "[DAG] Legalize umin(x,y) -> sub(x,usubsat(x,y)) and umax(x,y) -> add(x,usubsat(y,x)) iff usubsat is legal" (details)
  846. [ARM] Cleanup for the MVETailPrediction pass (details)
  847. [AArch64] Regenerate min/max tests and add vXi64 umin/umax test coverage (details)
  848. [libc++] Fix two fr_FR locale tests on FreeBSD (details)
  849. [mlir][DialectConversion] Do not prematurely drop unused cast operations (details)
  850. [libc++] Attempt to fix spurious modules-related failures in the CI (details)
  851. [libc++] Remove sysctl-based implementation of thread::hardware_concurrency() (details)
  852. [ASTImporter] Import the default argument of TemplateTypeParmDecl (details)
  853. [AIX] Add support for non var_arg extended vector ABI calling convention on AIX (details)
  854. [MC] Set the unique id of .stack_sizes to the associated .text section's (details)
  855. [AA] Split up LocationSize::unknown() (details)
  856. [BPF][NewPM] Port bpf-adjust-opt to NPM and add it to pipeline (details)
  857. [X86] Regenerate i64-to-float.ll tests with avx512 coverage (details)
  858. [clangd] AddUsing: do not crash on non-namespace using decls. (details)
  859. [libc++] Fix the Homebrew tap to install Buildkite on macOS hosts (details)
  860. [libc++] Remove ABI lists for previous releases (details)
  861. [NFC][SimplifyCFG] Add statistic to `FoldBranchToCommonDest()` fold (details)
  862. [NFC][SimplifyCFG] Add test coverage for FoldBranchToCommonDest xform with live-out bonus instuctions (details)
  863. [SimplifyCFG] FoldBranchToCommonDest: lift use-restriction on bonus instructions (details)
  864. [llvmbuildectomy] Also include component groups in llvm-config --components list (details)
  865. Revert "[SimplifyCFG] FoldBranchToCommonDest: lift use-restriction on bonus instructions" (details)
  866. [libc++] Install missing package in the Dockerfile (details)
  867. [test] Fix runtime-pointer-checking-insert-typesize.ll under NPM (details)
  868. [BasicAA] Fix BatchAA results for phi-phi assumptions (details)
  869. [clangd] Fix use of system-installed GRPC after f726101b6240a6740b3c0926af759da5e7336f8a (details)
  870. [RISCV] Add isel patterns to use SBSET for (1 << X) by using X0 as the input. (details)
  871. [LangRef] Add poison constant (details)
  872. [InlineCost] Fix indentation (NFC) (details)
  873. [DAGCombine] Adding a hook to improve the precision of fsqrt if the input is denormal (details)
  874. [clangd] Add support for within-file rename of complicated fields (details)
  875. [IndVars] LCSSA Phi users should not prevent widening (details)
  876. [IR] Use llvm::is_contained and pred_size (NFC) (details)
  877. [Test] Add some more tests showing how we fail to widen IV (details)
  878. [RISCV] Don't remove (and X, 0xffffffff) from inputs when matching RISCVISD::DIVUW/REMUW to 64-bit DIVU/REMU. (details)
  879. [llvm-readelf/obj] - Stop calling `reportError` in `printArchSpecificInfo()`. (details)
  880. Revert "[DebugInfo] Improve dbg preservation in LSR." (details)
  881. [libc][Obvious] Fix typo in strnlen_test.cpp. (details)
  882. [mlir] Let ModuleTranslate propagate LLVM triple (details)
  883. [msan] Fix bugs when instrument x86.avx512*_cvt* intrinsics. (details)
  884. [mlir] Add gpu.allocate, gpu.deallocate ops with LLVM lowering to runtime function calls. (details)
  885. [MLIR][SCF] Find all innermost loops for parallel loop tiling (details)
  886. [NFC][SimplifyCFG] FoldBranchToCommonDest: add one more test with PHI (details)
  887. Reland [SimplifyCFG] FoldBranchToCommonDest: lift use-restriction on bonus instructions (details)
  888. [InstSimplify] Clarify use of FixedVectorType in SimplifySelectInst (details)
  889. [SVE] Add a couple of extra sizeless type tests (details)
  890. [ASTImporter] Import the default argument of NonTypeTemplateParmDecl (details)
  891. [LegacyPM] Remove unused undocumented parameter. NFC. (details)
  892. [LegacyPM] Avoid a redundant map lookup in setLastUser. NFC. (details)
  893. [libc] Fix typo in buildbot README.txt. (details)
  894. [X86] Regenerate extract-store.ll tests (details)
  895. [DAG] Legalize umin(x,y) -> sub(x,usubsat(x,y)) and umax(x,y) -> add(x,usubsat(y,x)) iff usubsat is legal (details)
  896. [SLP] Dump Tree costs. NFC. (details)
  897. [ARM] MVE qabs vectorization test. NFC (details)
  898. [obj2yaml] - Don't assert when trying to calculate the expected section offset. (details)
  899. [libc++] [docs] Exclude helper files from Sphinx configuration to avoid generating empty pages. (details)
  900. [obj2yaml] - Dump the `EShNum` key in some cases. (details)
  901. [mlir] Fix typos and broken links in LangRef (details)
  902. [OpenCL] Check for extension string extension lookup (details)
  903. [AArch64][SLP] Precommit tests which would be better not to SLP vectorize. NFC. (details)
  904. Revert "[ASTMatchers] Matcher macros with params move params instead of copying" (details)
  905. Don't elide splat attributes during printing (details)
  906. [AIX] Enabling vector type arguments and return for AIX (details)
  907. [TableGen][SchedModels] Get rid of hasVariant. NFC (details)
  908. [libc++] Replace several uses of 0 by nullptr (details)
  909. [libc++] Formalize what configurations are covered by the ABI lists (details)
  910. [libomptarget][cuda] Detect missing symbols in plugin at build time (details)
  911. [Hexagon] Add HVX support for ISD::SMAX/SMIN/UMAX/UMIN instead of custom dag patterns (details)
  912. [X86] Add AVX2/AVX512 test coverage in sat-add.ll (details)
  913. [AllocaInst] Update `getAllocationSizeInBits` to return `TypeSize`. (details)
  914. [libc++] Introduce an indirection to create threads in the test suite (details)
  915. [VPlan] Use VPTransformState::set in widenGEP. (details)
  916. TargetProcessControl.cpp - Remove warning: extra ‘;’ (details)
  917. [AArch64] Define __ARM_FEATURE_{CRC32,ATOMICS} (details)
  918. lld-link: Let LLD_REPRODUCE control /reproduce:, like in ld.lld (details)
  919. [AIX][XCOFF][NFC] Change geNumberOfVRSaved function name to getNumberOfVRSaved. (details)
  920. [libc++] Use std::move in numeric algorithms (P0616R0). (details)
  921. [Hexagon] Improve check for HVX types (details)
  922. [RISCV] Replace sexti32/zexti32 in isel patterns where only one part of their PatFrags can match. NFCI (details)
  923. [RISCV][LegalizeTypes] Teach type legalizer that it can promote UMIN/UMAX using SExtPromotedInteger if that's better for the target. (details)
  924. Revert "[BasicAA] Fix BatchAA results for phi-phi assumptions" (details)
  925. [RISCV] Remove stale FIXMEs from a couple test cases. NFC (details)
  926. [ValueTracking] Fix assert on shufflevector of pointers (details)
  927. [NFC] SmallVector<char...> to SmallString<...> (details)
  928. [RISCV] Replace getSimpleValueType() with getValueType() in DAG combines to prevent asserts with weird types. (details)
  929. Add -fintegrated-as to clang invocation (details)
  930. [libc++] Consistently unparenthesize `numeric_limits<T>::max`. NFCI. (details)
  931. [libc++] Support no libc++ namespace in the iterator test. (details)
  932. [VE] Optimize emitSPAdjustment function (details)
  933. [libc++] s/constpexr/constexpr/ in some comments. NFC. (details)
  934. [IRSim][IROutliner] Adding the extraction basics for the IROutliner. (details)
  935. [gn build] Port bf899e89138 (details)
  936. Revert "[IRSim][IROutliner] Adding the extraction basics for the IROutliner." (details)
  937. [gn build] Port a8a43b63388 (details)
  938. [RISCV] Add tests for existing (rotr (bswap X), (i32 16))->grevi pattern for RV32. Extend same pattern to rotl and GREVIW. (details)
  939. [BasicAA] Remove unnecessary known size requirement (details)
  940. [mlir] Change ConvertOpToLLVMPattern::matchAndRewrite argument to concrete operand type. (details)
  941. [mlir] Fix bad rebase landed in acb69f3b7c83. (details)
  942. [clangd] Add symbol origin for remote index (details)
  943. [libc++] P1645 constexpr for <numeric> (details)
  944. [Timer] Add a command option to enable/disable timer sorting. (details)
  945. [X86] Have indirect calls take 64-bit operands in 64-bit modes (details)
  946. [ConstantFold] Fold operations to poison if possible (details)
  947. [X86] Do not allow FixupSetCC to relax constraints (details)
  948. [X86] Add -verify-machineinstrs to pic.ll (details)
  949. [BasicAA] Add tests for suboptimal speculation results (NFC) (details)
  950. [libc++] Disable some tests using gcc 9. (details)
  951. [ARMAttributeParser] Correctly parse and print Tag_THUMB_ISA_use=3 (details)
  952. Implement computeHostNumHardwareThreads() for FreeBSD (details)
  953. [mlir] Add a shape function library op (details)
  954. Revert "[mlir] Add a shape function library op" (details)
  955. [BasicAA] Generalize recursive phi alias analysis (details)
  956. [LangRef] minor fixes to poison examples and well-defined values section (NFC) (details)
  957. [ConstantFold] Fold more operations to poison (details)
  958. [clangd] Cache .clang-tidy files again. (details)
  959. [clangd] Fix path edge-case condition. (details)
  960. [libc++] hash<long double>: adjust for x86-64 ILP32 (details)
  961. [IR] remove redundant code comments; NFC (details)
  962. [IR] simplify code in removePredecessor(); NFCI (details)
  963. [VPlan] Manage stored values of interleave groups using VPUser (NFC) (details)
  964. [OpenMP][OMPT][NFC] Fix flaky test (details)
  965. [OpenMP][OMPT][NFC] Fix failing test (details)
  966. Use `const` for array pointers in `StandardTypes.h` (details)
  967. [VPlan] Use VPValue and VPUser ops to print VPReplicateRecipe. (details)
  968. [VPlan] Fix -Wunused-variable after a813090072c0527eb6ed51dd2ea4f54cb6bc72a0 (details)
  969. [mlir] Add a shape function library op (details)
  970. [RISCV] Change predicate on InstAliases for GORCI/GREVI/SHFLI/UNSHFLI to HasStdExtZbp instead of HasStdExtZbbOrZbp. (details)
  971. [ELF] Check --orphan-handling=place (default value) early (details)
  972. [DL] Optimize address space zero lookup (NFC) (details)
  973. [ELF] Improve 2 SmallVector<*, N> usage (details)
  974. [clang-tidy] [clangd] Avoid multi-line diagnostic range for else-after-return diagnostic (details)
  975. Use bool in place of int for boolean things in the C API (details)
  976. [MC] Copy visibility for .symver created symbols (details)
  977. [mlir][Python] Python API cleanups and additions found during code audit. (details)
  978. [mlir][Python] Add an Operation.result property. (details)
  979. [RISCV] Remove unused Addend parameter from classifySymbolRef. NFC (details)
  980. Remove redundant check for access in the conversion from the naming (details)
  981. [IndVars] ICmpInst should not prevent IV widening (details)
  982. [mlir][CAPI] Convert the rest of the API int -> bool. (details)
  983. [lldb/test] Avoid the socket "pump" thread (details)
  984. [clang] Improve diagnostics for auto-return-type function if the return expr had an error. (details)
  985. [libc] Improve memcpy copy loop (details)
  986. [AST][RecoveryAST] Preseve more invalid return stmt. (details)
  987. [mlir][LLVMIR] Add support for InlineAsmOp (details)
  988. [TableGen][SchedModels] Fix read/write variant substitution (details)
  989. [ARM] Constant predicate tests. NFC (details)
  990. [NFC][SimplifyCFG] Add STATISTIC() to the FoldValueComparisonIntoPredecessors() fold (details)
  991. [clang-tidy] add concurrency module (details)
  992. [clang-tidy] implement concurrency-mt-unsafe (details)
  993. Fix test case (details)
  994. [clang-format] State where clang-format-diff.py should be run from (details)
  995. [lldb] Error when there are no ports to launch a gdbserver on (details)
  996. [NFC][clang-tidy] Do link FrontendOpenMP into concurrency module after all (details)
  997. [LegacyPM] Simplify PMTopLevelManager::collectLastUses. NFC. (details)
  998. Add `using ConvertToLLVMPattern::match/matchAndRewrite` to avoid 'hiding overload' warning. (details)
  999. [X86][AVX512] Only lower to VPALIGNR if we have BWI (PR48322) (details)
  1000. [lldb] Use llvm::Optional for port in LaunchGDBServer (details)
  1001. [AArch64][CostModel] Fix cost for mul <2 x i64> (details)
  1002. Support custom expedited register set in gdb-remote (details)
  1003. Send SVE vg register in custom expedited registerset (details)
  1004. [gn build] Manually sync 8da7efb and cac5be4 (details)
  1005. [llvm-objdump] Document --mattr=help in --help output (details)
  1006. [VE] Specify vector alignments (details)
  1007. [VPlan] Use VPUser to manage VPPredInstPHIRecipe operand (NFC). (details)
  1008. [VE] Change the behaviour of truncate (details)
  1009. Try to fix bots after 112b3cb by removing cortex-a57-misched-mla.s (details)
  1010. [VE] Optimize prologue/epilogue instructions (details)
  1011. [mac/lld] Add support for response files (details)
  1012. Try harder to get rid off cortex-a57-misched-mla.s (details)
  1013. [lld/mac] Add --reproduce option (details)
  1014. [InstCombine][X86] Add addsub tests showing failure to simplify demandedelts (PR46277) (details)
  1015. [llvm-objdump] Require x86 target for mcpu/attr test (details)
  1016. [ConstantFold] Don't fold and/or i1 poison to poison (NFC) (details)
  1017. [LangRef] missing link, minor fix (details)
  1018. [LLDB/Lua] add support for one-liner breakpoint callback (details)
  1019. Add 'asserts' requiremnt to test/CodeGen/ARM/cortex-a57-misched-mla.mir (details)
  1020. [IR][LoopRotate] avoid leaving phi with no operands (PR48296) (details)
  1021. [lld-macho] Implement -fatal_warnings (details)
  1022. [windows-itanium] handle dllimport/export code paths separately and share with PS4 (details)
  1023. [mlir] Make mlir-cpu-runner depend on native instead of X86 (details)
  1024. Revert "[IR][LoopRotate] avoid leaving phi with no operands (PR48296)" (details)
Commit 5a9f3867046c4e1c97760e22a505f4d1d788417e by kadircet
[clang-tidy] Make clang-format and include-order-check coherent

LLVM style puts both gtest and gmock to the end of the include list.
But llvm-include-order-check was only moving gtest headers to the end, resulting
in a false tidy-warning.

Differential Revision: https://reviews.llvm.org/D91602
The file was addedclang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/gmock/foo.h
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/llvm-include-order.cpp
The file was modifiedclang-tools-extra/clang-tidy/llvm/IncludeOrderCheck.cpp
Commit 13042da5cb3fe5f17c58c2446c93635a2c432049 by flo
[ConstraintElimination] Add support for And.

When processing conditional branches, if the condition is an AND of 2 compares
and the true successor only has the current block as predecessor, queue both
conditions for the true successor.
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/test/Transforms/ConstraintElimination/and.ll
Commit e8356a79ffd36a6cfdc1ca19c1283d7f517c77b6 by andrzej.warzynski
[flang][nfc] Add missing dependency in CMake

This missing dependency has been causing the Flang buildbots
(with BUILD_SHARED_LIBS set to ON) to fail:
  * http://lab.llvm.org:8011/#/builders/66/builds/542
  * http://lab.llvm.org:8011/#/builders/33/builds/764

This missing dependency was exposed by this change:
  * https://reviews.llvm.org/D91461
This change is fine - the root cause of the failing builds is the
missing dependency.
The file was modifiedflang/tools/f18-parse-demo/CMakeLists.txt
Commit c25e1edf61b9098bc839bbd675d21cb9cf1ed553 by benny.kra
[MLIR] Fix up integration tests after b7382ed3fea08da27530a6d6d53f168fc704e4c4
The file was modifiedmlir/integration_test/Dialect/Async/CPU/test-async-parallel-for-1d.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-subtensor-insert.mlir
The file was modifiedmlir/integration_test/Dialect/Async/CPU/test-async-parallel-for-2d.mlir
The file was modifiedmlir/integration_test/Dialect/Linalg/CPU/test-subtensor-insert-multiple-uses.mlir
Commit 498859cbf6682d63e9dfdfc89d298481261cf1dd by Paul C. Anagnostopoulos
[TableGen] Clean up Target .td include files

Differential Revision: https://reviews.llvm.org/D91483
The file was modifiedllvm/include/llvm/Target/Target.td
The file was modifiedllvm/include/llvm/Target/TargetSelectionDAG.td
The file was modifiedllvm/include/llvm/Target/GenericOpcodes.td
The file was modifiedllvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
The file was modifiedllvm/include/llvm/Target/TargetInstrPredicate.td
The file was modifiedllvm/include/llvm/Target/TargetItinerary.td
The file was modifiedllvm/include/llvm/Target/TargetSchedule.td
The file was modifiedllvm/include/llvm/Target/TargetCallingConv.td
The file was modifiedllvm/include/llvm/Target/TargetPfmCounters.td
Commit 23a96b84a8d985b686a4e06dec1f7aebc0cca6c6 by joe.ellis
[AArch64][SVE] Support implicit lax vector conversions for SVE types

Lax vector conversions was behaving incorrectly for implicit casts
between scalable and fixed-length vector types. For example, this:

    #include <arm_sve.h>

    #define N __ARM_FEATURE_SVE_BITS
    #define FIXED_ATTR __attribute__((arm_sve_vector_bits(N)))

    typedef svfloat32_t fixed_float32_t FIXED_ATTR;

    void allowed_depending() {
      fixed_float32_t fs32;
      svfloat64_t s64;

      fs32 = s64;
    }

... would fail because the vectors have differing lane sizes. This patch
implements the correct behaviour for
-flax-vector-conversions={none,all,integer}. Specifically:

- -flax-vector-conversions=none prevents all lax vector conversions
  between scalable and fixed-sized vectors.
- -flax-vector-conversions=integer allows lax vector conversions between
  scalable and fixed-size vectors whose element types are integers.
- -flax-vector-conversions=all allows all lax vector conversions between
  scalable and fixed-size vectors (including those with floating point
  element types).

The implicit conversions are implemented as bitcasts.

Reviewed By: fpetrogalli

Differential Revision: https://reviews.llvm.org/D91067
The file was modifiedclang/include/clang/AST/ASTContext.h
The file was modifiedclang/lib/Sema/SemaOverload.cpp
The file was addedclang/test/SemaCXX/aarch64-sve-lax-vector-conversions.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/lib/AST/ASTContext.cpp
The file was modifiedclang/test/Sema/attr-arm-sve-vector-bits.c
The file was addedclang/test/Sema/aarch64-sve-lax-vector-conversions.c
Commit b90228e4113764b4126e958418022411de6275c3 by sbc
[WebAssembly][MC] Remove useless overrides in MCWasmStreamer

Differential Revision: https://reviews.llvm.org/D91604
The file was modifiedllvm/lib/MC/MCWasmStreamer.cpp
The file was modifiedllvm/include/llvm/MC/MCWasmStreamer.h
Commit fcad8d3635cff61a2749dcef94c0d51fa1e3e413 by anton.a.afanasyev
[SLP] Make SLPVectorizer to use `llvm.masked.gather` intrinsic

For the scattered operands of load instructions it makes sense
to use gathering load intrinsic, which can lower to native instruction
for X86/AVX512 and ARM/SVE. This also enables building
vectorization tree with entries containing scattered operands.
The next step is to add scattered store.

Fixes PR47629 and PR47623

Differential Revision: https://reviews.llvm.org/D90445
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/lookahead.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47623.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47629.ll
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 46846ac45b2c44aa6e33be5ac498309f465ba7eb by flo
[Matrix] Add inline assembly test case.

This patch adds a new test cases which uses a matrix value as memory
inline assembly argument. Currently the pointer element type does not
match the vector type.
The file was modifiedclang/test/CodeGen/matrix-type.c
Commit 5292187a2d627fe5ff6f24c00dafae8d9f8c8e3b by a.bataev
[OPENMP]Fix PR48076: mapping of data member pointer.

If the data member pointer is mapped, the compiler tries to optimize the
mapping of such data by discarding explicit mapping flags and trying to
emit combined data instead. In some cases, this optimization is not
quite correctly implemented and it leads to a program crash at the
runtime. Instead, if the data member is mapped, just emit it as is and
do not emit combined mapping flags for it.

Differential Revision: https://reviews.llvm.org/D91552
The file was modifiedclang/test/OpenMP/target_map_codegen_20.cpp
The file was modifiedclang/test/OpenMP/target_data_member_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 modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_24.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_mapper_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
Commit bba96c99655579f5b94abb1e2d07bf2b4b497718 by powerman1st
[clang][AVR] Improve avr-ld command line options

Reviewed By: dylanmckay

Differential Revision: https://reviews.llvm.org/D88410
The file was modifiedclang/test/Driver/avr-link-mcu-family-unimplemented.c
The file was modifiedclang/lib/Driver/ToolChains/AVR.cpp
The file was modifiedclang/test/Driver/avr-mmcu.c
Commit 0a1d315f9f166207a95ce5d1e124e1a290807f98 by anton.a.afanasyev
[SLPVectorizer] Fix assert
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit e67d8859f205308d9e799c8448dcc1dcedc30102 by jay.foad
[AMDGPU] Precommit more vccz workaround tests
The file was modifiedllvm/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
Commit c5ce6036c169522eebd2ed330de58f4980cfb45a by Matthew.Arsenault
Linker: Fix linking of byref types

This wasn't properly remapping the type like with the other
attributes, so this would end up hitting a verifier error after
linking different modules using byref.
The file was modifiedllvm/lib/Transforms/Utils/ValueMapper.cpp
The file was modifiedllvm/lib/Linker/IRMover.cpp
The file was addedllvm/test/Linker/byref-types.ll
The file was addedllvm/test/Linker/Inputs/byref-type-input.ll
Commit 0454154efd5423a5400a0d76572421d4f62c18d1 by jonathan.l.peyton
[OpenMP][stats] reset serial state when re-entering serial region

Differential Revision: https://reviews.llvm.org/D90867
The file was modifiedopenmp/runtime/src/kmp_csupport.cpp
Commit 2a473db57391e87ac0207a92117a14b0313661f7 by sbc
[WebAssembly] Fix parsing of linking section for named global imports

Differential Revision: https://reviews.llvm.org/D91635
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedllvm/test/MC/WebAssembly/debug-info64.ll
The file was modifiedllvm/test/MC/WebAssembly/debug-info.ll
Commit 8647c669a4a3193558ce0f2f398ffe04b80ad886 by jonathan.l.peyton
[OpenMP] NFC: remove tabs in message catalog file
The file was modifiedopenmp/runtime/src/i18n/en_US.txt
Commit d06a445ca4c9848d04dfc1bae367f4141a6130b4 by llvm-dev
[X86] subvector-broadcast.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/subvector-broadcast.ll
Commit 53fba9d9d30307bac3d1ce31e39b0fccc13bed80 by llvm-dev
[X86] nontemporal.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/nontemporal.ll
Commit 7e30989dabce9ddbca0cbad7a8f25fb4e756d334 by llvm-dev
[IR] ShuffleVectorInst::isIdentityWithPadding - bail on non-fixed-type vector shuffles.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27416
The file was modifiedllvm/test/Transforms/InstCombine/vscale_insertelement.ll
The file was modifiedllvm/lib/IR/Instructions.cpp
Commit 52f3714dae7b23ba734a449623cb1570c6c1b700 by flo
[VPlan] Add VPDef class.

This patch introduces a new VPDef class, which can be used to
manage VPValues defined by recipes/VPInstructions.

The idea here is to mirror VPUser for values defined by a recipe. A
VPDef can produce either zero (e.g. a store recipe), one (most recipes)
or multiple (VPInterleaveRecipe) result VPValues.

To traverse the def-use chain from a VPDef to its users, one has to
traverse the users of all values defined by a VPDef.

VPValues now contain a pointer to their corresponding VPDef, if one
exists. To traverse the def-use chain upwards from a VPValue, we first
need to check if the VPValue is defined by a VPDef. If it does not have
a VPDef, this means we have a VPValue that is not directly defined
iniside the plan and we are done.

If we have a VPDef, it is defined inside the region by a recipe, which
is a VPUser, and the upwards def-use chain traversal continues by
traversing all its operands.

Note that we need to add an additional field to to VPVAlue to link them
to their defs. The space increase is going to be offset by being able to
remove the SubclassID field in future patches.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D90558
The file was modifiedllvm/unittests/Transforms/Vectorize/VPlanTest.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlan.cpp
The file was modifiedllvm/lib/Transforms/Vectorize/VPlanValue.h
The file was modifiedllvm/docs/Proposals/VectorizationPlan.rst
Commit 43ede0e2a7fff54c450a0c2a698d02e197aa7b2a by csigg
[mlir] Remove unused ConvertToLLVMPattern::linearizeSubscripts().

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D91594
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
Commit 5f3a8074a431ad68815ccb957e319c3db5bf2d2d by llvm-dev
[PPC] Fix dead store value clang static analyzer warning. NFCI.

Simplify the SplatBits 2-byte -> 4-byte 'splat'.
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
Commit 019723fc295b692af31ced0d8e5c3c1736117de9 by steveire
Invert accessor for checking traversal mode

For now, there is a traversal mode which ignores implicit casts and
parenthesis. Invert the check in order to not obviously break that.
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
Commit 36011bdfb6486217c45f1b0c7739c1c356ad9592 by steveire
Rename API to not be constrained to template instantiations

A follow-up commit will use this method to ignore implcit AST nodes.
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchersInternal.cpp
Commit 34c0f3cbf1ee025c2e85858b1eb0b0bf1755b569 by steveire
Move ASTMatchFinder definition so it can be accessed from other functions
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
Commit 246b428fb3b5d58685064966bcea6592f8839b7e by steveire
[AST] Ignore implicit nodes in IgnoreUnlessSpelledInSource mode

Update the ASTNodeTraverser to dump only nodes spelled in source.  There
are only a few which need to be handled, but Decl nodes for which
isImplicit() is true are handled together.

Update the RAV instances used in ASTMatchFinder to ignore the nodes too.
As with handling of template instantiations, it is necessary to allow
the RAV to process the implicit nodes because they need to be visitable
before the first traverse() matcher is encountered.  An exception to
this is in the MatchChildASTVisitor, because we sometimes wish to make a
node matchable but make its children not-matchable.  This is the case
for defaulted CXXMethodDecls for example.

Extend TransformerTests to illustrate the kinds of problems that can
arise when performing source code rewriting due to matching implicit
nodes.

This change accounts for handling nodes not spelled in source when using
direct matching of nodes, and when using the has() and hasDescendant()
matchers.  Other matchers such as
cxxRecordDecl(hasMethod(cxxMethodDecl())) still succeed for
compiler-generated methods for example after this change.  Updating the
implementations of hasMethod() and other matchers is for a follow-up
patch.

Differential Revision: https://reviews.llvm.org/D90982
The file was modifiedclang/unittests/AST/ASTTraverserTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
The file was modifiedclang/lib/ASTMatchers/ASTMatchFinder.cpp
The file was modifiedclang/include/clang/AST/ASTNodeTraverser.h
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
Commit 4cadb66b490e3323f79a89120c3442456e4c24fa by steveire
[AST] Update matchers to be traverse-aware

Don't match Stmt or Decl nodes not spelled in the source when using
TK_IgnoreUnlessSpelledInSource.  This prevents accidental modification
of source code at incorrect locations.

Differential Revision: https://reviews.llvm.org/D90984
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Commit f3dab16dc721feee669947d4cb95e88ab90c78f5 by zinenko
[mlir] Add a _get_default_loc_context utility to Python bindings

This utility function is helpful for dialect-specific builders that need
to access the context through location, and the location itself may be
either provided as an argument or expected to be recovered from the
implicit location stack.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D91623
The file was modifiedmlir/lib/Bindings/Python/mlir/dialects/__init__.py
The file was modifiedmlir/test/mlir-tblgen/op-python-bindings.td
The file was modifiedmlir/tools/mlir-tblgen/OpPythonBindingGen.cpp
Commit cb4fc25c9189ce779e19b31c976b257364d00ea6 by nikita.ppv
[BasicAA] Make alias GEP positive offset handling symmetric

aliasGEP() currently implements some special handling for the case
where all variable offsets are positive, in which case the constant
offset can be taken as the minimal offset. However, it does not
perform the same handling for the all-negative case. This means that
the alias-analysis result between two GEPs is asymmetric:
If GEP1 - GEP2 is all-positive, then GEP2 - GEP1 is all-negative,
and the first will result in NoAlias, while the second will result
in MayAlias.

Apart from producing sub-optimal results for one order, this also
violates our caching assumption. In particular, if BatchAA is used,
the cached result depends on the order of the GEPs in the first query.
This results in an inconsistency in BatchAA and AA results, which
is how I noticed this issue in the first place.

Differential Revision: https://reviews.llvm.org/D91383
The file was modifiedllvm/lib/Analysis/AliasAnalysisEvaluator.cpp
The file was modifiedllvm/test/Analysis/BasicAA/zext.ll
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit f4d9d80fe477ac7963e49265e4d7eb3766688c5a by i
[ARC] Correct ARCInstPrinter::getMnemonic after D90039
The file was modifiedllvm/lib/Target/ARC/MCTargetDesc/ARCInstPrinter.h
Commit 3f9091888656ff3aabf677caac6054b3fd4eaa0d by i
[ELF] --gc-sections: collect unused .gcc_except_table in section groups and associated text sections

`try ... catch` in an inline function produces `.gcc_except_table.*` in a COMDAT
group with GCC or newer Clang (since D83655). For --gc-sections, currently we
scan `.eh_frame` pieces and mark liveness of such a `.gcc_except_table.*` and
then the associated `.text.*` (if a member in a section group is retained, the
others should be retained as well).

Essentially all `.text.*` and `.gcc_except_table.*` compiled from inline
functions with `try ... catch` cannot be discarded by the imprecise
--gc-sections.  Compared with the state before D83655, the output
`.gcc_except_table` is smaller (non-prevailing copies in COMDAT groups can now
be discarded) but `.text` may be larger, i.e. size regression.

This patch teaches the .eh_frame piece scanning code to not mark
`.gcc_except_table` in a section group, thus allow unused `.text.*` and
`.gcc_except_table.*` in a section group to be discarded.

Note, non-group `.gcc_except_table` can still not be discarded. That is the status quo.

Reviewed By: grimar, echristo

Differential Revision: https://reviews.llvm.org/D91579
The file was modifiedlld/ELF/MarkLive.cpp
The file was modifiedlld/test/ELF/gc-sections-lsda.s
Commit 9793edd5bf9fa1a3f794bcab03287f6bac9668fa by antiagainst
[MLIR][SPIRV] Rename `spv._address_of` to `spv.mlir.addressof`

This commit does the renaming mentioned in the title in order to bring
`spv` dialect closer to the MLIR naming conventions.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D91609
The file was modifiedmlir/docs/Dialects/SPIR-V.md
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/memory-ops-to-llvm.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/inlining.mlir
The file was modifiedmlir/test/Dialect/SPIRV/structure-ops.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
The file was modifiedmlir/test/Conversion/StandardToSPIRV/alloc.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/global-variable.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/abi-interface.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/function-call.mlir
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/abi-load-store.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/phi.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/builtins.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/lower-host-to-llvm-calls.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/load-store.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/loop.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/conflict_resolution.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/layout-decoration.mlir
The file was modifiedmlir/test/Dialect/SPIRV/ops.mlir
Commit 1d7d9d668545818b3b8c1019e9c0a8565f68f62c by spatel
[InstCombine] add tests for masked add; NFC
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit 433696911a0b8e1b94abd8d8f192380ba7867b61 by spatel
[InstCombine] relax constraints on mask-of-add

There are 2 changes:
1. Remove the unnecessary one-use check.
2. Remove the unnecessary power-of-2 check.

https://rise4fun.com/Alive/V6fP

  Name: add with low mask
  Pre: (C1 & (-1 u>> countLeadingZeros(C2))) == 0
  %a = add i8 %x, C1
  %r = and i8 %a, C2
  =>
  %r = and i8 %x, C2
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit c15e5bdfb7b95aa90ceb059501da679ca2f931db by spatel
[InstCombine] add vector test for mask of add; NFC
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit f791ad7e1e9850a6dc28747ad3d8b21b9e382c31 by spatel
[InstCombine] remove scalar constraint for mask-of-add fold

https://rise4fun.com/Alive/V6fP

  Name: add with low mask
  Pre: (C1 & (-1 u>> countLeadingZeros(C2))) == 0
  %a = add i8 %x, C1
  %r = and i8 %a, C2
  =>
  %r = and i8 %x, C2
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
Commit 8a4fe75d70e1640078c464b9da76ffbe0a49c014 by jurahul
[NFC] Add unit tests for printing/parsing of variadic operands and results.

Differential Revision: https://reviews.llvm.org/D91557
The file was modifiedmlir/test/mlir-tblgen/op-format.mlir
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
Commit 27012c0f75c2e4891277d0d14f9f97a9f564d596 by Jonas Devlieghere
[debugserver] Add option to propagate SIGSEGV to target process

Adds a command line option that makes debugserver propagate the SIGSEGV
signal to the target process.

Motivation: I'm one of the maintainers of Delve [1] a debugger for Go.
We use debugserver as our backend on macOS and one of the most often
reported bugs is that, on macOS, we don't propagate SIGSEGV back to the
target process [2]. Sometimes some programs will actually cause a
SIGSEGV, by design, and then handle it. Those programs can not be
debugged at all.

Since catching signals isn't very important for a Go debugger I'd much
rather have a command line option in debugserver that causes it to let
SIGSEGV go directly to the target process.

[1] https://github.com/go-delve/delve/
[2] https://github.com/go-delve/delve/issues/852

Differential revision: https://reviews.llvm.org/D89315
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.mm
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachProcess.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachTask.mm
The file was modifiedlldb/tools/debugserver/source/RNBRemote.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.cpp
The file was modifiedlldb/tools/debugserver/source/DNB.h
The file was modifiedlldb/tools/debugserver/source/RNBContext.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/MachTask.h
The file was modifiedlldb/tools/debugserver/source/debugserver.cpp
Commit 3279347da05e590c970b37540d7e3ac873ae3e1d by apollo.mobility
[BPI] Look through bitcasts in calcZeroHeuristic

Constant hoisting may hide the constant value behind bitcast for And's
operand. Track down the constant to make the BFI result consistent
regardless of hoisting.

Differential Revision: https://reviews.llvm.org/D91450
The file was modifiedllvm/lib/Analysis/BranchProbabilityInfo.cpp
The file was addedllvm/test/Analysis/BranchProbabilityInfo/hoist.ll
Commit e741fa5c92bcfcf49b76382c18eec748387ad91b by llvm-dev
[X86] vec_fabs.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/vec_fabs.ll
Commit 3b4f9c16bf24dce2fe3f859a8a04304e76dace8b by llvm-dev
[X86] rot16.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/rot16.ll
Commit abf29d9862d898c02f3df95cbdc4e9bdba396b6f by llvm-dev
[InstCombine] visitAnd - use m_SpecificInt instead of m_APInt + comparison. NFCI.

m_SpecificInt has the same 'no undef element' behaviour as m_APInt so no change there, and anyway we have test coverage for undef elements in the fold.

Noticed while fixing a Wshadow warning about shadow Value *X, *Y variables.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit 6ef6beaa570fffb75c75aa4c555b0f9d7e507929 by steveire
Comment out new test while I figure out what is wrong with it
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
Commit bedaad44953a99138bda0ee08ceeb5dfeec3c35c by csigg
[mlir] Simplify std.alloc lowering to LLVM.

std.alloc only supports memrefs with identity layout, which means we can simplify the lowering to LLVM and compute strides only from (static and dynamic) sizes.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D91549
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
Commit baa2aa28f56259de7fa012178ada9e5ba07ec76c by thakis
lld: Add --color-diagnostic to MachO port, harmonize others

This adds `--[no-]color-diagnostics[=auto,never,always]` to
the MachO port and harmonizes the flag in the other ports:
- Consistently use MetaVarName
- Consistently document the non-eq version as alias of the eq version
- Use B<> in the ports that have it (no-op, shorter)
- Fix oversight in COFF port that made the --no flag have the wrong
  prefix

Differential Revision: https://reviews.llvm.org/D91640
The file was addedlld/test/MachO/color-diagnostics.test
The file was modifiedlld/COFF/Options.td
The file was modifiedlld/MachO/Options.td
The file was modifiedlld/wasm/Options.td
The file was modifiedlld/MachO/Driver.cpp
The file was modifiedlld/ELF/Options.td
Commit f7ebdec987f52262fa3e2b0172f0881a9c4f224f by llvm-dev
[InstCombine] visitAnd - remove unnecessary Value *X, *Y shadow variables. NFCI.

Fixes a number of Wshadow warnings.
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
Commit c331b7cc38aa84433233ebe064269179eb463015 by llvm-dev
[X86] select-of-fp-constants.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/select-of-fp-constants.ll
Commit 811026b9870ac777136df6bcbb631c985e432aca by llvm-dev
[X86] segmented-stacks tests - replace X32 check prefix with X86 for non-gnux32 tests. NFC.

Only use X32 for the gnux32 triples in the tests
The file was modifiedllvm/test/CodeGen/X86/segmented-stacks-dynamic.ll
The file was modifiedllvm/test/CodeGen/X86/segmented-stacks.ll
The file was modifiedllvm/test/CodeGen/X86/segmented-stacks-standalone.ll
Commit 1d7abcf99e3d8f9ac7e24be5758da7cfef656400 by joe.ellis
[AArch64][SVE] Add tests for VLST -> VLAT lax conversions

These were previously missing from the SVE lax conversions tests
introduced in this commit:

    23a96b84a8d985b686a4e06dec1f7aebc0cca6c6
    (https://reviews.llvm.org/D91067)

Differential Revision: https://reviews.llvm.org/D91642
The file was modifiedclang/test/Sema/aarch64-sve-lax-vector-conversions.c
The file was modifiedclang/test/SemaCXX/aarch64-sve-lax-vector-conversions.cpp
Commit 121f27f3ac811c2add4d43f78847bfb14ad0175d by Louis Dionne
[libc++] Only include_next <wctype.h> if it exists

This allows building on platforms that don't provide that header.
The file was modifiedlibcxx/include/wctype.h
Commit ef1a4169e8c7f6cf76e704827f4567b9a1b9b0e1 by steveire
[Transformer] Split ForStmt test into two

It is apparently not possible to have two rewrites in one gtest function
because atomic changes in the test harness accumulate.
The file was modifiedclang/unittests/Tooling/TransformerTest.cpp
Commit 48138e7338c19f4f7347e470e9d10b0f24ff893d by Louis Dionne
[libc++] Do not error out when we don't know the file format

Erroring out prevents the library from working with other file formats
(e.g. in embedded). Since that error does not guard us from doing something
incorrect, it seems fine to just remove it.
The file was modifiedlibcxx/include/__config
Commit 0333567c47c0d496bba146cd4f7b65a8ef8ba113 by a.bataev
[OPENMP] Fix PR47999: correctly map implicit firstprivates in outer tasks.

If the variable is implicitly firstprivatized in the inner task-based
region, it also must be firstprivatized in outer task-based regions.
Previously firstprivates were captured in tasks but later it was
optimized to reduce the memory usage. But still need to mark such
variables as implicit firstprivate in outer tasks.

Differential Revision: https://reviews.llvm.org/D91627
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was addedclang/test/OpenMP/task_in_task_firstprivate_codegen.cpp
Commit 821439c5063bc38befca9e7ee60f07cff7309003 by llvm-dev
[X86] emutls-pic.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/emutls-pic.ll
Commit ba82e7ee5c0c7431bfba2da281aeb5fcf2ac5969 by llvm-dev
[X86] emutls-pie.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/emutls-pie.ll
Commit d035bc3e6b87db281da610f64392517036bf5411 by llvm-dev
[X86] emutls.ll - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/emutls.ll
Commit 49e0de5f6fe6470523576fb01d38021ea2957260 by llvm-dev
[X86] byval tests - replace X32 check prefix with X86. NFC.

We typically use X32 for gnux32 triples
The file was modifiedllvm/test/CodeGen/X86/byval.ll
The file was modifiedllvm/test/CodeGen/X86/byval3.ll
The file was modifiedllvm/test/CodeGen/X86/byval4.ll
The file was modifiedllvm/test/CodeGen/X86/byval5.ll
The file was modifiedllvm/test/CodeGen/X86/byval2.ll
Commit 4a66a1d17abfb7cf34081f0620cb2f53b40cca97 by spatel
[InstCombine] allow vectors for masked-add -> xor fold

https://rise4fun.com/Alive/I4Ge

  Name: add with pow2 mask
  Pre: isPowerOf2(C2) && (C1 & C2) != 0 && (C1 & (C2-1)) == 0
  %a = add i8 %x, C1
  %r = and i8 %a, C2
  =>
  %n = and i8 %x, C2
  %r = xor i8 %n, C2
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/and.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
Commit a200d6cdf0f7eafafead147f2e18e5456ed7bbe1 by michaelrj
[libc] make part of libc's unit test framework independent of llvm

This is mostly changing stringref to std::string, outs() to cout,
and small supporting changes. This will make running unit tests possible
on systems that are only grabbing the libc part of llvm.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D91568
The file was modifiedlibc/utils/UnitTest/Test.cpp
Commit a461e76b6f973d3f40944b83a46defba0c136777 by jonathan_roelofs
[MachineScheduler] Inform pass infra of post-ra scheduler's dependencies

Differential Revision: https://reviews.llvm.org/D91561
The file was modifiedllvm/lib/CodeGen/MachineScheduler.cpp
Commit 5439db05e74044a239c0fd37f8594b6b67dd3c02 by nawrin.sultana
[OpenMP] Add omp_realloc implementation

This patch adds omp_realloc function implementation according to
OpenMP 5.1 specification.

Differential Revision: https://reviews.llvm.org/D90971
The file was modifiedopenmp/runtime/src/dllexports
The file was modifiedopenmp/runtime/src/kmp_stub.cpp
The file was modifiedopenmp/runtime/test/api/omp_calloc_def_fb.c
The file was modifiedopenmp/runtime/src/include/omp.h.var
The file was modifiedopenmp/runtime/src/kmp.h
The file was addedopenmp/runtime/test/api/omp_realloc_null_ptr.c
The file was modifiedopenmp/runtime/tools/generate-def.pl
The file was addedopenmp/runtime/test/api/omp_realloc_def_fb.c
The file was addedopenmp/runtime/test/api/omp_realloc_size_0.c
The file was modifiedopenmp/runtime/src/kmp_alloc.cpp
The file was modifiedopenmp/runtime/src/kmp_csupport.cpp
The file was modifiedopenmp/runtime/test/api/omp_calloc_size_0.c
Commit 08834979e3aca762b0db05fbc73998aa07753bc2 by spatel
[SLP] avoid unreachable code crash/infloop

Example based on the post-commit comments for D88735.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/horizontal.ll
Commit 55d310adc068a569eaa5370e5b94428ed9ea7ed8 by i
[ELF] Fix interaction between --unresolved-symbols= and --[no-]allow-shlib-undefined

As mentioned in https://reviews.llvm.org/D67479#1667256 ,

* `--[no-]allow-shlib-undefined` control the diagnostic for an unresolved symbol in a shared object
* `-z defs/-z undefs` control the diagnostic for an unresolved symbol in a regular object file
* `--unresolved-symbols=` controls both bits.

In addition, make --warn-unresolved-symbols affect --no-allow-shlib-undefined.

This patch makes the behavior match GNU ld.

Reviewed By: psmith

Differential Revision: https://reviews.llvm.org/D91510
The file was modifiedlld/ELF/Driver.cpp
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/unresolved-symbols.s
The file was modifiedlld/ELF/Config.h
The file was modifiedlld/test/ELF/allow-shlib-undefined.s
Commit 3fd777403349e920979a9ea30eaf05d7317d7b09 by psteinfeld
[flang] Fix FIR test failures

When doing out-of-tree builds, FIR tests were failing.  I made a change
similar to the one by @jurahul to fix this.

Differential Revision: https://reviews.llvm.org/D91654
The file was modifiedflang/test/Fir/fir-ops.fir
Commit 44a11c342caa70efe9f9d07db3e66dd48f701aca by hansang.bae
[OpenMP] Use explicit type casting in kmp_atomic.cpp

Differential Revision: https://reviews.llvm.org/D91105
The file was modifiedopenmp/runtime/src/kmp_stats.h
The file was modifiedopenmp/runtime/src/kmp_atomic.cpp
Commit 792f8e1114afa7f40227eee2820c6e425ee07c3b by ctetreau
[SVE] Take constant fold fast path for splatted vscale vectors

This should be a perfectly reasonable operation for scalable vectors.
Currently, it only works for zeroinitializer values of
ScalableVectorType, but the fundamental operation is sound and it should
be possible to make it work for other splats

Reviewed By: david-arm

Differential Revision: https://reviews.llvm.org/D77442
The file was modifiedllvm/lib/IR/ConstantFold.cpp
The file was addedllvm/test/Transforms/InstSimplify/cmp-vec-fast-path.ll
The file was modifiedllvm/test/Transforms/InstSimplify/ConstProp/vscale.ll
Commit eced4a8e6fe3041b699bd22b5b89bea47c84c51a by ajcbik
[mlir] [sparse] start of sparse tensor compiler support

As discussed in https://llvm.discourse.group/t/mlir-support-for-sparse-tensors/2020
this CL is the start of sparse tensor compiler support in MLIR. Starting with a
"dense" kernel expressed in the Linalg dialect together with per-dimension
sparsity annotations on the tensors, the compiler automatically lowers the
kernel to sparse code using the methods described in Fredrik Kjolstad's thesis.

Many details are still TBD. For example, the sparse "bufferization" is purely
done locally since we don't have a global solution for propagating sparsity
yet. Furthermore, code to input and output the sparse tensors is missing.
Nevertheless, with some hand modifications, the generated MLIR can be
easily converted into runnable code already.

Reviewed By: nicolasvasilache, ftynse

Differential Revision: https://reviews.llvm.org/D90994
The file was addedmlir/test/lib/Transforms/TestSparsification.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was addedmlir/test/Dialect/Linalg/sparse_2d.mlir
The file was addedmlir/test/Dialect/Linalg/sparse_3d.mlir
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/test/lib/Transforms/CMakeLists.txt
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was addedmlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
The file was addedmlir/test/Dialect/Linalg/sparse_1d.mlir
Commit bc9803404042aa45417cf4f6925fb06b44f1ad93 by akhuang
[llvm-symbolizer] Add inline stack traces for Windows.

This adds inline stack frames for symbolizing on Windows.

Differential Revision: https://reviews.llvm.org/D88988
The file was addedllvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbols.h
The file was modifiedllvm/include/llvm/DebugInfo/PDB/PDBSymbol.h
The file was addedllvm/lib/DebugInfo/PDB/Native/NativeInlineSiteSymbol.cpp
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/PDB/BUILD.gn
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h
The file was addedllvm/include/llvm/DebugInfo/PDB/Native/NativeInlineSiteSymbol.h
The file was modifiedllvm/lib/DebugInfo/PDB/Native/NativeFunctionSymbol.cpp
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h
The file was modifiedllvm/lib/DebugInfo/PDB/Native/SymbolCache.cpp
The file was modifiedcompiler-rt/test/asan/TestCases/suppressions-function.cpp
The file was addedllvm/lib/DebugInfo/PDB/Native/NativeEnumSymbols.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/PDBContext.cpp
The file was modifiedllvm/lib/DebugInfo/PDB/CMakeLists.txt
The file was modifiedllvm/include/llvm/DebugInfo/PDB/Native/SymbolCache.h
The file was modifiedllvm/lib/DebugInfo/PDB/PDBSymbol.cpp
The file was addedlld/test/COFF/symbolizer-inline.s
The file was modifiedllvm/lib/DebugInfo/PDB/Native/NativeSession.cpp
Commit 8fb4417d82bc9d7285734cd63cdd06f1d6926be6 by llvm-project
[LLVMFronted][tests] Add basic OpenMP parsing tests.

As noticed in D91470, some of the functions of LLVMFrontend, are not tested within the library itself (but indirectly by its users clang and flang). In particular, the file OMP.cpp which is generated by tablegen was not tested at all.

Add tests for the parsing helpers in OMP.cpp. These are not meant to be exhaustive tests, just to ensure that we have some basic tests for all API functions.

Reviewed By: clementval

Differential Revision: https://reviews.llvm.org/D91643
The file was modifiedllvm/unittests/Frontend/CMakeLists.txt
The file was addedllvm/unittests/Frontend/OpenMPParsingTest.cpp
Commit b2613fb2f0f53691dd0211895afbb9413457fca7 by llvmgnsyncbot
[gn build] Port 8fb4417d82b
The file was modifiedllvm/utils/gn/secondary/llvm/unittests/Frontend/BUILD.gn
Commit a72f11ee20fec2df5611c49ec5ec2ce32ab8eb4c by erich.keane
Fix a pair of tests that would fail on a win32 box

The tests don't specify a triple in some cases, since they shouldn't be
necessary, so I've updated the tests to detect via macro when they are
running on win32 to give the slightly altered diagnostic.
The file was modifiedclang/test/SemaOpenCLCXX/address-space-lambda.cl
The file was modifiedclang/test/CXX/expr/expr.prim/expr.prim.lambda/default-arguments.cpp
Commit 8e923ec2a803d54154aaa0079c1cfcf146b7a22f by richard
Fix assertions and bad warnings on extremely wide bit-fields.

We used to produce a bogus warning if the width couldn't be represented
in 32 bits, and assert if it couldn't be represented in 64 bits.
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/test/SemaCXX/bitfield-layout.cpp
Commit bb8f2585c6eab263916757435d71df16d92de4a8 by sivachandra
[libc] Add implementations of ldexp[f|l].

The rounding behavior of NormalFloat to float format has been changed
to round to nearest. Also, a bug in NormalFloat to subnormal number
conversion has been fixed.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D91591
The file was modifiedlibc/config/linux/aarch64/entrypoints.txt
The file was addedlibc/test/src/math/LdExpTest.h
The file was modifiedlibc/config/linux/x86_64/entrypoints.txt
The file was addedlibc/src/math/ldexpf.cpp
The file was addedlibc/src/math/ldexpf.h
The file was addedlibc/test/src/math/ldexp_test.cpp
The file was modifiedlibc/spec/stdc.td
The file was modifiedlibc/utils/FPUtil/ManipulationFunctions.h
The file was addedlibc/src/math/ldexpl.cpp
The file was addedlibc/src/math/ldexpl.h
The file was modifiedlibc/src/math/CMakeLists.txt
The file was modifiedlibc/utils/FPUtil/NormalFloat.h
The file was addedlibc/test/src/math/ldexpf_test.cpp
The file was addedlibc/test/src/math/ldexpl_test.cpp
The file was addedlibc/src/math/ldexp.cpp
The file was modifiedlibc/test/src/math/CMakeLists.txt
The file was addedlibc/src/math/ldexp.h
Commit 16de50895e96adbe261a5ce2498366bda7b3fccd by llvm-project
honor Python2_EXECUTABLE and Python3_EXECUTABLE when they are passed to cmake

CMake's find_package(Python3) and find_package(Python2) packages have a PYTHON_EXECUTABLE, Python2_EXECUTABLE, and Python3_EXECUTABLE cmake variables which control which version of python is built against.  As far as I can tell, the rest of LLVM honors these variables. This can cause the build process to fail when  if the automatically selected version of Python can't run due to modifications of LD_LIBRARY_PATH when using spack.  The corresponding Spack issue is https://github.com/spack/spack/issues/19908.  The corresponding LLVM issue is 48180

I believe an appropriate fix is to add the variables to the list of PASSTHROUGH_VARIABLES in cmake/Modules/AddCompilerRT.cmake, and this fixed compilation errors for me.

This bug affects distributions like Gentoo and package managers like Spack which allow for combinatorial versioning.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D91536
The file was modifiedcompiler-rt/cmake/Modules/AddCompilerRT.cmake
Commit f8f6d6455f963d5924990824866c4b55ae694639 by Artem Dergachev
Revert "Revert "[analyzer] NFC: Move IssueHash to libAnalysis.""

This reverts commit 662ed9e67adace3d011f42478bc8bcb1773a2821.
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was addedclang/include/clang/Analysis/IssueHash.h
The file was addedclang/lib/Analysis/IssueHash.cpp
The file was removedclang/include/clang/StaticAnalyzer/Core/IssueHash.h
The file was modifiedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was removedclang/lib/StaticAnalyzer/Core/IssueHash.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp
Commit e5d2409689196cd1e5a8ba6f860204390f485fbc by llvmgnsyncbot
[gn build] Port f8f6d6455f9
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit 206884bf90cd9793558a9c80315ca3cfa35c25d6 by sbc
[lld][WebAssembly] Implement --unresolved-symbols

This is a more full featured version of ``--allow-undefined``.
The semantics of the different methods are as follows:

report-all:

   Report all unresolved symbols.  This is the default.  Normally the
   linker will generate an error message for each reported unresolved
   symbol but the option ``--warn-unresolved-symbols`` can change this
   to a warning.

ignore-all:

   Resolve all undefined symbols to zero.  For data and function
   addresses this is trivial.  For direct function calls, the linker
   will generate a trapping stub function in place of the undefined
   function.

import-functions:

   Generate WebAssembly imports for any undefined functions.  Undefined
   data symbols are resolved to zero as in `ignore-all`.  This
   corresponds to the legacy ``--allow-undefined`` flag.

The plan is to followup with a new mode called `import-dynamic` which
allows for statically linked binaries to refer to both data and
functions symbols from the embedder.

Differential Revision: https://reviews.llvm.org/D79248
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was addedlld/test/wasm/unresolved-symbols.s
The file was modifiedlld/wasm/SymbolTable.h
The file was modifiedlld/test/wasm/weak-undefined.ll
The file was modifiedlld/test/wasm/cxx-mangling.ll
The file was modifiedlld/wasm/Relocations.cpp
The file was modifiedlld/test/wasm/lto/weak-undefined.ll
The file was modifiedlld/wasm/Writer.cpp
The file was modifiedlld/wasm/SymbolTable.cpp
The file was modifiedlld/wasm/Options.td
The file was modifiedlld/wasm/Symbols.h
The file was modifiedlld/wasm/Config.h
The file was modifiedlld/test/wasm/archive-weak-undefined.ll
The file was modifiedlld/wasm/Symbols.cpp
The file was modifiedlld/docs/WebAssembly.rst
The file was modifiedlld/wasm/Driver.cpp
Commit b13415b59b1fbb01da0914678018c7e0eefa3291 by ravishankarm
[mlir][Linalg] Add dependence type to LinalgDependenceGraphElem.

Differential Revision: https://reviews.llvm.org/D91502
The file was modifiedmlir/include/mlir/Dialect/Linalg/Analysis/DependenceAnalysis.h
The file was modifiedmlir/lib/Dialect/Linalg/Analysis/DependenceAnalysis.cpp
Commit 67e0f791c93a23d0a523f3f05082c020f7c9109f by aeubanks
[gn build] Use forward slashes for goma directory

gn generates improper compile_commands.json files by not escaping
backslashes.
The file was modifiedllvm/utils/gn/build/toolchain/BUILD.gn
Commit 49439ff6c09ad5afc0bc2b2ecae5bb6e6a70455a by aeubanks
[CMake] Fix ExtensionDependencies.inc with multiple extensions

When polly is enabled and LLVM_BYE_LINK_INTO_TOOLS=ON is on, ExtensionDependencies.inc does not compile.

$ ninja tools/llvm-config/CMakeFiles/llvm-config.dir/llvm-config.cpp.o
tools/llvm-config/ExtensionDependencies.inc:8:1: error: excess elements in struct initializer
{{"Bye", {"Bye",nullptr}}},

ExtensionDependencies.inc pre-patch:
  std::array<ExtensionDescriptor, 2> AvailableExtensions{
  {{"Polly", {"support", "core", ...,nullptr}}},
  {{"Bye", {"Bye",nullptr}}},
  };

ExtensionDependencies.inc with this patch:
  std::array<ExtensionDescriptor, 2> AvailableExtensions{
  ExtensionDescriptor{"Polly", {"support", "core", ...,nullptr}},
  ExtensionDescriptor{"Bye", {"Bye",nullptr}},
  };

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D91641
The file was modifiedllvm/cmake/modules/AddLLVM.cmake
Commit dd6087cac087046b5cd29a21e7fff2732fb35997 by ndesaulniers
Revert "[BitCode] decode nossp fn attr"

This reverts commit 0b11d018cc2f2c6bea5dac8dc72140cdb502ca02.

Going with a simpler approach.
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was modifiedllvm/test/Bitcode/attributes.ll
Commit f4c6080ab820219c5bf78b0c2143e7fa194da296 by ndesaulniers
Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch"

This reverts commit b7926ce6d7a83cdf70c68d82bc3389c04009b841.

Going with a simpler approach.
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was removedllvm/test/Verifier/function-attribute-nossp-ssp-sspreq-sspstrong.ll
The file was modifiedllvm/utils/emacs/llvm-mode.el
The file was modifiedllvm/utils/llvm.grm
The file was removedclang/test/Frontend/optimization-remark-missed-inline-stack-protectors.c
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/docs/BitCodeFormat.rst
The file was modifiedllvm/lib/IR/Attributes.cpp
The file was modifiedllvm/lib/CodeGen/StackProtector.cpp
The file was modifiedllvm/lib/Transforms/Utils/CodeExtractor.cpp
The file was modifiedllvm/bindings/go/llvm/ir_test.go
The file was modifiedllvm/include/llvm/IR/Attributes.td
The file was modifiedllvm/test/Transforms/Inline/inline_ssp.ll
The file was modifiedllvm/utils/kate/llvm.xml
The file was modifiedclang/test/CodeGen/stack-protector.c
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
The file was modifiedllvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/test/Transforms/CodeExtractor/PartialInlineAttributes.ll
The file was removedllvm/test/Transforms/Inline/inline_nossp.ll
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was modifiedllvm/bindings/ocaml/llvm/llvm.ml
The file was modifiedllvm/include/llvm/Bitcode/LLVMBitCodes.h
The file was modifiedllvm/lib/Bitcode/Writer/BitcodeWriter.cpp
The file was modifiedllvm/test/CodeGen/X86/stack-protector-2.ll
The file was modifiedllvm/utils/vim/syntax/llvm.vim
The file was modifiedllvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp
Commit 5834996fefc937d6211dc8c8a5b200068753391a by kyrtzidis
[Frontend] Add flag to allow PCM generation despite compiler errors

As with precompiled headers, it's useful for indexers to be able to
continue through compiler errors in dependent modules.

Resolves rdar://69816264

Reviewed By: akyrtzi

Differential Revision: https://reviews.llvm.org/D91580
The file was addedclang/test/Modules/load-module-with-errors.m
The file was addedclang/test/Modules/Inputs/error.h
The file was modifiedclang/include/clang/Frontend/ASTUnit.h
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/include/clang/Frontend/FrontendOptions.h
The file was modifiedclang/tools/libclang/CIndex.cpp
The file was modifiedclang/include/clang/Frontend/FrontendActions.h
The file was modifiedclang/tools/c-index-test/core_main.cpp
The file was modifiedclang/lib/Frontend/ASTUnit.cpp
The file was modifiedclang/test/Modules/Inputs/module.map
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
Commit 6bfb4120ead7d7503f079960d7f98eacdf0be03a by dblaikie
set the alignment of mlir::AttributeStorage to 64 bit explicitly to fix 32 bit platform

On some platform (like WebAssembly), alignof(mlir::AttributeStorage) is 4 instead of 8. As a result, it makes the program crashes since PointerLikeTypeTraits<mlir::Attribute>::NumLowBitsAvailable is 3.

So I explicitly set the alignment of mlir::AttributeStoarge to 64 bits, and set PointerLikeTypeTraits<mlir::Attribute>::NumLowBitsAvailable according to it.

I also fixed an another related error (alignof(NamedAttribute) -> alignof(DictionaryAttributeStorage)) based on reviewer's comments.

Reviewed By: dblaikie, rriddle

Differential Revision: https://reviews.llvm.org/D91062
The file was modifiedmlir/include/mlir/IR/Attributes.h
The file was modifiedmlir/include/mlir/IR/AttributeSupport.h
The file was modifiedmlir/lib/IR/AttributeDetail.h
Commit 63a8ee3ddabe633bd646ea5abb8b9fea38b3d2f2 by qshanz
[NFC][Test] Add more tests for IEEE Longdouble for PowerPC
The file was modifiedllvm/test/CodeGen/PowerPC/f128-arith.ll
The file was modifiedllvm/test/CodeGen/PowerPC/f128-conv.ll
Commit 0139c8af8da7a89c02ed802df46492f5caddb41b by aeubanks
[CFGuard] Add address-taken IAT tables and delay-load support

This patch adds support for creating Guard Address-Taken IAT Entry Tables (.giats$y sections) in object files, matching the behavior of MSVC. These contain lists of address-taken imported functions, which are used by the linker to create the final GIATS table.
Additionally, if any DLLs are delay-loaded, the linker must look through the .giats tables and add the respective load thunks of address-taken imports to the GFIDS table, as these are also valid call targets.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D87544
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
The file was modifiedllvm/tools/llvm-readobj/COFFDumper.cpp
The file was modifiedlld/COFF/InputFiles.h
The file was addedllvm/test/CodeGen/WinCFGuard/cfguard-giats.ll
The file was modifiedlld/COFF/Writer.cpp
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedlld/COFF/Symbols.h
The file was modifiedlld/COFF/ICF.cpp
The file was modifiedlld/COFF/DLL.cpp
The file was addedlld/test/COFF/giats.s
The file was modifiedlld/COFF/InputFiles.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinCFGuard.h
The file was modifiedllvm/include/llvm/MC/MCObjectFileInfo.h
Commit 41bcc05e2a4e3062eb12ac6e071bc835decc38f5 by Artem Dergachev
Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis.""

This reverts commit 77bb3ebebbca13f0648beb433fbd1b06ba95a19c.
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
The file was removedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was removedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/Analyses.def
The file was removedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was addedclang/lib/Analysis/HTMLPathDiagnosticConsumer.cpp
The file was addedclang/include/clang/Analysis/PathDiagnosticConsumers.h
The file was addedclang/include/clang/Analysis/PathDiagnosticConsumers.def
The file was removedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was addedclang/lib/Analysis/SarifPathDiagnosticConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was modifiedclang/include/clang/module.modulemap
The file was addedclang/lib/Analysis/PlistPathDiagnosticConsumer.cpp
The file was addedclang/lib/Analysis/TextPathDiagnosticConsumer.cpp
The file was addedclang/lib/Analysis/PlistHTMLPathDiagnosticConsumer.cpp
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was removedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
Commit 39f1eeb07df619d627d9c4792311108696fb9d00 by llvmgnsyncbot
[gn build] Port 41bcc05e2a4
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit 6a89cb8136f3435bd977b419b683dc0acc98e61e by Artem Dergachev
Revert "Revert "Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis."""

This reverts commit 41bcc05e2a4e3062eb12ac6e071bc835decc38f5.
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
The file was removedclang/lib/Analysis/TextPathDiagnosticConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
The file was removedclang/include/clang/Analysis/PathDiagnosticConsumers.h
The file was addedclang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
The file was removedclang/include/clang/Analysis/PathDiagnosticConsumers.def
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was removedclang/lib/Analysis/SarifPathDiagnosticConsumer.cpp
The file was addedclang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/module.modulemap
The file was addedclang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
The file was modifiedclang/lib/Analysis/CMakeLists.txt
The file was addedclang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was removedclang/lib/Analysis/HTMLPathDiagnosticConsumer.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/Analyses.def
The file was removedclang/lib/Analysis/PlistHTMLPathDiagnosticConsumer.cpp
The file was addedclang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
The file was removedclang/lib/Analysis/PlistPathDiagnosticConsumer.cpp
Commit cba3e783389a6319927b4755d3fb22e2464b30a1 by yrouban
[NewPM] Disable PreservedCFGChecker and add regression unit tests

The design of the PreservedCFG Checker (landed with the commit
28012e00d80b9) has a fundamental flaw which makes it incorrect.
The checker is based on the PreservedAnalyses result returned
by functional passes: if CFGAnalyses is in the returned
PreservedAnalyses set, then the checker asserts that the CFG
snapshot saved before the pass is equal to the CFG snapshot
taken after the the pass. The problem is in passes that change
CFG and invalidate CFGAnalyses on their own. Such passes do not
return CFGanalyses in the returned PreservedAnalyses. So the
checker mistakenly expects CFG unchanged. As an example see the
class TestSimplifyCFGInvalidatingAnalysisPass in the new tests.

It is interesting that the bug was not found in LLVM. That is
because the CFG checker ran only if CFGAnalyses was checked
incorrectly:
  if (!PassPA.allAnalysesInSetPreserved<CFGAnalyses>())
    return;

but must be checked as follows:
  auto PAC = PA.getChecker<PreservedCFGCheckerAnalysis>();
  if (!(PAC.preserved() ||
        PAC.preservedSet<AllAnalysesOn<Function>>() ||
        PAC.preservedSet<CFGAnalyses>())
    return;

A fully redesigned checker will be sent as a separate follow-up
patch.

Reviewed By: Serguei Katkov, Jakub Kuderski

Differential Revision: https://reviews.llvm.org/D91324
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp
The file was modifiedllvm/unittests/IR/PassManagerTest.cpp
Commit 2b9a708491b3533c14db8bb9b43fd61c0ba4e1e1 by llvmgnsyncbot
[gn build] Port 6a89cb8136f
The file was modifiedllvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit 9c09757bca58a49d87f70584cff6f5bcb20f29b1 by eric
[libc++] Revert switch-based std::variant implementation again.

These changes cause substantial binary size increases for non-opt builds.
For example, the visit.pass.cpp test grows from 20k to 420k.

Further work will be done to re-land this patch without the size increases,
but that work is proving too tricky to fix forward.

This patch fully reverts:

* 35d226911165a9aae1f01f521a0019f1a9c0a25f

And it partially reverts:

* bb43a0cd4adc4f1fa12e0d2fd1fe9aa6b5c00e34

The latter of which added XFAIL's to new variant tests
because the new implementation needlessly makes non-throwing code
paths in variant invoke throwing code.

This means the reverted change also breaks source backwards compat
with code compiled on OS X targeting older system dylibs. There is no
need for this to be the case. We should fix it before recommitting.

Reviewed as:
https://reviews.llvm.org/D91662
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.dtor/dtor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.relops/relops.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.status/index.pass.cpp
The file was modifiedlibcxx/include/variant
The file was modifiedlibcxx/test/std/utilities/variant/variant.hash/hash.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.relops/relops_bool_conv.fail.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp
Commit ee7d315cd939017db6ca6db4827b579e8bd85ec1 by aeubanks
[DCE] Always get TargetLibraryInfo

I don't see any reason not to unconditionally retrieve TLI, it's fairly
cheap.

Fixes calls-errno.ll under NPM.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D91476
The file was modifiedllvm/test/Transforms/DCE/calls-errno.ll
The file was modifiedllvm/lib/Transforms/Scalar/DCE.cpp
Commit e2537353e63859a2a36da93fa97cb16275681a23 by Duncan P. N. Exon Smith
ADT: Share an implementation for single-element insert in SmallVector, NFC

Factor out `SmallVectorImple::insert_one_impl`, a common implementation
for `insert(iterator, T&&)` and `insert(iterator, T const&)`. This is
just a clean up and has no functionality change.

Differential Revision: https://reviews.llvm.org/D91674
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
Commit 989b19442905b2a8aa83e1db65c1c5ab1211a27b by stellaraccident
[mlir][Python] Make DenseElementsAttr loading be int size agnostic.

* I had missed the note about "Standard size" in the docs. On Windows, the 'l' types are 32bit.
* This fixes the only failing MLIR-Python test on Windows.

Differential Revision: https://reviews.llvm.org/D91283
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
Commit 4bc085f5b3eda5273721fd787ffa65e2f155fc45 by usx
[clangd] Add OverridenBy Relation to index.

This was previously explored in reviews.llvm.org/D69094.

Differential Revision: https://reviews.llvm.org/D91610
The file was modifiedclang-tools-extra/clangd/test/index-serialization/Inputs/sample.h
The file was modifiedclang-tools-extra/clangd/index/Relation.cpp
The file was modifiedclang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Relation.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
The file was modifiedclang-tools-extra/clangd/test/index-serialization/Inputs/sample.cpp
The file was modifiedclang-tools-extra/clangd/index/Serialization.cpp
The file was modifiedclang-tools-extra/clangd/test/index-serialization/Inputs/sample.idx
Commit 94e4ec6499a237aeec4f1fe8f2cc1e9bcb33f971 by liufeng.ee
Add CalibratedQuantizedType to quant dialect

This type supports a calibrated type with min, max provided.

This will be used for importing calibration values of intermediate tensors (e.g. LSTM) which can't be imported with QuantStats op.

This type was initially suggested in the following RFC: https://llvm.discourse.group/t/rfc-a-proposal-for-implementing-quantization-transformations-in-mlir/655

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D91584
The file was addedmlir/test/Dialect/Quant/parse-calibrated.mlir
The file was modifiedmlir/lib/Dialect/Quant/IR/QuantTypes.cpp
The file was modifiedmlir/lib/Dialect/Quant/IR/TypeDetail.h
The file was modifiedmlir/lib/Dialect/Quant/IR/QuantOps.cpp
The file was modifiedmlir/include/mlir/Dialect/Quant/QuantTypes.h
The file was modifiedmlir/lib/Dialect/Quant/IR/TypeParser.cpp
The file was addedmlir/test/Dialect/Quant/parse-calibrated-invalid.mlir
Commit 9e3b4f4941f9dfb9b9ad91c5876f8f1c4d8be773 by aeubanks
[JumpThreading] Make -print-lvi-after-jump-threading work with NPM
The file was modifiedllvm/lib/Transforms/Scalar/JumpThreading.cpp
The file was modifiedllvm/test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll
Commit 32876117625ab7ad294651de8898c40fbe827936 by aeubanks
[test] Pin size-remarks.ll to legacy PM

This tests legacy PM specific stuff.
The file was modifiedllvm/test/Other/size-remarks.ll
Commit f0b0bab34dd82c07d153d31363d89ebd04cc733d by craig.topper
[X86] Use GF2P8AFFINEQB to implement vector bitreverse.

We can use GF2P8AFFINEQB to reverse bits in a byte. Shuffles are needed to reverse the bytes in elements larger than i8. LegalizeVectorOps takes care of inserting the shuffle for the larger element size.

We already have Custom lowering for v16i8 with SSSE3, v32i8 with AVX, and v64i8 with AVX512BW.

I think we might be able to use this for scalars too by moving into a vector and back. But I'll save that for a follow up as its a little more involved.

Reviewed By: RKSimon, pengfei

Differential Revision: https://reviews.llvm.org/D91515
The file was modifiedllvm/test/Analysis/CostModel/X86/bitreverse.ll
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-bitreverse.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 77133b29b93406638915c7d9a6b8b8a81a067df3 by zhanghb97
[mlir] Get array from the dense elements attribute with buffer protocol.

- Add `mlirElementsAttrGetType` C API.
- Add `def_buffer` binding to PyDenseElementsAttribute.
- Implement the protocol to access the buffer.

Differential Revision: https://reviews.llvm.org/D91021
The file was modifiedmlir/test/Bindings/Python/ir_array_attributes.py
The file was modifiedmlir/include/mlir-c/StandardAttributes.h
The file was modifiedmlir/test/CAPI/ir.c
The file was modifiedmlir/lib/CAPI/IR/StandardAttributes.cpp
The file was modifiedmlir/lib/Bindings/Python/IRModules.cpp
The file was modifiedmlir/docs/Bindings/Python.md
Commit 877b5b1085b0d6761deeb89a3fdd976388c53329 by aeubanks
[test] Make scc-pass-printer.ll work with NPM

Pin some legacy PM specific RUN lines to legacy PM.
The file was modifiedllvm/test/Other/scc-pass-printer.ll
Commit 1c0ef2984dc373a995e2d2a5e5a205fe29862464 by Vitaly Buka
[NFC][tsan] Prepepare for more interceptors which use cond_wait()
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Commit 955341a722a0a204c79f6b948e4fe0f23bb56e30 by schuett
test commit

add whitespace
The file was modifiedclang/lib/Tooling/Tooling.cpp
Commit 65fd17c241e22e1671e81efdb683687369c2feb3 by grimar
[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types.

When we produce an YAML output, we also print leading zeroes currently.
An output might look like this:

```
- Name:    .dynsym
  Type:    SHT_DYNSYM
  Address: 0x0000000000001000
  EntSize: 0x0000000000000018
```

There are probably no reason to print leading zeroes.
It just makes harder to read values. This patch stops printing them.
The output becomes like:

```
- Name:    .dynsym
  Type:    SHT_DYNSYM
  Address: 0x1000
  EntSize: 0x18
```

This affects obj2yaml mostly, but also dsymutil and llvm-xray tools output.

Differential revision: https://reviews.llvm.org/D90930
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_armv7.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_aranges.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/lc-ident.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_empty.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/function_section.yaml
The file was modifiedllvm/test/tools/dsymutil/debug-map-parsing.test
The file was modifiedllvm/test/tools/llvm-xray/ARM/extract-instrmap.test
The file was modifiedllvm/test/ObjectYAML/MachO/weak_bind_opcode.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/event_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/data_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/export_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/note-section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/shinfo.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/call-graph-profile-section.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-macho.ll
The file was modifiedllvm/test/tools/yaml2obj/ELF/abiversion.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/export_trie.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/elem_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/LittleEndian.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/header.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_ppc_big_endian.yaml
The file was modifiedllvm/test/tools/obj2yaml/MachO/unrecognized-debug-section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-ranges.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/fat_macho_i386_x86_64.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/global_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_x86_64.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/null-section.yaml
The file was modifiedllvm/test/tools/dsymutil/ARM/extern-alias.test
The file was modifiedllvm/test/ObjectYAML/MachO/bogus_load_command.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/table_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/bind_opcode.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/no-symbol-reloc.yaml
The file was modifiedllvm/test/MC/WebAssembly/tables.s
The file was modifiedllvm/test/tools/obj2yaml/ELF/bb-addr-map.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/start_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/verdef-section.yaml
The file was modifiedllvm/lib/Support/YAMLTraits.cpp
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_ranges.yaml
The file was modifiedllvm/test/tools/obj2yaml/Minidump/basic.yaml
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
The file was modifiedllvm/test/tools/obj2yaml/ELF/mips-abi-flags.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/program-headers.yaml
The file was modifiedllvm/test/tools/obj2yaml/XCOFF/aix.yaml
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.s
The file was modifiedllvm/test/ObjectYAML/MachO/BigEndian.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/dynamic-section.yaml
The file was modifiedllvm/test/MC/WebAssembly/wasm64.s
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-pie.ll
The file was modifiedllvm/test/Object/AArch64/yaml2obj-elf-aarch64-rel.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/symtab.yaml
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedllvm/test/Object/obj2yaml.test
The file was modifiedllvm/test/MC/WebAssembly/event-section.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_arm64.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/gnu-hash-section.yaml
The file was modifiedllvm/test/MC/WebAssembly/external-func-address.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/custom_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/versym-section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/sht-symtab-shndx.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/relocation-type.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/rebase_opcode.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/virtual_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/libcall.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/hash-section.yaml
The file was modifiedllvm/test/CodeGen/WebAssembly/function-pointer64.ll
The file was modifiedllvm/test/tools/dsymutil/X86/common-sym-multi.test
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF2-AddrSize8-FormValues.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/duplicate-symbol-and-section-names.yaml
The file was modifiedllvm/test/Object/Mips/elf-mips64-rel.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-symbolize.ll
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedllvm/test/tools/obj2yaml/ELF/implicit-sections-order.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml
The file was modifiedllvm/test/MC/WebAssembly/global-ctor-dtor.ll
The file was modifiedllvm/test/ObjectYAML/wasm/code_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/verneed-section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-aranges.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/weak_symbols.yaml
The file was modifiedllvm/test/tools/dsymutil/yaml-object-address-rewrite.test
The file was modifiedllvm/test/MC/WebAssembly/unnamed-data.ll
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/section-type.yaml
The file was modifiedllvm/test/MC/WebAssembly/tls.s
The file was modifiedllvm/test/ObjectYAML/MachO/lazy_bind_opcode.yaml
The file was modifiedllvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/stack-sizes.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/memory_section.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap.ll
The file was modifiedllvm/test/tools/obj2yaml/Archives/regular.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/arm-exidx-section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/out_of_order_linkedit.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/type_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/sections-info.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/entsize.yaml
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedllvm/test/ObjectYAML/wasm/import_memory_shared.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/special-symbol-indices.yaml
The file was modifiedllvm/test/MC/WebAssembly/external-data.ll
The file was modifiedllvm/test/ObjectYAML/MachO/mach_header_64.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/mach_header.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/dynamic-section-arch-tags.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/relr-section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-addr.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/symbol-type.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/sections.yaml
The file was modifiedllvm/test/tools/llvm-xray/AArch64/extract-instrmap.test
The file was modifiedllvm/test/ObjectYAML/wasm/dylink_section.yaml
Commit 9d77584fe04010a2aa536308d4032bf5677d7000 by zeratul976
[clangd] Call hierarchy (Protocol layer)

The protocol is based on the spec found here:
https://microsoft.github.io/language-server-protocol/specifications/specification-3-16/#textDocument_prepareCallHierarchy

Differential Revision: https://reviews.llvm.org/D89296
The file was modifiedclang-tools-extra/clangd/Protocol.h
The file was modifiedclang-tools-extra/clangd/Protocol.cpp
Commit c173f1b8ebbacf103bafcc82e19c9bc2b613b845 by Piotr Sobczak
SpeculativeExecution: Allow speculating more instruction types

Support more instructions in SpeculativeExecution pass:
- ExtractElement
- InsertElement
- ShuffleVector

Differential Revision: https://reviews.llvm.org/D91633
The file was modifiedllvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
The file was modifiedllvm/test/Transforms/SpeculativeExecution/spec-fp.ll
Commit fc40a03323a4b265ccbed34a07e281b13c5e8367 by grimar
Revert "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types."

This reverts commit 65fd17c241e22e1671e81efdb683687369c2feb3.

It breaks LLD/MachO tests that seems use obj2yaml the check the output.
The file was modifiedllvm/test/Object/AArch64/yaml2obj-elf-aarch64-rel.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/virtual_section.yaml
The file was modifiedllvm/test/Object/Mips/elf-mips64-rel.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/header.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-addr.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/special-symbol-indices.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/bind_opcode.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_x86_64.yaml
The file was modifiedllvm/test/tools/dsymutil/yaml-object-address-rewrite.test
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_arm64.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/program-headers.yaml
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedllvm/test/ObjectYAML/wasm/memory_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/entsize.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/relocation-type.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml
The file was modifiedllvm/test/MC/WebAssembly/tables.s
The file was modifiedllvm/test/tools/obj2yaml/ELF/stack-sizes.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/implicit-sections-order.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/export_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/note-section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/call-graph-profile-section.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-pie.ll
The file was modifiedllvm/test/ObjectYAML/MachO/export_trie.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/dynamic-section-arch-tags.yaml
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedllvm/test/ObjectYAML/MachO/weak_bind_opcode.yaml
The file was modifiedllvm/test/MC/WebAssembly/unnamed-data.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/sections.yaml
The file was modifiedllvm/test/MC/WebAssembly/external-func-address.ll
The file was modifiedllvm/test/ObjectYAML/MachO/mach_header.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/hash-section.yaml
The file was modifiedllvm/lib/Support/YAMLTraits.cpp
The file was modifiedllvm/test/tools/obj2yaml/ELF/symbol-type.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/section-type.yaml
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.s
The file was modifiedllvm/test/ObjectYAML/MachO/BigEndian.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/versym-section.yaml
The file was modifiedllvm/test/CodeGen/WebAssembly/function-pointer64.ll
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-symbolize.ll
The file was modifiedllvm/test/MC/WebAssembly/global-ctor-dtor.ll
The file was modifiedllvm/test/ObjectYAML/MachO/fat_macho_i386_x86_64.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml
The file was modifiedllvm/test/MC/WebAssembly/event-section.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_ranges.yaml
The file was modifiedllvm/test/MC/WebAssembly/libcall.ll
The file was modifiedllvm/test/tools/obj2yaml/MachO/unrecognized-debug-section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/out_of_order_linkedit.yaml
The file was modifiedllvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/shinfo.yaml
The file was modifiedllvm/test/tools/dsymutil/X86/common-sym-multi.test
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
The file was modifiedllvm/test/tools/dsymutil/ARM/extern-alias.test
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_armv7.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/start_section.yaml
The file was modifiedllvm/test/tools/yaml2obj/ELF/abiversion.yaml
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
The file was modifiedllvm/test/tools/obj2yaml/ELF/relr-section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/dylink_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_ppc_big_endian.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/dynamic-section.yaml
The file was modifiedllvm/test/tools/llvm-xray/AArch64/extract-instrmap.test
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-aranges.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/sections-info.yaml
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedllvm/test/ObjectYAML/MachO/rebase_opcode.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/global_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/mach_header_64.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/code_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/duplicate-symbol-and-section-names.yaml
The file was modifiedllvm/test/tools/llvm-xray/ARM/extract-instrmap.test
The file was modifiedllvm/test/tools/obj2yaml/XCOFF/aix.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/elem_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/external-data.ll
The file was modifiedllvm/test/ObjectYAML/MachO/LittleEndian.yaml
The file was modifiedllvm/test/Object/obj2yaml.test
The file was modifiedllvm/test/tools/dsymutil/debug-map-parsing.test
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF2-AddrSize8-FormValues.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/table_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/Minidump/basic.yaml
The file was modifiedllvm/test/MC/WebAssembly/wasm64.s
The file was modifiedllvm/test/MC/WebAssembly/tls.s
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-macho.ll
The file was modifiedllvm/test/ObjectYAML/wasm/function_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/custom_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/import_memory_shared.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/null-section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_empty.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/lc-ident.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/bogus_load_command.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/data_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/type_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/sht-symtab-shndx.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/gnu-hash-section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/weak_symbols.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/arm-exidx-section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/mips-abi-flags.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/verneed-section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/event_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/Archives/regular.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/lazy_bind_opcode.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/no-symbol-reloc.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_aranges.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/symtab.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-ranges.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/verdef-section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/bb-addr-map.yaml
Commit 2fa38fa9a651553080620f4c9883d075df2a706e by Raphael Isemann
[lldb] Python3 byte<->string issue in patch-crashlog.py
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
Commit 83a03867da128bf9410ae15eb451500ed8c800f5 by martin
[libcxx] Add missing _LIBCPP_FUNC_VIS on a few win32 locale functions

These functions are called directly from the public installed
headers, and thus need to be exported in DLL builds, just like
some other functions in the same header (e.g. snprintf_l).

This fixes e.g. test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp
in mingw configurations.

Differential Revision: https://reviews.llvm.org/D91328
The file was modifiedlibcxx/include/support/win32/locale_win32.h
Commit 2be569870486a2068667f4625723c0a7409f4c97 by Jan Svoboda
[clang][cli] Add ability to make fixups to CompilerInvocation after option parsing

Depends on D83211

Reviewed By: Bigcheese

Original patch by Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D83298
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit 052d24af2913e8e2a0183bcab8af9c8c9cad94f1 by zinenko
[mlir] Introduce support for parametric side-effects

The side effect infrastructure is based on the Effect and Resource class
templates, instances of instantiations of which are constructed as
thread-local singletons. With this scheme, it is impossible to further
parameterize either of those, or the EffectInstance class that contains
pointers to an Effect and Resource instances. Such a parameterization is
necessary to express more detailed side effects, e.g. those of a loop or
a function call with affine operations inside where it is possible to
precisely specify the slices of accessed buffers.

Include an additional Attribute to EffectInstance class for further
parameterization. This allows to leverage the dialect-specific
registration and uniquing capabilities of the attribute infrastructure
without requiring Effect or Resource instantiations to be attached to a
dialect themselves.

Split out the generic part of the side effect Tablegen classes into a
separate file to avoid generating built-in MemoryEffect interfaces when
processing any .td file that includes SideEffectInterfaceBase.td.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D91493
The file was modifiedmlir/test/lib/Dialect/Test/CMakeLists.txt
The file was modifiedmlir/test/lib/Dialect/Test/TestInterfaces.td
The file was modifiedmlir/test/lib/IR/TestSideEffects.cpp
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.h
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.h
The file was modifiedmlir/test/lib/Dialect/Test/TestOps.td
The file was addedmlir/test/lib/Dialect/Test/TestInterfaces.cpp
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.td
The file was modifiedmlir/test/IR/test-side-effects.mlir
The file was addedmlir/test/lib/Dialect/Test/TestInterfaces.h
The file was addedmlir/include/mlir/Interfaces/SideEffectInterfaceBase.td
Commit 05eeda9752b393c074dd22716670bc3b9671270d by Jan Svoboda
[clang][cli] Turn arcmt-* options into a single option

- The new option, -arcmt-action, is a simple enum based option.
- The driver is modified to translate the existing -ccc-acmt-* options accordingly
Depends on D83298

Reviewed By: Bigcheese

Original patch by Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D83315
The file was modifiedclang/test/ARCMT/cxx-checking.mm
The file was modifiedclang/test/ARCMT/with-arc-mode-modify.m.result
The file was modifiedclang/test/ARCMT/migrate-plist-output.m
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedclang/test/ARCMT/atautorelease-check.m
The file was modifiedclang/test/ARCMT/driver-migrate.m
The file was modifiedclang/test/ARCMT/migrate-with-pch.m
The file was modifiedclang/test/ARCMT/check-with-pch.m
The file was modifiedclang/test/ARCMT/releases-driver.m
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/test/ARCMT/nonobjc-to-objc-cast-2.m
The file was modifiedclang/test/ARCMT/verify.m
The file was modifiedclang/test/ARCMT/releases-driver.m.result
The file was modifiedclang/test/ARCMT/GC-check-warn-nsalloc.m
The file was modifiedclang/test/ARCMT/checking-in-arc.m
The file was modifiedclang/test/ARCMT/with-arc-mode-modify.m
The file was modifiedclang/test/ARCMT/migrate.m
The file was modifiedclang/test/ARCMT/check-with-serialized-diag.m
The file was modifiedclang/test/ARCMT/check-api.m
The file was modifiedclang/test/ARCMT/migrate-space-in-path.m
The file was modifiedclang/test/ARCMT/no-canceling-bridge-to-bridge-cast.m
The file was modifiedclang/test/ARCMT/checking.m
The file was modifiedclang/test/ARCMT/migrate-emit-errors.m
The file was modifiedclang/test/ARCMT/GC-check.m
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp
Commit eef203dbdf841945ac360ab001003df958d8fa9a by llvm-dev
[Analysis] CGSCCPassManager.cpp - fix Wshadow warnings. NFCI.
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp
Commit 9aa789820027e9d1dcec489b269cf94db31624b8 by grimar
Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930).

This reverts reverting commit fc40a03323a4b265ccbed34a07e281b13c5e8367
and fixes LLD (MachO/wasm) tests that failed previously.
The file was modifiedlld/test/wasm/weak-symbols.ll
The file was modifiedllvm/test/ObjectYAML/MachO/BigEndian.yaml
The file was modifiedllvm/test/MC/WebAssembly/tls.s
The file was modifiedllvm/test/ObjectYAML/MachO/lc-ident.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/sht-symtab-shndx.yaml
The file was modifiedlld/test/wasm/stack-pointer.ll
The file was modifiedllvm/test/ObjectYAML/MachO/weak_bind_opcode.yaml
The file was modifiedlld/test/wasm/relocatable.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/call-graph-profile-section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/hash-section.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-pie.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF2-AddrSize8-FormValues.yaml
The file was modifiedllvm/test/MC/WebAssembly/external-func-address.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-aranges.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_aranges.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/program-headers.yaml
The file was modifiedlld/test/wasm/reloc-addend.ll
The file was modifiedllvm/test/tools/yaml2obj/ELF/abiversion.yaml
The file was modifiedlld/test/wasm/data-layout.ll
The file was modifiedllvm/test/MC/WebAssembly/type-index.s
The file was modifiedlld/test/wasm/large-memory.test
The file was modifiedllvm/test/ObjectYAML/wasm/import_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/sections.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/weak_symbols.yaml
The file was modifiedllvm/test/tools/dsymutil/debug-map-parsing.test
The file was modifiedlld/test/wasm/weak-undefined.ll
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_x86_64.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/fat_macho_i386_x86_64.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/data_section.yaml
The file was modifiedlld/test/wasm/shared-memory.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/verdef-section.yaml
The file was modifiedlld/test/mach-o/bind-opcodes.yaml
The file was modifiedlld/test/wasm/alias.s
The file was modifiedllvm/test/tools/obj2yaml/ELF/mips-abi-flags.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/function_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/no-symbol-reloc.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/special-symbol-indices.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/null-section.yaml
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/note-section.yaml
The file was modifiedlld/test/wasm/export-table.test
The file was modifiedllvm/test/ObjectYAML/wasm/import_memory_shared.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/global_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/XCOFF/aix.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/implicit-sections-order.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/export_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/data-section.s
The file was modifiedllvm/test/ObjectYAML/MachO/mach_header_64.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/bind_opcode.yaml
The file was modifiedllvm/test/Object/AArch64/yaml2obj-elf-aarch64-rel.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/rebase_opcode.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/duplicate-symbol-and-section-names.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/stack-sizes.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/dynamic-section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/bb-addr-map.yaml
The file was modifiedllvm/test/tools/obj2yaml/MachO/debug-aranges.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_armv7.yaml
The file was modifiedllvm/test/MC/WebAssembly/reloc-pic.s
The file was modifiedllvm/test/ObjectYAML/wasm/start_section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/type_section.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_empty.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/event_section.yaml
The file was modifiedllvm/test/tools/dsymutil/yaml-object-address-rewrite.test
The file was modifiedllvm/test/tools/obj2yaml/ELF/section-type.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/mach_header.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_arm64.yaml
The file was modifiedlld/test/wasm/weak-alias-overide.ll
The file was modifiedllvm/test/ObjectYAML/MachO/out_of_order_linkedit.yaml
The file was modifiedllvm/test/tools/llvm-xray/ARM/extract-instrmap.test
The file was modifiedllvm/test/ObjectYAML/wasm/memory_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/event-section.ll
The file was modifiedlld/test/wasm/pie.ll
The file was modifiedlld/test/wasm/local-symbols.ll
The file was modifiedllvm/test/MC/WebAssembly/wasm64.s
The file was modifiedlld/test/wasm/shared-memory-no-atomics.yaml
The file was modifiedlld/test/wasm/emit-relocs.ll
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml
The file was modifiedlld/test/wasm/import-table.test
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF-debug_ranges.yaml
The file was modifiedlld/test/wasm/shared.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-ranges.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/custom_section.yaml
The file was modifiedllvm/test/tools/dsymutil/X86/common-sym-multi.test
The file was modifiedllvm/test/ObjectYAML/MachO/virtual_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/tables.s
The file was modifiedllvm/test/MC/WebAssembly/comdat.ll
The file was modifiedllvm/test/Object/obj2yaml.test
The file was modifiedllvm/test/MC/WebAssembly/libcall.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/versym-section.yaml
The file was modifiedlld/test/wasm/weak-alias.ll
The file was modifiedllvm/lib/Support/YAMLTraits.cpp
The file was modifiedllvm/test/tools/obj2yaml/ELF/dynamic-section-arch-tags.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/relr-section.yaml
The file was modifiedllvm/test/MC/WebAssembly/assembler-binary.ll
The file was modifiedllvm/test/ObjectYAML/MachO/LittleEndian.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/bogus_load_command.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/dylink_section.yaml
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedllvm/test/MC/WebAssembly/external-data.ll
The file was modifiedllvm/test/ObjectYAML/wasm/table_section.yaml
The file was modifiedllvm/test/MC/WebAssembly/unnamed-data.ll
The file was modifiedlld/test/wasm/growable-table.test
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-str.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/DWARF/debug-addr.yaml
The file was modifiedlld/test/wasm/import-memory.test
The file was modifiedllvm/test/tools/obj2yaml/ELF/shinfo.yaml
The file was modifiedlld/test/wasm/wrap.ll
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedllvm/test/tools/llvm-xray/AArch64/extract-instrmap.test
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-symbolize.ll
The file was modifiedllvm/test/CodeGen/WebAssembly/function-pointer64.ll
The file was modifiedllvm/test/ObjectYAML/MachO/relocations_ppc_big_endian.yaml
The file was modifiedllvm/test/tools/dsymutil/ARM/extern-alias.test
The file was modifiedlld/test/wasm/many-functions.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/relocation-type.yaml
The file was modifiedllvm/test/tools/obj2yaml/Archives/regular.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/entsize.yaml
The file was modifiedllvm/test/MC/WebAssembly/weak-alias.s
The file was modifiedllvm/test/ObjectYAML/wasm/code_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/arm-exidx-section.yaml
The file was modifiedllvm/test/tools/obj2yaml/MachO/unrecognized-debug-section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/elem_section.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/sections-info.yaml
The file was modifiedlld/test/wasm/section-symbol-relocs.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/lazy_bind_opcode.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/verneed-section.yaml
The file was modifiedllvm/test/ObjectYAML/wasm/header.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml
The file was modifiedllvm/test/tools/obj2yaml/ELF/symbol-type.yaml
The file was modifiedllvm/test/Object/Mips/elf-mips64-rel.yaml
The file was modifiedllvm/test/tools/llvm-xray/X86/extract-instrmap-macho.ll
The file was modifiedllvm/test/tools/obj2yaml/ELF/gnu-hash-section.yaml
The file was modifiedllvm/test/tools/obj2yaml/Minidump/basic.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/symtab.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/export_trie.yaml
The file was modifiedllvm/test/MC/WebAssembly/global-ctor-dtor.ll
Commit ccf500ce00c5768ae98248a8de90408488235aa7 by andrzej.warzynski
[NFC] Add missing dependency in the IR unittests

This missing dependency has caused build failures when
`BUILD_SHARED_LIBS` is set to `ON`. The breaking change was introduced
here:
  * https://reviews.llvm.org/D91324

Failing buildbot:
  * http://lab.llvm.org:8011/#/builders/66/builds/555
The file was modifiedllvm/unittests/IR/CMakeLists.txt
Commit 163929d7a620b774ae6335be77fc539765e5d22e by esme.yi
[NFC][POwerPC] Added testcases of constant-i64.
The file was modifiedllvm/test/CodeGen/PowerPC/constants-i64.ll
Commit 5e696d895bde1eb584a9de5c9feba1a98c6bb487 by Jan Svoboda
[clang][cli] Remove NormalizerRetTy and use the decltype of the KeyPath instead

Depends on D83315

Reviewed By: Bigcheese

Original patch by Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D83406
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedllvm/include/llvm/Option/OptParser.td
The file was modifiedllvm/unittests/Option/OptionMarshallingTest.cpp
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp
Commit 8b97e17d161a177ae54c989e6e550930f6a75876 by csigg
[mlir] Simplify code generated by ConvertToLLVMPattern::getStridedElementPtr().

Make the interface match the one of ConvertToLLVMPattern::getDataPtr() (to be removed in a separate change).

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D91599
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-dynamic-memref-ops.mlir
The file was modifiedmlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/Conversion/VectorToROCDL/VectorToROCDL.cpp
The file was modifiedmlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
Commit 16eb853ffdd1a1ad7c95455b7795c5f004402e46 by Vitaly Buka
[tsan] Add pthread_cond_clockwait interceptor

Fixes https://github.com/google/sanitizers/issues/1259

Reviewed By: dvyukov

Differential Revision: https://reviews.llvm.org/D91684
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was addedcompiler-rt/test/tsan/Linux/clockwait_double_lock.c
Commit 3e1f1b406e92115f2a36294c2084a8b3a5d6a651 by mgorny
[lldb] [test] Pass -mmmx to x86-gp-write test explicitly

Pass -mmmx explicitly to fix build failure with FreeBSD's clang on i386.

Differential Revision: https://reviews.llvm.org/D91578
The file was modifiedlldb/test/Shell/Register/x86-gp-write.test
Commit 5a75512eba7ef351dab6f699b45c8bef37cb60b7 by mgorny
[lldb] [test] Mark command-process-connect.test XFAIL

We are still investigating why 'process connect' does not work while
'gdb-remote' does.

Signed-off-by: Michał Górny <mgorny@moritz.systems>
The file was modifiedlldb/test/Shell/Commands/command-process-connect.test
Commit b48ace051c4bd0a51152ace717bb3f7104f70433 by mgorny
[lldb] [test] Un-XFAIL TestMultipleDebuggers.py

This test is flaky, and for the time being we do not mark them as XFAIL.
The file was modifiedlldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
Commit 97a2eac3a924f3081bf80ee69ce59bc89257b857 by mgorny
[lldb] [test] Un-XFAIL tests on freebsd/i386

Restrict i386-specific XFAIL on a few tests to non-FreeBSD systems,
as they pass on FreeBSD.

Differential Revision: https://reviews.llvm.org/D91645
The file was modifiedlldb/test/API/functionalities/exec/TestExec.py
The file was modifiedlldb/test/API/functionalities/step-avoids-no-debug/TestStepNoDebug.py
Commit 1e6fc2fa532c280abec04f83410dfdb3760dfc0f by Jan Svoboda
[clang][cli] Port Migrator option flags to new option parsing system

Depends on D83406

Reviewed By: Bigcheese

Original patch by Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D83690
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit f33118c61ce051f13515f5c9b862302fc4fdb89e by mkazantsev
[IndVars] Support different types of ExitCount when optimizing exit conds

In some cases we can handle IV and iter count of different types. It's a typical situation
after IV have been widened. This patch adds support for such cases, when legal.

Differential Revision: https://reviews.llvm.org/D88528
Reviewed By: skatkov
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
The file was modifiedllvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
Commit 50f12ade2de1b30e989c13f410461cb27c126f13 by david.spickett
[lldb] Fix a couple of remote llgs tests

init_llgs_test no longer takes an argument
but these two were not updated.

Also fix some mistakes in TestAutoInstallMainExecutable
to get it passing again.

Reviewed By: JDevlieghere, labath

Differential Revision: https://reviews.llvm.org/D91612
The file was modifiedlldb/test/API/commands/target/auto-install-main-executable/TestAutoInstallMainExecutable.py
The file was modifiedlldb/test/API/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py
Commit 096bd9b293b42a5d30bca483b3f50667583385aa by Vitaly Buka
[sanitizer] Fix typo in log messages

Fix typo in log messages

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D91492
The file was modifiedcompiler-rt/lib/asan/asan_interceptors.h
The file was modifiedcompiler-rt/lib/msan/msan_interceptors.cpp
Commit 680931af2757fb495c5727d335ffa580fb3dbe98 by flo
[Matrix] Adjust matrix pointer type for inline asm arguments.

Matrix types in memory are represented as arrays, but accessed through
vector pointers, with the alignment specified on the access operation.

For inline assembly, update pointer arguments to use vector pointers.
Otherwise there will be a mis-match if the matrix is also an
input-argument which is represented as vector.

Reviewed By: nickdesaulniers

Differential Revision: https://reviews.llvm.org/D91631
The file was modifiedclang/lib/CodeGen/CGStmt.cpp
The file was modifiedclang/test/CodeGen/matrix-type.c
Commit 4dbe12e86649ba6b5f03a9ba97e84d718727f7a7 by benny.kra
[SLP] Use the minimum alignment of the load bundle when forming a masked.gather

Instead of the first load. That works when vectorizing contiguous loads,
but not for gathers.

Fixes a miscompile introduced in fcad8d3635cff61a2749dcef94c0d51fa1e3e413.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/pr47623.ll
Commit 8cdc538873879bd57c3ba71956d68b49a2973a45 by abidh
Add sysroot/lib to library search path of baremetal toolchain.

Baremetal toolchain is not adding sysroot/lib to the library
search path. This is forcing the user to do it manually. This commit
fixes this shortcoming by adding the sysroot/lib to library search path
if sysroot is not empty.

Reviewed By: jroelofs

Differential Revision: https://reviews.llvm.org/D91559
The file was modifiedclang/test/Driver/baremetal.cpp
The file was modifiedclang/lib/Driver/ToolChains/BareMetal.cpp
Commit bcaa19894994f1363a10c082541efb67435399d1 by steveire
Remove unportable test

The default content of translation unit varies too much between
platforms.
The file was modifiedclang/unittests/AST/ASTTraverserTest.cpp
Commit 871fe71f2951cb19421a2b47ddb54ed6b3c8cba2 by aaron
Fix typo for hasAnyOverloadedOperatorName; NFC
The file was modifiedclang/docs/LibASTMatchersReference.html
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit da2e4728c71f9f8569246fb881c21811f8182c75 by samuel.tebbs
[ARM][LowOverheadLoops] Merge VCMP and VPST across VPT blocks

This patch adds support for combining a VPST with a dangling VCMP from a
previous VPT block.

Differential Revision: https://reviews.llvm.org/D90935
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vcmp-vpst-combination-across-blocks.mir
Commit ccd9091d4a2fd55cb455e61fa77530e1a5de6e69 by Raphael Isemann
[lldb][NFC] Don't let Process inherit from UserID

I noticed that Process is inheriting from UserID to store its PID value. This patch
replaces this with a dedicated field in the Process class. This is NFC, but has some
small effects on the code using Process:
* `GetID()` now returns a `lldb::pid_t` like all other process code instead of `lldb::user_id_t`. Both are typedefs for `uint64_t`, so no change in behaviour.
* The equality operators defined for UserID no longer accept Process instances.
* Removes the inherited method `Process::Clear()` which didn't actually clear anything beside the PID value.

We maybe should also remove the getters/setters to `S/GetPID` or something like that. I can update all the code for that
in a follow-up NFC commit.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D91699
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/include/lldb/Target/Process.h
Commit 45b8e37afcf41ec99e932beac107b0fb43861933 by paulsson
[SystemZ] Use ISD::ABS opcode during isel.

The SystemZISD::IABS node is no longer needed since ISD::ABS can be used
instead.

Review: Ulrich Weigand
Differential Revision: https://reviews.llvm.org/D91697
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrVector.td
The file was modifiedllvm/lib/Target/SystemZ/SystemZISelLowering.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZInstrInfo.td
The file was modifiedllvm/lib/Target/SystemZ/SystemZOperators.td
Commit aad3ea8983a84827f8d4bc81d76b2a5fe218430e by hokein.wu
[clangd] Remove the trailing "." in add-using message.

to be consistent witih other code actions.

Reviewed By: adamcz

Differential Revision: https://reviews.llvm.org/D91694
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp
The file was modifiedclang-tools-extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
Commit a8a79c90699a7ae9dee07daf7281cbbd592bf6ea by flo
[ConstraintElimination] Refactor constraint extraction (NFC).

This patch generalizes the extraction of a constraint for a given
condition. It allows decompose to return a vector of c * X pairs, which
allows de-composing multiple instructions in the future.

It also adds more clarifying comments.
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
Commit 9f69c1bc54f415e4746732bdee75f4cc155c4762 by jay.foad
[AMDGPU] Rename pseudo S_WAITCNT_IDLE to S_WAIT_IDLE. NFC.
The file was modifiedllvm/lib/Target/AMDGPU/SOPInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
Commit f45c052c9e62a0482d80059ad1eddd8f36ed40ca by goncharov.mikhail
Fix unused variables in release build

Differential Revision: https://reviews.llvm.org/D91705
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 8270f8c252d7013761c54e5bf528ac3e4e3b517c by llvm-dev
[X86] Add broadcast merge test case for PR48215
The file was addedllvm/test/CodeGen/X86/pr48215.ll
Commit bd4662cd3f3743e08699e6bab976d9e7b163ece0 by hokein.wu
[AST] Enhance the const expression evaluator to support error-dependent exprs.

Fix a crash when evaluating a constexpr function which contains
recovery-exprs. https://bugs.llvm.org/show_bug.cgi?id=46837

Would be nice to have constant expression evaluator support general template
value-dependent expressions, but it requires more work.

This patch is a good start I think, to handle the error-only
value-dependent expressions.

Differential Revision: https://reviews.llvm.org/D84637
The file was modifiedclang/test/SemaCXX/recovery-expr-type.cpp
The file was modifiedclang/test/SemaCXX/enable_if.cpp
The file was addedclang/test/SemaCXX/constexpr-function-recovery-crash.cpp
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/invalid-constructor-init.cpp
Commit 1a3428163d97d7322e330d518d017fee80240e69 by lebedev.ri
[NFC][Reassociate] Add patterns where `or` is part of load reduction idiom

As Wei Mi is reporting in post-commit review:
  https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20201116/853479.html
teaching -reassociate about add-like-or's (70472f3) results in breaking apart
load widening patterns, and reassociating them.

While that's great, it prevents the actual load widening in backend,
and that is not good. We should have load widening in middle-end,
but for now we should at least not regress the naive patterns..
The file was addedllvm/test/Transforms/Reassociate/load-combine-like-or.ll
Commit 34ff90ad5d7d17a464bff9abbad70229c693a551 by lebedev.ri
[Reassociate] Don't convert add-like-or's into add's if they appear to be part of load-combining idiom

As Wei Mi is reporting in post-commit review
  https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20201116/853479.html
teaching -reassociate about add-like-or's (70472f3) results in breaking apart
load widening patterns, and reassociating them.

For now, simply exclude any such `or` that appears to be a root of
load widening idiom from the or->add transformation.

Note that the heuristic is greedy, it doesn't ensure that loads
can *actually* be widened into a single load.
The file was modifiedllvm/test/Transforms/Reassociate/load-combine-like-or.ll
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
Commit 7ecf19697ee21a23fc8782daefcb268085874d7f by jay.foad
[AMDGPU] Fix and extend vccz workarounds

We have workarounds for two different cases where vccz can get out of
sync with the value in vcc. This fixes them in two ways:

1. Fix the case where the def of vcc was in a previous basic block, by
pessimistically assuming that vccz might be incorrect at a basic block
boundary.

2. Fix the handling of pre-existing waitcnt instructions by calling
generateWaitcntInstBefore before examining ScoreBrackets to determine
whether there's an outstanding smem read operation.

Differential Revision: https://reviews.llvm.org/D91636
The file was modifiedllvm/test/CodeGen/AMDGPU/infinite-loop.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll
Commit ad0e764ead36d5ed87015ea7aa8ba033117b7477 by sivachandra
[libc][obvious] Fix fdim[f|l] signatures in stdc spec.
The file was modifiedlibc/spec/stdc.td
Commit 5ba324ccadce35a146b0c04e90d6414c3dc42546 by a.bataev
[OPENMP]Fix PR48174:  compile-time crash with target enter data on a global struct.

The compiler should treat array subscript with base pointer as a first
pointer in complex data, it is used only for member expression with base
pointer.

Differential Revision: https://reviews.llvm.org/D91660
The file was addedclang/test/OpenMP/target_data_map_pointer_array_subscript_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
Commit 7a8b2f692ec48f515e99572f911e15a86823ed1b by llvm-dev
[DAGCombiner] Precommit Sext Tests for D91589

Patch by: @laytonio (Layton Kifer)

Differential Revision: https://reviews.llvm.org/D91671
The file was modifiedllvm/test/CodeGen/RISCV/sext-zext-trunc.ll
The file was addedllvm/test/CodeGen/SystemZ/sext-zext.ll
Commit b3b9be4ae77ed1d6e59253d84184654577aa76e7 by Piotr Sobczak
SpeculativeExecution: Allow speculating more instruction types

Support more instructions in SpeculativeExecution pass:
- ExtractValue
- InsertValue
- Trunc
- Freeze

Differential Revision: https://reviews.llvm.org/D91688
The file was modifiedllvm/lib/Transforms/Scalar/SpeculativeExecution.cpp
The file was modifiedllvm/test/Transforms/SpeculativeExecution/spec-fp.ll
The file was addedllvm/test/Transforms/SpeculativeExecution/spec-other.ll
The file was modifiedllvm/test/Transforms/SpeculativeExecution/spec-casts.ll
Commit 43243208fa6fafe8b91e42c82bc56db9d99f76d3 by usx
[clangd] Implement textDocument/implementation (Xref layer)

Xref layer changes for textdocument/implementation (https://microsoft.github.io/language-server-protocol/specification#textDocument_implementation)

This currently shows all functions (implementations) that overrides a virtual function.

Differential Revision: https://reviews.llvm.org/D91702
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.h
Commit 06fcc4f06f1401d6fa47759f282efdc7f494999f by gjn
[NFC] Use [MC]Register for Hexagon target

Differential Revision: https://reviews.llvm.org/D91160
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstPropagation.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitSimplify.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenPredicate.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBlockRanges.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSplitDouble.cpp
The file was modifiedllvm/lib/Target/Hexagon/BitTracker.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonGenInsert.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonSubtarget.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitTracker.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBlockRanges.h
The file was modifiedllvm/lib/Target/Hexagon/BitTracker.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonConstExtenders.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonBitTracker.h
The file was modifiedllvm/lib/Target/Hexagon/HexagonPeephole.cpp
Commit 8c1e3cbebfe9ff14829a279b9d229d4fc3f190b1 by goncharov.mikhail
[llvm] fix global_downgraded_to_static test

after 9aa789820027 https://reviews.llvm.org/D90930
The file was modifiedllvm/test/tools/dsymutil/X86/global_downgraded_to_static.c
Commit 27e73816d6f9a7e627db73c445c4329db2ecfeaf by thakis
lld: Make tests depend on llvm-symbolizer after bc98034040

Fixes test failures when building just `check-lld` in a clean build dir.
The file was modifiedllvm/utils/gn/secondary/lld/test/BUILD.gn
The file was modifiedlld/test/CMakeLists.txt
Commit 7046be17307d7439053d6693bf81540e3dc479d2 by cchen
[OpenMP] [DOCS] Update OMP5.1 feature status table [NFC]

Adding features in OpenMP 5.1 specification, as documented in feature change history, to the 5.1 table. I alphabetized the rows of the table according to the category. For deprecating master construct, I just used 'other' as the category.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D90802
The file was modifiedclang/docs/OpenMPSupport.rst
Commit 057e6bb5540b5ec57e73c56dca80c17fabc949e5 by Abhina.Sreeskantharajan
[SystemZ][NFC] Group SystemZ tests in SystemZ folder

This patch creates a SystemZ folder in clang/test/CodeGen to contain systemz-related lit tests.

Reviewed By: muiez

Differential Revision: https://reviews.llvm.org/D91628
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-error.c
The file was removedclang/test/CodeGen/systemz-inline-asm.c
The file was removedclang/test/CodeGen/builtins-systemz-vector3-error.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector3-error.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector2-constrained.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector-constrained.c
The file was addedclang/test/CodeGen/SystemZ/zvector.c
The file was removedclang/test/CodeGen/align-systemz.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector.c
The file was addedclang/test/CodeGen/SystemZ/mbackchain-3.c
The file was removedclang/test/CodeGen/systemz-inline-asm-02.c
The file was removedclang/test/CodeGen/zos-alignment.c
The file was addedclang/test/CodeGen/SystemZ/mbackchain-2.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector3.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector3-error.c
The file was addedclang/test/CodeGen/SystemZ/mbackchain.c
The file was removedclang/test/CodeGen/zvector.c
The file was removedclang/test/CodeGen/builtins-systemz-error2.c
The file was removedclang/test/CodeGen/mbackchain-2.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector2.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-error2.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector2-error.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector2-error.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector3-error.c
The file was addedclang/test/CodeGen/SystemZ/zos-alignment.c
The file was removedclang/test/CodeGen/builtins-systemz-vector-error.c
The file was removedclang/test/CodeGen/builtins-systemz.c
The file was removedclang/test/CodeGen/s390x-packed-struct-func-arg.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector2.c
The file was removedclang/test/CodeGen/builtins-systemz-vector.c
The file was removedclang/test/CodeGen/zvector2.c
The file was removedclang/test/CodeGen/systemz-abi-vector.c
The file was addedclang/test/CodeGen/SystemZ/zvector2.c
The file was removedclang/test/CodeGen/systemz-abi.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector3.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector3-constrained.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector-error.c
The file was removedclang/test/CodeGen/builtins-systemz-vector2.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector3.c
The file was addedclang/test/CodeGen/SystemZ/systemz-abi.cpp
The file was addedclang/test/CodeGen/SystemZ/align-systemz.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector2-constrained.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector2-error.c
The file was addedclang/test/CodeGen/SystemZ/s390x-packed-struct-func-arg.c
The file was addedclang/test/CodeGen/SystemZ/systemz-abi.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector-constrained.c
The file was removedclang/test/CodeGen/builtins-systemz-error.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector-constrained.c
The file was removedclang/test/CodeGen/builtins-systemz-vector-constrained.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-vector-error.c
The file was addedclang/test/CodeGen/SystemZ/systemz-abi-vector.c
The file was addedclang/test/CodeGen/SystemZ/systemz-inline-asm-02.c
The file was addedclang/test/CodeGen/SystemZ/systemz-inline-asm.c
The file was removedclang/test/CodeGen/builtins-systemz-vector2-error.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector2-constrained.c
The file was removedclang/test/CodeGen/builtins-systemz-zvector2.c
The file was removedclang/test/CodeGen/mbackchain.c
The file was removedclang/test/CodeGen/builtins-systemz-vector3.c
The file was removedclang/test/CodeGen/mbackchain-3.c
The file was addedclang/test/CodeGen/SystemZ/builtins-systemz-zvector-error.c
The file was removedclang/test/CodeGen/systemz-abi.cpp
The file was removedclang/test/CodeGen/builtins-systemz-zvector3-constrained.c
The file was removedclang/test/CodeGen/builtins-systemz-vector2-constrained.c
Commit 0415cf470bfbf16a06938424c3cad30c12cc2284 by llvm-dev
Fix unused variable warning. NFCI.

We're just performing a null pointer check, we don't need the actual variable.
The file was modifiedclang/lib/AST/APValue.cpp
Commit 480ad4afc215de922ef6aa2ea3befa8d563d00bd by llvm-dev
HazardRecognizer - Fix definition/declaration argument name mismatches. NFCI.

Consistently use SUnit *SU (or drop the argname entirely if not used like the other HazardRecognizer methods).

Silences cppcheck warnings.
The file was modifiedllvm/include/llvm/CodeGen/MultiHazardRecognizer.h
The file was modifiedllvm/lib/Target/SystemZ/SystemZHazardRecognizer.cpp
The file was modifiedllvm/lib/Target/SystemZ/SystemZHazardRecognizer.h
The file was modifiedllvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h
Commit 0016ab6f3632968e52eb83de021908f0c94bbb10 by usx
Revert "[clangd] Implement textDocument/implementation (Xref layer)"

This reverts commit 43243208fa6fafe8b91e42c82bc56db9d99f76d3.
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.h
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit 3abaf6cde7a92f38db2f5b3cb87e653f89f3bd26 by koraq
[libc++] Implements multiline regex support.

This resolves LWG2503.
The file was modifiedlibcxx/test/std/re/re.const/re.synopt/syntax_option_type.pass.cpp
The file was modifiedlibcxx/www/cxx1z_status.html
The file was modifiedlibcxx/include/regex
The file was addedlibcxx/test/std/re/re.const/re.matchflag/match_multiline.pass.cpp
Commit 72ccec1bbc98407d66275c5911ee557adb461f5a by sebastian.neubauer
[AMDGPU] Fix v3f16 interaction with image store workaround

In some cases, the wrong amount of registers was reserved.

Also enable more v3f16 tests.

Differential Revision: https://reviews.llvm.org/D90847
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.dim.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.store.2d.d16.ll
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.store.2d.d16.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIISelLowering.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.load.1d.d16.ll
Commit c519bc7e16f5aad3ddb6f9df8be5f7b9249c4101 by thakis
lld/MachO: Move MachOOptTable to DriverUtils.cpp, remove DriverUtils.h

This makes lld/MachO look more like lld/COFF and lld/ELF, as discussed
in D91640.
The file was modifiedlld/MachO/Driver.h
The file was modifiedlld/MachO/DriverUtils.cpp
The file was removedlld/MachO/DriverUtils.h
The file was modifiedlld/MachO/InputFiles.cpp
The file was modifiedlld/MachO/Driver.cpp
Commit 9b99927618d338a2be3f13053ccf869a39eb1637 by simon.moll
[VP] Non-signalling llvm.vp.* intrinsics are speculatable

This is specifically required by the upcoming ExpandVectorPredication
pass (D78203) to recognize llvm.vp.* intrinsics that may ignore their
predicates.
The file was modifiedllvm/include/llvm/IR/Intrinsics.td
Commit 130da802ff6e59d59ac5afce9e6a4235f3fe4959 by usx
Revert "Revert "[clangd] Implement textDocument/implementation (Xref layer)""

This reverts commit 0016ab6f3632968e52eb83de021908f0c94bbb10.

Fix: Consume error from Expected<T>.
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/XRefs.h
Commit 8b9e6dc50146b3ba97be6a1620e5f93de6c13fd5 by lebedev.ri
[NFC][LoopIdiom] Left-shift-until-bittest: revisit test coverage
The file was modifiedllvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
Commit 733f7b50840a202a7ca950db03a2e7d09a147453 by sguelton
Revert "[build] normalize components dependencies"

This reverts commit c6ef6e1690d517b3401ea06b1fe46871eb67434d.

Basically, publicly linked libraries have a different semantic than components,
which link libraries privately.

Differential Revision: https://reviews.llvm.org/D91461
The file was modifiedllvm/lib/FileCheck/CMakeLists.txt
The file was modifiedllvm/lib/Frontend/OpenACC/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/JITLink/CMakeLists.txt
Commit 068da2c749a58b46bd59381890a6a137d6e3128e by yitzhakm
[clang-tidy] Allow `TransformerClangTidyCheck` clients to set the rule directly.

Adds support for setting the `Rule` field. In the process, refactors the code that accesses that field and adds a constructor that doesn't require a rule argument.

This feature is needed by checks that must set the rule *after* the check class
is constructed. For example, any check that maintains state to be accessed from
the rule needs this support. Since the object's fields are not initialized when
the superclass constructor is called, they can't be (safely) captured by a rule
passed to the existing constructor.  This patch allows constructing the check
superclass fully before setting the rule.

As a driveby fix, removed the "optional" from the rule, since rules are just a
set of cases, so empty rules are evident.

Differential Revision: https://reviews.llvm.org/D91544
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.h
The file was modifiedclang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
Commit adf9f64a02838a16d0c6cadfbd089254b126bd22 by antiagainst
[MLIR][SPIRV] Rename `spv._reference_of` to `spv.mlir.referenceof`

This commit does the renaming mentioned in the title in order to bring
'spv' dialect closer to the MLIR naming conventions.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D91715
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/logical-ops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/spec-constant.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/basic.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/Dialect/SPIRV/ops.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/conflict_resolution.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
The file was modifiedmlir/test/Dialect/SPIRV/structure-ops.mlir
The file was modifiedmlir/docs/Dialects/SPIR-V.md
Commit 7810d837864933b49f5e20a970a8e51ea091fa8e by mcgrathr
[GWP-ASan] Respect GWP_ASAN_DEFAULT_ENABLED compile-time macro

If the containing allocator build uses -DGWP_ASAN_DEFAULT_ENABLED=false
then the option will default to false.  For e.g. Scudo, this is simpler
and more efficient than using -DSCUDO_DEFAULT_OPTIONS=... to set gwp-asan
options that have to be parsed from the string at startup.

Reviewed By: hctim

Differential Revision: https://reviews.llvm.org/D91463
The file was modifiedcompiler-rt/lib/gwp_asan/options.inc
Commit 85ccdcaa502ee2c478f2d0ba2b1e217117b69032 by nikita.ppv
[BasicAA] Remove assert in AA evaluator

As reported in https://reviews.llvm.org/D91383#2401825, this
assert breaks external -aa-eval tests. We'll have to fix this
case before re-enabling it.
The file was modifiedllvm/test/Analysis/BasicAA/recphi.ll
The file was modifiedllvm/lib/Analysis/AliasAnalysisEvaluator.cpp
Commit d4ba28bddc89a14885218b9eaa4fbf6654c2a5bd by schmeise
Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug.
Summary:
Expand existing loopsink testing to also test loopsinking using new pass
manager.  Enable memoryssa for loopsink with new pass manager.  This
combination exposed a bug that was previously fixed for loopsink
without memoryssa.  When sinking an instruction into a loop, the source
block may not be part of the loop but still needs to be checked for
pointer invalidation.  This is the fix for bugzilla #39695 (PR 54659)
expanded to also work with memoryssa.

Respond to review comments.  Enable Memory SSA in legacy Loop Sink pass
under EnableMSSALoopDependency option control.  Update tests accordingly.

Respond to review comments.  Add options controlling whether memoryssa is
used for loop sink, defaulting to off.  Expand testing based on these
options.

Respond to review comments.  Properly indicated preserved analyses.

Author: Jamie Schmeiser <schmeise@ca.ibm.com>
Reviewed By: asbirlea (Alina Sbirlea)
Differential Revision: https://reviews.llvm.org/D90249
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr38462.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopSink.cpp
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39570.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39695.ll
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit d1b921e3bf2937f34d93485b4c2c6d86fcc3a830 by sivachandra
[libc][NFC][Obvious] Remove few unnecessary pieces from ilogb tests.
The file was modifiedlibc/test/src/math/ilogbl_test.cpp
The file was modifiedlibc/test/src/math/ilogb_test.cpp
The file was modifiedlibc/test/src/math/ilogbf_test.cpp
Commit b51c290663cf50372cd681917cc63379abcf104a by nikita.ppv
[Inline] Add test for PR48209 (NFC)

The test shows noalias metadata being incorrectly applied to the
instruction producing the argument for the call.
The file was addedllvm/test/Transforms/Inline/pr48209.ll
Commit 23aeadb89df38406dc4d929d08286f7ce31040eb by nikita.ppv
[Inline] Fix incorrect noalias metadata application (PR48209)

The VMap also contains a mapping from Argument => Instruction,
where the instruction is part of the original function, not the
inlined one. The code was assuming that all the instructions in
the VMap were inlined.

This was a pre-existing problem for the loop access metadata, but
was extended to the more common noalias metadata by
27f647d117087ca11959e232e6443f4aee31e966, thus causing miscompiles.

There is a similar assumption inside CloneAliasScopeMetadata(), so
that one likely needs to be fixed as well.
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
The file was modifiedllvm/test/Transforms/Inline/pr48209.ll
Commit c6c8d4a13ebd5ce1c3c7e8632312ab8c2dc6afa0 by xun
[modules] Fix crash in call to `FunctionDecl::setPure()`

In some cases, when deserializing a `CXXMethodDecl` of a `CXXSpecializationTemplateDecl`,
the call to `FunctionDecl::setPure()` happens before the `DefinitionData` member has been
populated (which appears to happen lower down in a `mergeRedeclarable` call), causing a
crash (https://reviews.llvm.org/P8228).

This diff fixes this by deferring the `FunctionDecl::setPure()` till after the `DefinitionData` has
been filled in.

Reviewed By: lxfind

Differential Revision: https://reviews.llvm.org/D86853
The file was addedclang/test/Modules/Inputs/set-pure-crash/a.h
The file was addedclang/test/Modules/Inputs/set-pure-crash/module.modulemap
The file was addedclang/test/Modules/Inputs/set-pure-crash/c.h
The file was modifiedclang/lib/Serialization/ASTReaderDecl.cpp
The file was addedclang/test/Modules/set-pure-crash.cpp
The file was addedclang/test/Modules/Inputs/set-pure-crash/b.h
Commit 87369c626114ae17f4c637635c119e6de0856a9a by wolfgang_pieb
Revert "[tsan] Add pthread_cond_clockwait interceptor"

This reverts commit 16eb853ffdd1a1ad7c95455b7795c5f004402e46.

The test is failing on some Linux build bots. See the review for
an example.
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was removedcompiler-rt/test/tsan/Linux/clockwait_double_lock.c
Commit 562addba652e8bdabe49f9123fd92c21b7a0d640 by schmeise
Revert "Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug."

This reverts commit d4ba28bddc89a14885218b9eaa4fbf6654c2a5bd.
The file was modifiedllvm/lib/Transforms/Scalar/LoopSink.cpp
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39570.ll
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr38462.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39695.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink.ll
Commit 0dca0b7034281015cfffb3c91fc89c53b220dc49 by nikita.ppv
[Inline] Expand test to show dropped metadata (NFC)

The metadata from the %c load gets dropped.
The file was modifiedllvm/test/Transforms/Inline/noalias-cs.ll
Commit f4a3969bffceac2df4bee10992ea48136122cae0 by nikita.ppv
[Inline] Fix incorrectly dropped noalias metadata

This is the same fix as 23aeadb89df38406dc4d929d08286f7ce31040eb,
just for CloneScopedAliasMetadata rather than PropagateCallSiteMetadata.

In this case the previous outcome was incorrectly dropped metadata,
as it was not part of the computed metadata map.

The real change in the test is that the first load now retains
metadata, the rest of the changes are due to changes in metadata
numbering.
The file was modifiedllvm/test/Transforms/Inline/noalias-cs.ll
The file was modifiedllvm/lib/Transforms/Utils/InlineFunction.cpp
Commit 97e55cfef5b86b1b190b6f3f57ca2a89ec61c14f by huberjn
[OpenMP] Add Passing in Original Declaration Names To Mapper API

Summary:
This patch adds support for passing in the original delcaration name in the source file to the libomptarget runtime. This will allow the runtime to provide more intelligent debugging messages. This patch takes the original expression parsed from the OpenMP map / update clause and provides a textual representation if it was explicitly mapped, otherwise it takes the name of the variable declaration as a fallback. The information in passed to the runtime in a global array of strings that matches the existing ident_t source location strings using ";name;filename;column;row;;"

Reviewers: jdoerfert

Differential Revision: https://reviews.llvm.org/D89802
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_10.cpp
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/values_in_offload_arrays.ll
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_11.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_13.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_addr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_08.cpp
The file was modifiedllvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_33.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_28.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_map_pointer_array_subscript_codegen.cpp
The file was addedclang/test/OpenMP/target_map_names.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_22.cpp
The file was modifiedclang/test/OpenMP/target_update_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_12.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_17.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_18.inc
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_06.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_29.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_pointer_capturing.cpp
The file was modifiedclang/test/OpenMP/target_map_member_expr_array_section_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_mapper_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_21.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_07.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_00.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_26.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_20.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_link_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_30.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_02.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_19.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_member_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_16.cpp
The file was modifiedclang/test/OpenMP/target_is_device_ptr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_14.cpp
The file was modifiedclang/test/OpenMP/target_device_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_defaultmap_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.h
The file was modifiedclang/test/OpenMP/target_map_codegen_05.cpp
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_27.cpp
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/capturing_in_templates.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.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_15.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_25.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/add_attributes.ll
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_09.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_01.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_04.cpp
Commit 2fead1ac61f87b0bcee898007b4831f3e0533c84 by flo
[ConstraintElimination] Decompose add nuw/sub nuw.

Make use of the more flexible constraint handling added in
a8a79c90699a7ae9dee07daf7281cbbd592bf6ea to decompose add nuw/sub nuw.
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/test/Transforms/ConstraintElimination/sub-nuw.ll
The file was modifiedllvm/test/Transforms/ConstraintElimination/add-nuw.ll
Commit e29292969b92aa15afba734d4f6863fc405f087c by schmeise
Revert "Revert "Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug.""

This reverts commit 562addba652e8bdabe49f9123fd92c21b7a0d640.

Reverted change too quickly, the failing test cases passed on the next build.
So reverting revert (to include the changes).
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39570.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39695.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopSink.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr38462.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink.ll
Commit b056030d6e3c4115294608bb0a90f02e2767d76e by aeubanks
[test] Fix remaining GVN tests under NPM

Some used analyses are optional but were relied upon in tests, the
legacy PM runs them in a different order than the NPM.
The file was modifiedllvm/test/Transforms/GVN/PRE/2011-06-01-NonLocalMemdepMiscompile.ll
The file was modifiedllvm/test/Transforms/GVN/PRE/pre-after-rle.ll
The file was modifiedllvm/test/Transforms/GVN/PRE/pre-load-in-loop.ll
Commit ca76e9f34da844d5f78029f0d437efef08b4dd3f by aeubanks
[test] Fix eliminate-callsite-inline.ll under NPM

The NPM inliner does not remove arbitrary unused internal functions, and
that is not the point of this test.
The file was modifiedllvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll
Commit cd3c22c47e4bef347599e137ee6b1c3c510d7902 by nikita.ppv
[BasicAA] Generalize base offset modulus handling

The GEP aliasing implementation currently has two pieces of code
that solve two different subsets of the same basic problem: If you
have GEPs with offsets 4*x + 0 and 4*y + 1 (assuming access size 1),
then they do not alias regardless of whether x and y are the same.

One implementation is in aliasSameBasePointerGEPs(), which looks at
this in a limited structural way. It requires both GEP base pointers
to be exactly the same, then (optionally) a number of equal indexes,
then an unknown index, then a non-equal index into a struct. This
set of limitations works, but it's overly restrictive and hides the
core property we're trying to exploit.

The second implementation is part of aliasGEP() itself and tries to
find a common modulus in the scales, so it can then check that the
constant offset doesn't overlap under modular arithmetic. The second
implementation has the right idea of what the general problem is,
but effectively only considers power of two factors in the scales
(while aliasSameBasePointerGEPs also works with non-pow2 struct sizes.)

What this patch does is to adjust the aliasGEP() implementation to
instead find the largest common factor in all the scales (i.e. the GCD)
and use that as the modulus.

Differential Revision: https://reviews.llvm.org/D91027
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/test/Analysis/BasicAA/struct-geps.ll
Commit 0fe4b8e4b5b35ddfb37c2d9e24713fb2eb18227c by scott.linder
[NFC][AMDGPU] Remove some generic pointers in memory-legalizer tests

These tests implicitly depend on the target supporting generic pointers,
so to prepare for testing them on GFX6 (which lacks FLAT) remove the
dependency where possible.

Reviewed By: rampitec

Differential Revision: https://reviews.llvm.org/D91666
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-store.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/memory-legalizer-load.ll
Commit 7bf89c2174f0b2a91a4f680b3246d432c135381b by lebedev.ri
[NFC][Reassociate] Delay checking isLoadCombineCandidate() until after ShouldConvertOrWithNoCommonBitsToAdd() but before haveNoCommonBitsSet()

This appears to improve -O3 compile-time performance somewhat:
https://llvm-compile-time-tracker.com/compare.php?from=87369c626114ae17f4c637635c119e6de0856a9a&to=c04b8271e1609b0dfb20609b40844b0c4324517e&stat=instructions
It doesn't look like delaying it until after haveNoCommonBitsSet() is better:
https://llvm-compile-time-tracker.com/compare.php?from=c04b8271e1609b0dfb20609b40844b0c4324517e&to=b2943d450eaf41b5f76d2dc7350f0a279f64cd99&stat=instructions
The file was modifiedllvm/lib/Transforms/Scalar/Reassociate.cpp
Commit 18db29ea6fb6231221da412dbf07c186401bc496 by baptiste.saleil
[PowerPC] Add peephole to remove redundant accumulator prime/unprime instructions

In some situations, the compiler may insert an accumulator prime instruction and
an accumulator unprime instruction with no use of that accumulator between the two.
That's for example the case when we store an accumulator after assembling it or
restoring it. This patch adds a peephole to remove these prime and unprime instructions.

Differential Revision: https://reviews.llvm.org/D91386
The file was modifiedllvm/test/CodeGen/PowerPC/mma-acc-memops.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/mma-intrinsics.ll
Commit 5378c6a4bf9422db0e2d6232dc2dc43222d0ab6b by huberjn
[OpenMP] Add Support for Mapping Names in Libomptarget RTL

Summary:
This patch adds basic support for priting the source location and names for the mapped variables. This patch does not support names for custom mappers. This is based on D89802.

Reviewers: jdoerfert

Differential Revision: https://reviews.llvm.org/D90172
The file was modifiedopenmp/libomptarget/src/rtl.cpp
The file was modifiedopenmp/libomptarget/src/device.h
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedopenmp/libomptarget/src/device.cpp
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedopenmp/libomptarget/src/private.h
The file was addedopenmp/libomptarget/include/SourceInfo.h
The file was modifiedopenmp/libomptarget/include/omptarget.h
Commit cff479b145280922f381924396054ccb06124c4d by schmeise
Revert "Revert "Revert "Expand existing loopsink testing to also test loopsinking using new pass manager and fix LICM bug."""

This reverts commit e29292969b92aa15afba734d4f6863fc405f087c.

This apparently causes a regression in compile time (ie, it slows down).
The file was modifiedllvm/lib/Transforms/Scalar/LoopSink.cpp
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39570.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr39695.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink.ll
The file was modifiedllvm/test/Transforms/LICM/loopsink-pr38462.ll
The file was modifiedllvm/lib/Transforms/Scalar/LICM.cpp
Commit f0785c1f7acd34ec6681f188afedc9be89ba0cc4 by Louis Dionne
[libcxx] Port to NuttX (https://nuttx.apache.org) RTOS

Since NuttX conform to POSIX standard, the code need to add is very simple.

Differential Revision: https://reviews.llvm.org/D88718
The file was modifiedlibcxx/src/include/config_elast.h
The file was modifiedlibcxx/include/CMakeLists.txt
The file was modifiedlibcxx/include/__config
The file was modifiedlibcxx/include/__locale
The file was modifiedlibcxx/src/locale.cpp
The file was addedlibcxx/include/support/nuttx/xlocale.h
Commit 5556616b5b5223f95607ad94053a55f0deaf2762 by kostyak
[GWP-ASan] Port tests to Fuchsia

This modifies the tests so that they can be run on Fuchsia:
- add the necessary includes for `set`/`vector` etc
- do the few modifications required to use zxtest instead og gtest

`backtrace.cpp` requires stacktrace support that Fuchsia doesn't have
yet, and `enable_disable.cpp` currently uses `fork()` which Fuchsia
doesn't support yet. I'll revisit this later.

I chose to use `harness.h` to hold my "platform-specific" include and
namespace, and using this header in tests rather than `gtest.h`,
which I am open to change if someone would rather go another direction.

Differential Revision: https://reviews.llvm.org/D91575
The file was modifiedcompiler-rt/lib/gwp_asan/tests/crash_handler_api.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/alignment.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/iterate.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/harness.h
The file was modifiedcompiler-rt/lib/gwp_asan/tests/driver.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/mutex_test.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/slot_reuse.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/compression.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/tests/late_init.cpp
Commit e597116f055d2e82d9179f6edcb49dd015c514c2 by aeubanks
[NPM] Add implicit basic-aa before other AA

This matches the legacy AA infra and fixes
llvm/test/ANalysis/TypeBasedAliasAnalysis/precedence.ll under NPM.
The file was modifiedllvm/tools/opt/NewPMDriver.cpp
Commit 96d40df71ecee07c69aea512f6c04fc4fbe6acfb by i
MCExpr::evaluateAsRelocatableImpl : allow evaluation of non-VK_None MCSymbolRefExpr when MCAsmLayout is available

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4acf8c78e659833be8be047ba2f8561386a11d4b
(1994) introduced this behavior:
if a fixup symbol is equated to an expression with an undefined symbol, convert
the fixup to be against the target symbol. glibc relies on this behavior to perform
assembly level indirection

```
asm("memcpy = __GI_memcpy"); // from sysdeps/generic/symbol-hacks.h

...
  // call memcpy@PLT
  // The relocation references __GI_memcpy in GNU as, but memcpy in MC (without the patch)
  memcpy (...);
```

(1) It complements `extern __typeof(memcpy) memcpy asm("__GI_memcpy");` The frontend asm label does not redirect synthesized memcpy in the middle-end. (See D88712 for details)
(2) `asm("memcpy = __GI_memcpy");` is in every translation unit, but the memcpy declaration may not be visible in the translation unit where memcpy is synthesized.

MC already redirects `memcpy = __GI_memcpy; call memcpy` but not `memcpy = __GI_memcpy; call memcpy@plt`.
This patch fixes the latter by allowing MCExpr::evaluateAsRelocatableImpl to
evaluate a non-VK_None MCSymbolRefExpr, which is only done after the layout is available.

GNU as allows `memcpy = __GI_memcpy+1; call memcpy@PLT` which seems nonsensical, so we don't allow it.

`MC/PowerPC/pr38945.s` `NUMBER = 0x6ffffff9; cmpwi 8,NUMBER@l` requires the
`symbol@l` form in AsmMatcher, so evaluation needs to be deferred. This is the
place whether future simplification may be possible.

Note, if we suppress the VM_None evaluation when MCAsmLayout is nullptr, we may
lose the `invalid reassignment of non-absolute variable` diagnostic
(`ARM/thumb_set-diagnostics.s` and `MC/AsmParser/variables-invalid.s`).
We know that this diagnostic is troublesome in some cases
(https://github.com/ClangBuiltLinux/linux/issues/1008), so we can consider
making simplification in the future.

Reviewed By: jyknight

Differential Revision: https://reviews.llvm.org/D88625
The file was modifiedllvm/test/MC/ELF/relocation.s
The file was addedllvm/test/MC/ELF/relocation-alias.s
The file was modifiedllvm/lib/MC/MCExpr.cpp
The file was modifiedllvm/test/MC/ARM/ehabi-personality-abs.s
Commit ea4973f2068abfbfd637ed446c18fe2191301cad by psteinfeld
[flang] Improve error message on bad LOGICAL compare operations

When comparing LOGICAL operands using ".eq." or ".ne." we were not
guiding users to the ".eqv." and ".neqv." operations.

Differential Revision: https://reviews.llvm.org/D91736
The file was modifiedflang/lib/Semantics/expression.cpp
The file was addedflang/test/Semantics/resolve98.f90
Commit 5349f99114cfcf597220cbc9b9253f178a43fabd by pklausler
[flang] Correct handling of null pointer initializers

Fortran defines "null-init" null pointer initializers as
being function references, syntactically, that have to resolve
to calls to the intrinsic function NULL() with no actual
arguments.

Differential revision: https://reviews.llvm.org/D91657
The file was modifiedflang/include/flang/Semantics/expression.h
The file was modifiedflang/lib/Evaluate/check-expression.cpp
The file was modifiedflang/test/Semantics/symbol15.f90
The file was modifiedflang/lib/Semantics/expression.cpp
The file was modifiedflang/docs/f2018-grammar.md
The file was modifiedflang/lib/Semantics/resolve-names.cpp
The file was modifiedflang/test/Semantics/modfile20.f90
The file was modifiedflang/lib/Parser/Fortran-parsers.cpp
The file was modifiedflang/include/flang/Parser/parse-tree.h
The file was modifiedflang/lib/Semantics/data-to-inits.cpp
The file was addedflang/test/Semantics/null-init.f90
Commit be00e8893fdb814e67d8f06401afe869f878c4cf by Louis Dionne
[libc++] Clarify how we pick the typeinfo comparison

This commit makes it clear that the typeinfo comparison implementation
is automatically selected by default, and that the CMake option only
overrides the value. This has been a source of confusion and bugs ever
since we've introduced complexity in that area, so I'm trying to simplify
it while still allowing for some control on the implementation.

Differential Revision: https://reviews.llvm.org/D91574
The file was modifiedlibcxx/docs/BuildingLibcxx.rst
The file was modifiedlibcxx/include/typeinfo
The file was modifiedlibcxx/CMakeLists.txt
The file was modifiedlibcxx/cmake/caches/Apple.cmake
The file was modifiedlibcxx/include/__config_site.in
The file was modifiedlibcxx/include/__config
Commit 44cd03ad041e136b5fb1f512f470b1bfe1c49aad by kai.wang
[RISCV] Use register class VR for V instruction operands directly.

@tangxingxin1008 found a bug that regard vadd.vv v1, v3, a0 as a valid V
instruction. We should remove the VRegAsmOperand operand class and use
VR register class directly.

Patched by: tangxingxin1008, Hsiangkai
Differential Revision: https://reviews.llvm.org/D91712
The file was modifiedllvm/test/MC/RISCV/rvv/invalid.s
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoV.td
Commit 5f2c5541f78750c21004e0172f13db4632966fd3 by richard
Fix assert on valid due to incorrect assumption that a field name must
be unique in its scope.
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was addedclang/test/SemaTemplate/default-member-init.cpp
Commit c1ba9c43adb7ee101048e88ab33c94a1ceda398e by diego.caballero
[mlir][Affine] Refactor affine fusion code in pass to utilities

Refactoring/clean-up step needed to add support for producer-consumer fusion
with multi-store producer loops and, in general, to implement more general
loop fusion strategies in Affine. It introduces the following changes:
  - AffineLoopFusion pass now uses loop fusion utilities more broadly to compute
    fusion legality (canFuseLoops utility) and perform the fusion transformation
    (fuseLoops utility).
  - Loop fusion utilities have been extended to deal with AffineLoopFusion
    requirements and assumptions while preserving both loop fusion utilities and
    AffineLoopFusion current functionality within a unified implementation.
    'FusionStrategy' has been introduced for this purpose and, in the future, it
    will allow us to have a single loop fusion core implementation that will produce
    different fusion outputs depending on the strategy used.
  - Improve separation of concerns for legality and profitability analysis:
    'isFusionProfitable' no longer filters out illegal scenarios that 'canFuse'
    didn't detect, or the other way around. 'canFuse' now takes loop dependences
    into account to determine the fusion loop depth (producer-consumer fusion only).
  - As a result, maximal fusion now doesn't require any profitability analysis.
  - Slices are now computed only once and reused across the legality, profitability
    and fusion transformation steps (producer-consumer).
  - Refactor some utilities and remove redundant copies of them.

This patch is NFCI and should preserve the existing functionality of both the
AffineLoopFusion pass and the affine fusion utilities.

Reviewed By: andydavis1, bondhugula

Differential Revision: https://reviews.llvm.org/D90798
The file was modifiedmlir/test/lib/Transforms/TestLoopFusion.cpp
The file was modifiedmlir/include/mlir/Analysis/Utils.h
The file was modifiedmlir/include/mlir/Transforms/LoopFusionUtils.h
The file was modifiedmlir/lib/Analysis/Utils.cpp
The file was modifiedmlir/lib/Transforms/LoopFusion.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
Commit 5824a572adb57b0437b540b61116ca5e8c9fcace by thakis
[gn build] (manually) merge f0785c1f7ac
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn
Commit 0e2585c8042bd6ce4eca1333c64234adac7487f2 by Vitaly Buka
[tsan] Add pthread_cond_clockwait interceptor

Disable the test on old systems.
pthread_cond_clockwait is supported by glibc-2.30.
It also supported by Android api 30 even though we
do not run tsan on Android.

Fixes https://github.com/google/sanitizers/issues/1259

Reviewed By: dvyukov
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
The file was modifiedcompiler-rt/test/lit.common.cfg.py
The file was addedcompiler-rt/test/tsan/Linux/clockwait_double_lock.c
Commit f3aa9e36d91b7b0f4f24f7a3b13cf80c11356e5e by Jonas Devlieghere
[MachO] Update embedded part of ObjectFileMachO for Mangled API change

Mangled::GetName and Mangled::GetDemangledName no longer take any
arguments.
The file was modifiedlldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
Commit 132d6d73ea024beab3df99df2ecf4d345995fdfd by marukawa
[VE] Add vmv intrinsic instructions

Add vmv intrinsic instructions and regression tests.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D91700
The file was modifiedllvm/lib/Target/VE/VEInstrIntrinsicVL.gen.td
The file was addedllvm/test/CodeGen/VE/VELIntrinsics/vmv.ll
The file was modifiedllvm/include/llvm/IR/IntrinsicsVEVL.gen.td
Commit 544cb649d7789a4199e8acea6e8a9da1409702b1 by scott.linder
[YAMLIO] Add a generic YAML fuzzer harness

This is essentially a clone of the existing fuzzer added in D50839, but
for the whole parser Streamer, and currently only testing for sanitizer
violations.

Differential Revision: https://reviews.llvm.org/D91573
The file was addedllvm/tools/llvm-yaml-parser-fuzzer/CMakeLists.txt
The file was addedllvm/tools/llvm-yaml-parser-fuzzer/yaml-parser-fuzzer.cpp
The file was addedllvm/tools/llvm-yaml-parser-fuzzer/DummyYAMLParserFuzzer.cpp
Commit 2980933d850b7506a1a96f8d11588b71956f4089 by scott.linder
[YAMLIO] Support non-null-terminated inputs

In some places the parser guards against dereferencing `End`, while in
others it relies on the presence of a trailing `'\0'` to elide checks.

Add the remaining guards needed to ensure the parser never attempts to
dereference `End`, making it safe to not require a null-terminated input
buffer.

Update the parser fuzzer harness so that it tests with buffers that are
guaranteed to be non-null-terminated, null-terminated, and 1-terminated,
additionally ensuring the result of the parse is the same in each case.

Some of the regression tests were written by inspection, and some are
cases caught by the fuzzer which required additional fixes in the
parser.

Differential Revision: https://reviews.llvm.org/D84050
The file was modifiedllvm/unittests/Support/YAMLIOTest.cpp
The file was modifiedllvm/lib/Support/YAMLParser.cpp
The file was modifiedllvm/tools/llvm-yaml-parser-fuzzer/yaml-parser-fuzzer.cpp
Commit 67f16e9e91f2f07cdb9813b60c195f5a1cd1f57d by aeubanks
[NPM] Remove -enable-npm-optnone flag

It has been on by default for a couple months without complaint.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D91743
The file was modifiedclang/test/CodeGen/aggregate-assign-call.c
The file was modifiedllvm/lib/Passes/StandardInstrumentations.cpp
The file was modifiedllvm/test/Feature/optnone-opt.ll
The file was modifiedclang/test/CodeGen/no-skipped-passes-O0-opt-bisect.c
Commit 523cc097fdafa1bb60373dcc70df7dfd31551f56 by eugenis
[hwasan] Fix Thread reuse (try 2).

HwasanThreadList::DontNeedThread clobbers Thread::next_,
Breaking the freelist. As a result, only the top of the freelist ever
gets reused, and the rest of it is lost.

Since the Thread object with its associated ring buffer is only 8Kb, this is
typically only noticable in long running processes, such as fuzzers.

Fix the problem by switching from an intrusive linked list to a vector.

Differential Revision: https://reviews.llvm.org/D91392
The file was addedcompiler-rt/test/hwasan/TestCases/Linux/reuse-threads.cpp
The file was modifiedcompiler-rt/test/hwasan/TestCases/thread-uaf.c
The file was modifiedcompiler-rt/lib/hwasan/hwasan_thread_list.h
The file was modifiedcompiler-rt/lib/hwasan/hwasan_thread.h
Commit 5747380772e0bbf5762e5ed9c39e6c9265bafc87 by dblaikie
Added GDB pretty printer for StringMap

Reviewed By: csigg, dblaikie

Differential Revision: https://reviews.llvm.org/D91183
The file was modifieddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
The file was modifiedllvm/utils/gdb-scripts/prettyprinters.py
The file was modifieddebuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
The file was modifiedllvm/include/llvm/ADT/StringMap.h
Commit 803af31e5b29d53cbf09def55cf221401c108744 by aheejin
[WebAssembly] Support fp reg class in r constraint

Patch by snek

Reviewed By: aheejin

Differential Revision: https://reviews.llvm.org/D90978
The file was modifiedllvm/test/CodeGen/WebAssembly/inline-asm.ll
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
Commit 9ad62f62b9ad9852fea17a4c81b35e281e45fbaf by ajcbik
[mlir][sparse] remove a few rewriting failures

Rationale:
Make sure preconditions are tested already during verfication.
Currently, the only way a sparse rewriting rule can fail is if
(1) the linalg op does not have sparse annotations, or
(2) a yet to be handled operation is encounted inside the op

Reviewed By: penpornk

Differential Revision: https://reviews.llvm.org/D91748
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Sparsification.cpp
The file was modifiedmlir/test/Dialect/Linalg/sparse_invalid.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit 5abf76fbe37380874a88cc9aa02164800e4e10f3 by Duncan P. N. Exon Smith
ADT: Add assertions to SmallVector::insert, etc., for reference invalidation

2c196bbc6bd897b3dcc1d87a3baac28e1e88df41 asserted that
`SmallVector::push_back` doesn't invalidate the parameter when it needs
to grow. Do the same for `resize`, `append`, `assign`, `insert`, and
`emplace_back`.

Differential Revision: https://reviews.llvm.org/D91744
The file was modifiedllvm/unittests/ADT/SmallVectorTest.cpp
The file was modifiedllvm/lib/MC/MCParser/MasmParser.cpp
The file was modifiedllvm/utils/TableGen/CodeGenSchedule.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
The file was modifiedllvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
Commit 90966daac3dd633b9621426e6621a706807d7c0d by Duncan P. N. Exon Smith
Support: Avoid SmallVector::assign with a range from to-be-replaced vector in Windows GetExecutableName

This code wasn't valid, and 5abf76fbe37380874a88cc9aa02164800e4e10f3
started asserting. This is a speculative fix since I don't have a
Windows machine handy.
The file was modifiedllvm/lib/Support/Windows/Process.inc
Commit 25f5406f087579d43ca9a82dee7f3e76f0691bad by ckennelly
[clang-tidy] Extend bugprone-string-constructor-check to std::string_view.

This allows for matching the constructors std::string has in common with
std::string_view.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D91015
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-string-constructor.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/StringConstructorCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/StringConstructorCheck.cpp
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-string-constructor.rst
Commit fb19f11ef47bc479d42c11450817c5e855a9830b by a20012251
[trace][intel-pt] Scaffold the 'thread trace start | stop' commands

Depends on D90490.

The stop command is simple and invokes the new method Trace::StopTracingThread(thread).

On the other hand, the start command works by delegating its implementation to a CommandObject provided by the Trace plugin. This is necessary because each trace plugin needs different options for this command. There's even the chance that a Trace plugin can't support live tracing, but instead supports offline decoding and analysis, which means that "thread trace dump instructions" works but "thread trace start" doest. Because of this and a few other reasons, it's better to have each plugin provide this implementation.

Besides, I'm using the GetSupportedTraceType method introduced in D90490 to quickly infer what's the trace plug-in that works for the current process.

As an implementation note, I moved CommandObjectIterateOverThreads to its header so that I can use it from the IntelPT plugin. Besides, the actual start and stop logic for intel-pt is not part of this diff.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D90729
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.h
The file was modifiedlldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
The file was modifiedlldb/test/API/commands/trace/TestTraceDumpInstructions.py
The file was modifiedlldb/source/Commands/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.h
The file was addedlldb/source/Plugins/Trace/intel-pt/TraceIntelPTOptions.td
The file was modifiedlldb/source/Core/PluginManager.cpp
The file was addedlldb/source/Plugins/Trace/intel-pt/CommandObjectTraceStartIntelPT.h
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp
The file was modifiedlldb/include/lldb/Target/Trace.h
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was addedlldb/include/lldb/Target/PostMortemProcess.h
The file was modifiedlldb/source/Commands/CommandObjectMultiword.cpp
The file was addedlldb/source/Commands/CommandObjectThreadUtil.cpp
The file was modifiedlldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
The file was addedlldb/test/API/commands/trace/TestTraceStartStop.py
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.h
The file was modifiedlldb/include/lldb/Target/ProcessTrace.h
The file was modifiedlldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
The file was modifiedlldb/include/lldb/lldb-enumerations.h
The file was addedlldb/source/Commands/CommandObjectThreadUtil.h
The file was modifiedlldb/source/Plugins/Trace/intel-pt/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
The file was modifiedlldb/source/Target/Process.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandObjectMultiword.h
The file was modifiedlldb/source/Target/ProcessTrace.cpp
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was modifiedlldb/include/lldb/Target/Process.h
The file was addedlldb/source/Plugins/Trace/intel-pt/CommandObjectTraceStartIntelPT.cpp
The file was modifiedlldb/include/lldb/lldb-private-interfaces.h
Commit 5f0ae23e71df19e0741d049e6077542b32b6b66a by lkail
[X86][AArch64][RISCV] Pre-commit negated abs test case. NFC.
The file was addedllvm/test/CodeGen/X86/neg-abs.ll
The file was addedllvm/test/CodeGen/AArch64/neg-abs.ll
The file was addedllvm/test/CodeGen/RISCV/neg-abs.ll
Commit c0958b7b4c6a31b0b89462c3ee770e486d4eb535 by riddleriver
[mlir] Add support for referencing a SymbolRefAttr in a SideEffectInstance

This allows for operations that exclusively affect symbol operations to better describe their side effects.

Differential Revision: https://reviews.llvm.org/D91581
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaces.h
The file was modifiedmlir/test/lib/IR/TestSideEffects.cpp
The file was modifiedmlir/test/IR/test-side-effects.mlir
The file was modifiedmlir/lib/TableGen/Attribute.cpp
The file was modifiedmlir/include/mlir/TableGen/Attribute.h
The file was modifiedmlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
The file was modifiedmlir/test/mlir-tblgen/op-side-effects.td
The file was modifiedmlir/include/mlir/Interfaces/SideEffectInterfaceBase.td
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
Commit bd106d74692fdc4d1eb79fb3a78da144f38791da by riddleriver
[mlir][Pass] Only enable/disable CrashRecovery once

This prevents potential problems that occur when multiple pass managers register crash recovery contexts.
The file was modifiedmlir/lib/Pass/Pass.cpp
Commit 6b0fc1f3c161295e6577d4c2237cefcb8e4dd9ba by craig.topper
[RISCV] Add MemOperand to the instruction created by storeRegToStackSlot/loadRegFromStackSlot

Differential Revision: https://reviews.llvm.org/D91730
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.cpp
The file was modifiedllvm/test/CodeGen/RISCV/select-optimize-multiple.ll
Commit b51e844f7a4ca4a0cb976bd59bf8b5588d6f3be5 by mtrofin
[NFC][TFUtils] Extract out the output spec loader

It's generic for the 'development mode', not specific to the inliner
case.

Differential Revision: https://reviews.llvm.org/D91751
The file was modifiedllvm/include/llvm/Analysis/Utils/TFUtils.h
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
The file was modifiedllvm/unittests/Analysis/TFUtilsTest.cpp
The file was modifiedllvm/lib/Analysis/TFUtils.cpp
Commit 43c0e4f6657666df335a4bb4dad74f32fcfef607 by kazu
[Transforms] Use llvm::is_contained (NFC)
The file was modifiedllvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp
The file was modifiedllvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
The file was modifiedllvm/lib/Transforms/Scalar/GVNHoist.cpp
The file was modifiedllvm/lib/Transforms/Utils/BasicBlockUtils.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
The file was modifiedllvm/lib/Transforms/Scalar/LoopInterchange.cpp
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp
Commit 8ab2353a4c3dc430b28190b98b16418ef8ffce30 by mtrofin
[NFC][TFUtils] also include output specs lookup logic in loadOutputSpecs

The lookup logic is also reusable.

Also refactored the API to return the loaded vector - this makes it more
clear what state it is in in the case of error (as it won't be
returned).

Differential Revision: https://reviews.llvm.org/D91759
The file was modifiedllvm/lib/Analysis/TFUtils.cpp
The file was modifiedllvm/include/llvm/Analysis/Utils/TFUtils.h
The file was modifiedllvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
Commit 4d8dede5e53a802bb35dd54cd693390793cb753f by sivachandra
[libc] Fix the overflow check condition of ldexp.

Targeted tests have been added.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D91752
The file was modifiedlibc/test/src/math/LdExpTest.h
The file was modifiedlibc/utils/FPUtil/ManipulationFunctions.h
Commit 6b1341eb5bb71a1ce4547165a247b23bb30ef44e by qiucofan
[PowerPC] [Clang] Fix alignment of 128-bit float types

According to ELF v2 ABI, both IEEE 128-bit and IBM extended floating
point variables should be quad-word (16 bytes) aligned. Previously, only
vector types are considered aligned as quad-word on PowerPC.

This patch will fix incorrectness of IEEE 128-bit float argument in
va_arg cases.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D91596
The file was addedclang/test/CodeGen/ppc64le-varargs-f128.c
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
Commit 7c2990b8af6f906a431b14951e831647d9bbb090 by kadircet
[clangd] Fix data race in GoToInclude.All test
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit ea7ab5a42cd4ab236977c4fe64768641fd506fd7 by weiwei64
[IndVarSimplify] Notify top most loop to drop cached exit counts

Some nested loops may share the same ExitingBB, so after we finishing FoldExit,
we need to notify OuterLoop and SCEV to drop any stored trip count.

Patched by: guopeilin
Reviewed By: mkazantsev

Differential Revision: https://reviews.llvm.org/D91325
The file was addedllvm/test/Transforms/IndVarSimplify/shared-exit-between-nested-loop.ll
The file was modifiedllvm/lib/Transforms/Scalar/IndVarSimplify.cpp
Commit 1827005cfcfff2100535d35c22e0cf7caa469c46 by sbc
[WebAssembly] Add support for named globals in the object format.

Differential Revision: https://reviews.llvm.org/D91769
The file was modifiedllvm/include/llvm/BinaryFormat/Wasm.h
The file was modifiedlld/test/wasm/init-fini.ll
The file was modifiedlld/test/wasm/function-imports-first.ll
The file was modifiedlld/test/wasm/target-feature-used.yaml
The file was modifiedlld/test/wasm/weak-alias.ll
The file was modifiedlld/test/wasm/local-symbols.ll
The file was modifiedllvm/include/llvm/ObjectYAML/WasmYAML.h
The file was modifiedlld/test/wasm/load-undefined.test
The file was modifiedlld/test/wasm/signature-mismatch-export.ll
The file was modifiedlld/test/wasm/undefined-weak-call.ll
The file was modifiedlld/test/wasm/map-file.s
The file was modifiedlld/test/wasm/target-feature-disallowed.yaml
The file was modifiedlld/test/wasm/weak-alias-overide.ll
The file was modifiedlld/test/wasm/data-segment-merging.ll
The file was modifiedllvm/lib/ObjectYAML/WasmEmitter.cpp
The file was modifiedlld/test/wasm/target-feature-none.yaml
The file was modifiedlld/test/wasm/stack-pointer.ll
The file was modifiedllvm/lib/ObjectYAML/WasmYAML.cpp
The file was modifiedllvm/tools/obj2yaml/wasm2yaml.cpp
The file was modifiedlld/test/wasm/ctor_return_value.s
The file was modifiedlld/test/wasm/call-indirect.ll
The file was modifiedlld/test/wasm/gc-imports.s
The file was modifiedlld/test/wasm/alias.s
The file was modifiedlld/test/wasm/locals-duplicate.test
The file was modifiedlld/test/wasm/target-feature-required.yaml
The file was modifiedlld/test/wasm/signature-mismatch.ll
The file was modifiedlld/wasm/SyntheticSections.h
The file was modifiedllvm/lib/Object/WasmObjectFile.cpp
The file was modifiedlld/wasm/SyntheticSections.cpp
The file was modifiedlld/test/wasm/gc-sections.ll
The file was modifiedllvm/include/llvm/Object/Wasm.h
The file was modifiedlld/test/wasm/function-imports.ll
The file was modifiedlld/test/wasm/cxx-mangling.ll
The file was modifiedlld/test/wasm/weak-symbols.ll
Commit ffe6c97f6b6e996f22ec3ca4a886dbb0d4f6f6fa by simon.moll
[VE] VEC_BROADCAST, lowering and isel

This defines the vec_broadcast SDNode along with lowering and isel code.
We also remove unused type mappings for the vector register classes (all vector MVTs that are not used in the ISA go).

We will implement support for short vectors later by intercepting nodes with illegal vector EVTs before LLVM has had a chance to widen them.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D91646
The file was modifiedllvm/lib/Target/VE/VEInstrInfo.td
The file was modifiedllvm/lib/Target/VE/VECallingConv.td
The file was modifiedllvm/lib/Target/VE/VEISelLowering.h
The file was modifiedllvm/lib/Target/VE/VEISelLowering.cpp
The file was addedllvm/lib/Target/VE/VEInstrPatternsVec.td
The file was addedllvm/test/CodeGen/VE/Vector/vec_broadcast.ll
The file was modifiedllvm/lib/Target/VE/VERegisterInfo.td
Commit 58ce4a8b1190f2ccc584140ca7fd1a6391846f3d by zinenko
[mlir][TableGen] Support intrinsics with multiple returns and overloaded operands.

For intrinsics with multiple returns where one or more operands are overloaded, the overloaded type is inferred from the corresponding field of the resulting struct, instead of accessing the result directly.

As such, the hasResult parameter of LLVM_IntrOpBase (and derived classes) is replaced with numResults. TableGen for intrinsics also updated to populate this field with the total number of results.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D91680
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
The file was modifiedmlir/test/Target/llvmir-intrinsics.mlir
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
The file was modifiedmlir/tools/mlir-tblgen/LLVMIRIntrinsicGen.cpp
Commit 47518d6a0aed7ec3607aeacfa511dedda2cd67cb by 1.int32
[clang-tidy] Improving bugprone-sizeof-expr check.

Do not warn for "pointer to aggregate" in a `sizeof(A) / sizeof(A[0])`
expression if `A` is an array of pointers. This is the usual way of
calculating the array length even if the array is of pointers.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D91543
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/bugprone-sizeof-expression.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SizeofExpressionCheck.cpp
Commit 7c601d09a76b55d191448d70b47a0a575db914b6 by mkazantsev
[NFC] Move code earlier as preparation for further changes
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Commit 515105f46b7e0037fe49a6fa8e469823c3f8433e by mkazantsev
[NFC] Remove comment (commited ahead of time by mistake)
The file was modifiedllvm/lib/Transforms/Utils/SimplifyIndVar.cpp
Commit 1983acce7c4da01d8fb33b3b3465619f973edd49 by flo
[SelDAGBuilder] Do not require simple VTs for constraints.

In some cases, the values passed to `asm sideeffect` calls cannot be
mapped directly to simple MVTs. Currently, we crash in the backend if
that happens. An example can be found in the @test_vector_too_large_r_m
test case, where we pass <9 x float> vectors. In practice, this can
happen in cases like the simple C example below.

using vec = float __attribute__((ext_vector_type(9)));
void f1 (vec m) {
  asm volatile("" : "+r,m"(m) : : "memory");
}

One case that use "+r,m" constraints for arbitrary data types in
practice is google-benchmark's DoNotOptimize.

This patch updates visitInlineAsm so that it use MVT::Other for
constraints with complex VTs. It looks like the rest of the backend
correctly deals with that and properly legalizes the type.

And we still report an error if there are no registers to satisfy the
constraint.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D91710
The file was modifiedllvm/test/CodeGen/AArch64/arm64-inline-asm.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/test/CodeGen/AArch64/inlineasm-illegal-type.ll
Commit 2d1f471e45af817e39f50ec88079cbbbf2580842 by david.stenberg
[Mach0] Fix unused-variable warnings

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D91519
The file was modifiedlld/MachO/SymbolTable.cpp
Commit a1de391dae8b6851c49a54da984c19d556c2b561 by simon.moll
[LV][NFC-ish] Allow vector widths over 256 elements

The assertion that vector widths are <= 256 elements was hard wired in the LV code. Eg, VE allows for vectors up to 512 elements. Test again the TTI vector register bit width instead - this is an NFC for non-asserting builds.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D91518
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 1e2da3839cc3543629ecb847fd3aa34edb64b42a by joe.ellis
[AArch64][SVE] Allow C-style casts between fixed-size and scalable vectors

This patch allows C-style casting between fixed-size and scalable
vectors. This kind of cast was previously blocked by the compiler, but
it should be allowed.

Differential Revision: https://reviews.llvm.org/D91262
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaCast.cpp
The file was addedclang/test/Sema/aarch64-sve-explicit-casts-fixed-size.c
The file was addedclang/test/SemaCXX/aarch64-sve-explicit-casts-fixed-size.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
Commit 14ae02fb3397961bb5f99a0df60622375fc1976d by llvm-dev
[X86][AVX] Only share broadcasts of different widths from the same SDValue of the same SDNode (PR48215)

D57663 allowed us to reuse broadcasts of the same scalar value by extracting low subvectors from the widest type.

Unfortunately we weren't ensuring the broadcasts were from the same SDValue, just the same SDNode - which failed on multiple-value nodes like ISD::SDIVREM

FYI: I intend to request this be merged into the 11.x release branch.

Differential Revision: https://reviews.llvm.org/D91709
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/pr48215.ll
Commit d8ff269f677621a773d75c79d50bb3f59a6b052e by mgorny
[lldb] Add explicit 64-bit fip/fdp registers on x86_64

The FXSAVE/XSAVE data can have two different layouts on x86_64.  When
called as FXSAVE/XSAVE..., the Instruction Pointer and Address Pointer
registers are reported using a 16-bit segment identifier and a 32-bit
offset.  When called as FXSAVE64/XSAVE64..., they are reported using
a complete 64-bit offsets instead.

LLDB has historically followed GDB and unconditionally used to assume
the 32-bit layout, with the slight modification of possibly
using a 32-bit segment register (i.e. extending the register into
the reserved 16 upper bits).  When the underlying operating system used
FXSAVE64/XSAVE64..., the pointer was split into two halves,
with the upper half repored as the segment registers.  While
reconstructing the full address was possible on the user end (and e.g.
the FPU register tests did that), it certainly was not the most
convenient option.

Introduce a two additional 'fip' and 'fdp' registers that overlap
with 'fiseg'/'fioff' and 'foseg'/'foff' respectively, and report
the complete 64-bit address.

Differential Revision: https://reviews.llvm.org/D91497
The file was addedlldb/test/Shell/Register/x86-64-fp-read.test
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp
The file was modifiedlldb/test/Shell/Register/x86-fp-read.test
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContextPOSIX_x86.h
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
The file was modifiedlldb/test/Shell/Register/x86-fp-write.test
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
The file was modifiedlldb/test/Shell/Register/x86-64-fp-write.test
The file was modifiedlldb/source/Plugins/Process/Utility/lldb-x86-register-enums.h
The file was modifiedlldb/unittests/Process/Utility/RegisterContextFreeBSDTest.cpp
Commit c43abf043692babf9ad4f8bded2fdf6ab9c354b0 by mgorny
[lldb] Use translated full ftag values

Translate between abridged and full ftag values in order to expose
the latter in the gdb-remote protocol while the former are used by
FXSAVE/XSAVE...  This matches the gdb behavior.

Differential Revision: https://reviews.llvm.org/D91504
The file was modifiedlldb/test/Shell/Register/x86-64-fp-write.test
The file was modifiedlldb/test/Shell/Register/x86-64-fp-read.test
The file was modifiedlldb/test/Shell/Register/x86-fp-read.test
The file was addedlldb/source/Plugins/Process/Utility/RegisterContext_x86.cpp
The file was modifiedlldb/unittests/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
The file was addedlldb/unittests/Process/Utility/RegisterContextTest.cpp
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
The file was modifiedlldb/test/Shell/Register/x86-fp-write.test
The file was modifiedlldb/source/Plugins/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContext_x86.h
Commit 140783347afb6e1848c81617d7fa3e556087cadd by kbobyrev
[clangd] Disable SerializationTest.NoCrashOnBadArraySize with ASAN

Address Sanitizer crashes on large allocations:

```c++
// Try to crash rather than hang on large allocation.
ScopedMemoryLimit MemLimit(1000 * 1024 * 1024); // 1GB
```
The file was modifiedclang-tools-extra/clangd/unittests/SerializationTests.cpp
Commit 006b3bdeddb0234f53a1ab72e427ef74184461f5 by david.green
[ARM] Deliberately prevent inline asm in low overhead loops. NFC

This was already something that was handled by one of the "else"
branches in maybeLoweredToCall, so this patch is an NFC but makes it
explicit and adds a test. We may in the future want to support this
under certain situations but for the moment just don't try and create
low overhead loops with inline asm in them.

Differential Revision: https://reviews.llvm.org/D91257
The file was modifiedllvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/inlineasm.ll
Commit fceaff41d6b7048768294dbe436fb3016fd29fc1 by llvm-dev
[ValueTracking] computeKnownBitsFromShiftOperator - move shift amount analysis to top of the function. NFCI.

These are all lightweight to compute and helps avoid issues with Known being used to hold both the shift amount and then the shifted result.

Minor cleanup for D90479.
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
Commit 9374e7b1781f0032873cc9de8f67a49acfbfbc00 by llvm-dev
[RISCV] Extend 32-bit test coverage of neg-abs tests for D91120
The file was modifiedllvm/test/CodeGen/RISCV/neg-abs.ll
Commit 7f4d88a1fa6b533267eba2424dbef5efe47372b6 by flo
[ConstraintElimination] Add GEP test case with variable offset.
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps.ll
Commit 57e0007546abd6c73c54249705f4fe42592fd179 by sven.vanhaastregt
Fix Wundef warnings for Support/Compiler.h

Support/Compiler.h is included by c files (e.g. regcomp.c) where
__cplusplus is not defined at all.  Avoid evaluating the undefined
macro for such files.
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit 40267cc989e6d055d5e470681dc7bcfffc72c32f by arthur.j.odwyer
[libc++] ADL-proof <vector> by adding _VSTD:: qualification on calls.

(1) Add _VSTD:: qualification to __swap_allocator.

(2) Add _VSTD:: qualification consistently to __to_address.

(3) Add some more missing _VSTD:: to <vector>, with a regression test.
This part is cleanup after d9a4f936d05.

Note that a vector whose allocator actually runs afoul of any of these ADL calls will
likely also run afoul of simple things like `v1 == v2` (which is also an ADL call).
But, still, libc++ should be consistent in qualifying function calls wherever possible.

Relevant blog post: https://quuxplusone.github.io/blog/2019/09/26/uglification-doesnt-stop-adl/

Differential Revision: https://reviews.llvm.org/D91708
The file was modifiedlibcxx/include/__split_buffer
The file was modifiedlibcxx/include/__hash_table
The file was modifiedlibcxx/include/forward_list
The file was modifiedlibcxx/include/__tree
The file was modifiedlibcxx/include/list
The file was modifiedlibcxx/include/memory
The file was addedlibcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
The file was modifiedlibcxx/include/string
The file was modifiedlibcxx/include/vector
The file was modifiedlibcxx/include/deque
Commit 9e39a5d9a68af70c58ac415e51e6b12cd85f9af2 by antiagainst
[mlir][linalg] Start a named ops to generic ops pass

This commit starts a new pass and patterns for converting Linalg
named ops to generic ops. This enables us to leverage the flexbility
from generic ops during transformations. Right now only linalg.conv
is supported; others will be added when useful.

Reviewed By: nicolasvasilache

Differential Revision: https://reviews.llvm.org/D91357
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.td
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/tools/mlir-linalg-ods-gen/mlir-linalg-ods-gen.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Passes.h
The file was addedmlir/test/Dialect/Linalg/generalize-named-ops.mlir
The file was addedmlir/lib/Dialect/Linalg/Transforms/Generalization.cpp
Commit 17497ec514f7a87e0ac39a803534b3a324a19324 by Xiangling.Liao
[AIX][FE] Support constructor/destructor attribute

Support attribute((constructor)) and attribute((destructor)) on AIX

Differential Revision: https://reviews.llvm.org/D90892
The file was addedclang/test/CodeGenCXX/aix-constructor-attribute.cpp
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h
The file was addedclang/test/CodeGen/aix-destructor-attribute.c
The file was removedclang/test/CodeGen/aix-constructor-attribute.cpp
The file was removedclang/test/CodeGen/aix-destructor-attribute.cpp
The file was addedclang/test/CodeGenCXX/aix-destructor-attribute.cpp
The file was addedclang/test/CodeGen/aix-constructor-attribute.c
The file was modifiedclang/lib/CodeGen/CodeGenModule.h
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/CodeGen/ItaniumCXXABI.cpp
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was removedclang/test/CodeGenCXX/aix-sinit-register-global-dtors-with-atexit.cpp
Commit 193a9b374e24d31b30095f2789f1994bc0c7b663 by goncharov.mikhail
Revert "[lldb] Use translated full ftag values"

This reverts commit c43abf043692babf9ad4f8bded2fdf6ab9c354b0.

Test commands/register/register/register_command/TestRegisters.py fails.
Buildbot http://lab.llvm.org:8011/#/changes/4149
The file was modifiedlldb/test/Shell/Register/x86-64-fp-read.test
The file was modifiedlldb/test/Shell/Register/x86-fp-read.test
The file was modifiedlldb/source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD_x86_64.cpp
The file was removedlldb/unittests/Process/Utility/RegisterContextTest.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/CMakeLists.txt
The file was removedlldb/source/Plugins/Process/Utility/RegisterContext_x86.cpp
The file was modifiedlldb/test/Shell/Register/x86-fp-write.test
The file was modifiedlldb/source/Plugins/Process/FreeBSDRemote/NativeRegisterContextFreeBSD_x86_64.cpp
The file was modifiedlldb/source/Plugins/Process/Utility/RegisterContext_x86.h
The file was modifiedlldb/unittests/Process/Utility/CMakeLists.txt
The file was modifiedlldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_x86_64.cpp
The file was modifiedlldb/test/Shell/Register/x86-64-fp-write.test
Commit a1702a297b8bb1e4ed15673c6e122ac9dab4c802 by Jan Svoboda
[clang][cli] Port Comment option flags to new parsing system

Depends on D83690

Reviewed By: dexonsmith

Original patch by Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D83691
The file was modifiedclang/include/clang/Driver/Options.td
Commit 620adacf87a376ec536ccc66af59df5bb4dc3b38 by goncharov.mikhail
Revert "[libc++] ADL-proof <vector> by adding _VSTD:: qualification on calls."

This reverts commit 40267cc989e6d055d5e470681dc7bcfffc72c32f.

Build fails, e.g. http://lab.llvm.org:8011/#/builders/23/builds/108
The file was modifiedlibcxx/include/__hash_table
The file was modifiedlibcxx/include/__split_buffer
The file was modifiedlibcxx/include/forward_list
The file was removedlibcxx/test/libcxx/containers/sequences/vector/robust_against_adl.pass.cpp
The file was modifiedlibcxx/include/deque
The file was modifiedlibcxx/include/__tree
The file was modifiedlibcxx/include/list
The file was modifiedlibcxx/include/memory
The file was modifiedlibcxx/include/vector
The file was modifiedlibcxx/include/string
Commit 7a0ea120e2a1fffab71f9c8e3d5337899f7a42af by Jan Svoboda
[clang][cli] Port analyzer flags to new option parsing system

Depends on D83691

Reviewed By: dexonsmith

Original patch by Daniel Grumberg.

Differential Revision: https://reviews.llvm.org/D83693
The file was modifiedclang/lib/Frontend/CompilerInvocation.cpp
The file was modifiedclang/include/clang/Driver/Options.td
Commit 734d2f98f64940b1f545d677729d213a954c7a3f by hokein.wu
[clangd] No crash on "-verify" mode.

If there is a "-verify" flag in the compile command, clangd will crash
(hit the assertion) inside the `~VerifyDiagnosticConsumer` (Looks like our
compiler invocation doesn't setup correctly?).

This patch disables the verify mode as it is rarely useful in clangd.

Differential Revision: https://reviews.llvm.org/D91777
The file was modifiedclang-tools-extra/clangd/Compiler.cpp
The file was modifiedclang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
Commit 0e4cdfc56aed9da66149aeb734228b15ceba18f7 by david.green
[ARM] Add a WLS tail predication test. NFC
The file was addedllvm/test/CodeGen/Thumb2/LowOverheadLoops/while-loops.ll
Commit 9bd50abc4ca150d5dfb89bf40de26549e4ec31e5 by antiagainst
[MLIR][SPIRV] Rename `spv._merge` to `spv.mlir.merge`

This commit does the renaming mentioned in the title in order to bring
'spv' dialect closer to the MLIR naming conventions.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D91797
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was modifiedmlir/test/Conversion/GPUToSPIRV/if.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/phi.mlir
The file was modifiedmlir/test/Conversion/GPUToSPIRV/loop.mlir
The file was modifiedmlir/test/Dialect/SPIRV/canonicalize.mlir
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/debug.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/function-call.mlir
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/control-flow-ops-to-llvm.mlir
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/loop.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
The file was modifiedmlir/test/Dialect/SPIRV/Transforms/inlining.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVControlFlowOps.td
The file was modifiedmlir/test/Dialect/SPIRV/Serialization/selection.mlir
The file was modifiedmlir/test/Dialect/SPIRV/control-flow-ops.mlir
The file was modifiedmlir/docs/Dialects/SPIR-V.md
The file was modifiedmlir/test/Conversion/LinalgToSPIRV/linalg-to-spirv.mlir
Commit 341f3c1120dfa8879e5f714a07fc8b16c8887a7f by antiagainst
[MLIR][SPIRV] ModuleCombiner: deduplicate global vars, spec consts, and funcs.

This commit extends the functionality of the SPIR-V module combiner
library by adding new deduplication capabilities. In particular,
implementation of deduplication of global variables and specialization
constants, and functions is introduced.

For global variables, 2 variables are considered duplicate if they either
have the same descriptor set + binding or the same built_in attribute.

For specialization constants, 2 spec constants are considered duplicate if
they have the same spec_id attribute.

2 functions are deduplicated if they are identical. 2 functions are
identical if they have the same prototype, attributes, and body.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D90951
The file was modifiedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/conflict_resolution.mlir
The file was modifiedmlir/include/mlir/Dialect/SPIRV/ModuleCombiner.h
The file was addedmlir/test/Dialect/SPIRV/Linking/ModuleCombiner/deduplication_basic.mlir
The file was modifiedmlir/lib/Dialect/SPIRV/Linking/ModuleCombiner/ModuleCombiner.cpp
Commit ab77fa515583ca906f2cb09a5f5e1ea3c48ec725 by diggerlin
[AIX][XCOFF][Patch2] decode vector information and extent long table of the traceback table of the xcoff.

SUMMARY:

1. decode the Vector extension if has_vec is set
2. decode long table fields, if longtbtable is set.

There is conflict on the bit order of HasVectorInfoMask and HasExtensionTableMask between AIX os header and IBM aix compiler XLC.
In the /usr/include/sys/debug.h defines
static constexpr uint32_t HasVectorInfoMask = 0x0040'0000;
static constexpr uint32_t HasExtensionTableMask = 0x0080'0000;
but the XLC defines as

static constexpr uint32_t HasVectorInfoMask = 0x0080'0000;
static constexpr uint32_t HasExtensionTableMask = 0x0040'0000;
we follows the definition of the IBM AIX compiler XLC here.

Reviewer: Jason Liu

Differential Revision: https://reviews.llvm.org/D86461
The file was modifiedllvm/include/llvm/Object/XCOFFObjectFile.h
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
The file was modifiedllvm/unittests/Object/XCOFFObjectFileTest.cpp
The file was modifiedllvm/lib/Object/XCOFFObjectFile.cpp
Commit f62fe0ee3bff8a9048d6182697ffca71321759bf by mtrofin
[FileCheck] Disallow unused prefixes in llvm/test/Analysis

This is achieved through a substitution of FileCheck in lit.cfg.py,
where we explicitly set -allow-unused-prefixes to false.

We also introduce a %FileCheckWithUnusedPrefixes% substitution that can
be used in those cases where we want to allow unused prefixes, even if
the folder policy is to disallow them.

Differential Revision: https://reviews.llvm.org/D91275
The file was addedllvm/test/Analysis/lit.local.cfg
Commit a703998e66f7500442e8f55bfcddf4a5820ca023 by Raphael Isemann
[lldb] Remove legacy casts from TestStackFromStdModule

We can handle all the types in the expression evaluator now without casting.
On Linux, we have a system header declaration that is still causing issues, so
I'm skipping the test there until I get around to fix this.
The file was modifiedlldb/test/API/commands/expression/import-std-module/stack/TestStackFromStdModule.py
Commit b7a09de10ffc59dec78a7d4b39bc78d07d3110eb by Raphael Isemann
[lldb][NFC] Add a FIXME for ClangASTSource::FindExternalLexicalDecls's unused 'decls' parameter
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
Commit 892ed1f15076251dd94d1e4783033d34ed69a3ed by sivachandra
[libc] Add differential fuzzers for ldexp and remquo.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D91763
The file was addedlibc/fuzzing/math/CMakeLists.txt
The file was addedlibc/fuzzing/math/LdExpDiff.h
The file was addedlibc/fuzzing/math/ldexp_differential_fuzz.cpp
The file was addedlibc/fuzzing/math/remquof_differential_fuzz.cpp
The file was addedlibc/fuzzing/math/ldexpl_differential_fuzz.cpp
The file was addedlibc/fuzzing/math/ldexpf_differential_fuzz.cpp
The file was addedlibc/fuzzing/math/RemQuoDiff.h
The file was modifiedlibc/fuzzing/CMakeLists.txt
The file was addedlibc/fuzzing/math/remquol_differential_fuzz.cpp
The file was addedlibc/fuzzing/math/remquo_differential_fuzz.cpp
Commit 908e26d511ce7ff9f3869d3bdd197320d6d81afe by lebedev.ri
[NFC][PhaseOrdering] Add a test showing the need to run IndVars after LoopIdiom
The file was addedllvm/test/Transforms/PhaseOrdering/X86/loop-idiom-vs-indvars.ll
Commit 74170a3aeff116d81c5a5f9476c83429da8fdc82 by tpopp
Use rewriter in SCFToSPIRV conversion.

Additionally, clear a data structure to ensure a proper state if multiple conversion attempts are needed.

Differential Revision: https://reviews.llvm.org/D91791
The file was modifiedmlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
Commit da8bec47ab8c755c8272ecf79d80c887bca8b781 by huberjn
[OpenMP] Add Location Fields to Libomptarget Runtime for Debugging

Summary:
Add support for passing source locations to libomptarget runtime functions using the ident_t struct present in the rest of the libomp API. This will allow the runtime system to give much more insightful error messages and debugging values.

Reviewers: jdoerfert grokos

Differential Revision: https://reviews.llvm.org/D87946
The file was modifiedclang/test/OpenMP/target_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_mapper_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedopenmp/libomptarget/include/SourceInfo.h
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_update_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_07.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_17.cpp
The file was modifiedclang/test/OpenMP/distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_10.cpp
The file was modifiedclang/test/OpenMP/target_parallel_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_names.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_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_29.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/hide_mem_transfer_latency.ll
The file was modifiedclang/test/OpenMP/target_teams_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_order_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_28.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_lastprivate_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_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_02.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_30.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_13.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_19.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_16.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_25.cpp
The file was modifiedclang/test/OpenMP/target_update_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedllvm/lib/Transforms/IPO/OpenMPOpt.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedllvm/test/Transforms/OpenMP/add_attributes.ll
The file was modifiedclang/test/OpenMP/capturing_in_templates.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_05.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_14.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_member_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp
The file was modifiedopenmp/libomptarget/src/private.h
The file was modifiedclang/test/OpenMP/target_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_04.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_18.inc
The file was modifiedclang/test/OpenMP/distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_uses_allocators_codegen.cpp
The file was modifiedclang/lib/CodeGen/CGOpenMPRuntime.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_24.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_03.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_12.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_capturing.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/declare_target_link_codegen.cpp
The file was modifiedllvm/include/llvm/Frontend/OpenMP/OMPKinds.def
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_15.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_num_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_31.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_00.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_11.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_use_device_addr_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_codegen.cpp
The file was modifiedclang/test/OpenMP/target_device_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_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_exit_data_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_codegen.cpp
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_lambda_pointer_capturing.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_06.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_33.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_collapse_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/target_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_is_device_ptr_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_private_codegen.cpp
The file was modifiedclang/test/OpenMP/target_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_simd_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_01.cpp
The file was modifiedclang/test/OpenMP/target_parallel_for_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_if_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_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_26.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_depend_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_data_map_pointer_array_subscript_codegen.cpp
The file was modifiedclang/test/OpenMP/target_enter_data_codegen.cpp
The file was modifiedclang/test/OpenMP/target_defaultmap_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_32.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp
The file was modifiedclang/test/OpenMP/target_parallel_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_uses_allocators_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_thread_limit_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_21.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp
The file was modifiedclang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_22.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_20.cpp
The file was modifiedclang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_08.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp
The file was modifiedclang/test/OpenMP/target_map_codegen_23.cpp
The file was modifiedllvm/test/Transforms/OpenMP/values_in_offload_arrays.ll
Commit 8ecb015ed5ad635f5faccd5303e53dd759a56447 by samuel.tebbs
[ARM][LowOverheadLoops] Convert intermediate vpr use assertion to condition

This converts the intermediate VPR use assertion to a condition in the if-statement to protect against assertion failures in case behaviuour is changed.

This is a follow-up to https://reviews.llvm.org/D90935 and implements the post-approval comments.

Reviewed By: dmgreen

Differential Revision: https://reviews.llvm.org/D91790
The file was modifiedllvm/test/CodeGen/Thumb2/LowOverheadLoops/vcmp-vpst-combination-across-blocks.mir
The file was modifiedllvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
Commit 8f778b283de5757fa8bf4da255a3a34b3a5cdbd3 by tejohnson
[sanitizer_common] Add facility to get the full report path

Add a new interface __sanitizer_get_report_path which will return the
full path to the report file if __sanitizer_set_report_path was
previously called (otherwise it returns null). This is useful in
particular for memory profiling handlers to access the path which
was specified at compile time (and passed down via
__memprof_profile_filename), including the pid added to the path when
the file is opened.

There wasn't a test for __sanitizer_set_report_path, so I added one
which additionally tests the new interface.

Differential Revision: https://reviews.llvm.org/D91765
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_file.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_file.h
The file was modifiedcompiler-rt/include/sanitizer/common_interface_defs.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp
The file was addedcompiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_test.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_interface_internal.h
Commit 7036fe8a0cffcefaa542f6dde756b7aa2f9c91b5 by cchen
[libomptarget] Add support for target update non-contiguous

This patch is the runtime support for https://reviews.llvm.org/D84192.

In order not to modify the tgt_target_data_update information but still be
able to pass the extra information for non-contiguous map item (offset,
count, and stride for each dimension), this patch overload arg when
the maptype is set as OMP_TGT_MAPTYPE_DESCRIPTOR. The origin arg is for
passing the pointer information, however, the overloaded arg is an
array of descriptor_dim:

```
struct descriptor_dim {
  int64_t offset;
  int64_t count;
  int64_t stride
};
```

and the array size is the dimension size. In addition, since we
have count and stride information in descriptor_dim, we can replace/overload the
arg_size parameter by using dimension size.

Reviewed By: grokos, tianshilei1992

Differential Revision: https://reviews.llvm.org/D82245
The file was modifiedopenmp/libomptarget/src/private.h
The file was modifiedopenmp/libomptarget/include/omptarget.h
The file was modifiedopenmp/libomptarget/src/omptarget.cpp
The file was modifiedopenmp/libomptarget/src/interface.cpp
The file was addedopenmp/libomptarget/test/offloading/non_contiguous_update.cpp
The file was modifiedopenmp/libomptarget/src/device.cpp
Commit 41c9f4c1cea7314c0a6a32f2e59dab60cd575c1f by sander.desmalen
[LoopVectorize] NFC: Fix unused variable warning for MaxSafeDepDist

rGf571fe6df585127d8b045f8e8f5b4e59da9bbb73 led to a warning of an unused
variable for MaxSafeDepDist (written but not used). It seems this
variable and assignment can be safely removed.
The file was modifiedllvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Commit 47b7138b484b8fc94633ac4750a11acad797473e by Raphael Isemann
[lldb] Fix incorrect error handling in  GDBRemoteCommunicationClient::SendGetSupportedTraceType

GDBRemoteCommunicationClient::SendGetSupportedTraceType is checking whether the
response is `!response.IsNormalResponse()` and infers from that that it is an error response.
However, it could be either "unsupported" or "error". If we get an unsupported response,
the code then tries to generate an llvm::Expected from the non-error response which then asserts.

Debugserver doesn't implement `jLLDBTraceSupportedType`, so we get an unsupported response
whenever this function is called on macOS.

This fixes the TestAproposWithProcess on macOS (where the `apropos` command will query
the CommandObjectTraceStart which then sends the trace type query package).

Reviewed By: wallace, shafik

Differential Revision: https://reviews.llvm.org/D91801
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
Commit 807320119fbb22b372996f89b3223c752f74081a by adhemerval.zanella
[AArch64] Lower fptrunc/fpext from/to FP128t to/from FP16

The compiler-rt part which adds the emitted symbols is handled in
a subsequent patch.

Differential Revision: https://reviews.llvm.org/D91731
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/TargetLoweringBase.cpp
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp128.ll
The file was modifiedllvm/include/llvm/IR/RuntimeLibcalls.def
Commit 1fb91fcf9cfe849c7e9996597c491306e34e7abc by adhemerval.zanella
[compiler-rt] [builtins] Support conversion between fp16 and fp128

This patch adds both extendhftf2 and trunctfhf2 to support
conversion between half-precision and quad-precision floating-point
values. They are enabled iff the compiler supports _Float16.

Some notes on ARM plaforms: while __fp16 is supported on all
architectures, _Float16 is supported only for 32-bit ARM, 64-bit ARM,
and SPIR (as indicated by clang/docs/LanguageExtensions.rst).  Also,
__fp16 is a storage format and promoted to 'float' for argument passing
and 64-bit ARM supports floating-point convert precision to half as
base armv8-a instruction.

It means that although extendhfsf2, truncdfhf2 __truncsfhf2 will be
built for 64-bit ARM, they will be never used in practice (compiler
won't emit libcall to them). This patch does not change the ABI for
32-bit ARM, it will continue to pass _Float16 as uint16.

Differential Revision: https://reviews.llvm.org/D91732
The file was modifiedcompiler-rt/lib/builtins/CMakeLists.txt
The file was addedcompiler-rt/lib/builtins/trunctfhf2.c
The file was modifiedcompiler-rt/test/builtins/CMakeLists.txt
The file was addedcompiler-rt/test/builtins/Unit/trunctfhf2_test.c
The file was addedcompiler-rt/test/builtins/Unit/extendhftf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/fp_test.h
The file was modifiedcompiler-rt/cmake/builtin-config-ix.cmake
The file was addedcompiler-rt/lib/builtins/extendhftf2.c
Commit 7a948298813c913841a36ed0b460db0856fe7082 by adhemerval.zanella
[compiler-rt] [builtins] Use _Float16 on extendhfsf2, truncdfhf2 __truncsfhf2 if available

On AArch64 it allows use the native FP16 ABI (although libcalls are
not emitted for fptrunc/fpext lowering), while on other architectures
the expected current semantic is preserved (arm for instance).

Differential Revision: https://reviews.llvm.org/D91733
The file was modifiedcompiler-rt/test/builtins/Unit/truncdfhf2_test.c
The file was modifiedcompiler-rt/test/builtins/Unit/truncsfhf2_test.c
The file was modifiedcompiler-rt/lib/builtins/truncsfhf2.c
The file was modifiedcompiler-rt/lib/builtins/truncdfhf2.c
The file was modifiedcompiler-rt/lib/builtins/fp_extend.h
The file was modifiedcompiler-rt/test/builtins/CMakeLists.txt
The file was modifiedcompiler-rt/lib/builtins/fp_trunc.h
The file was modifiedcompiler-rt/test/builtins/Unit/extendhfsf2_test.c
The file was modifiedcompiler-rt/lib/builtins/extendhfsf2.c
Commit 5b7bd89b3597c0175f99db1bbf9062ccbea85883 by antiagainst
Revert "Reorder linalg.conv indexing_maps loop order"

This reverts commit 9b47525824df9be5ae23c39e7ce0d220d12f85e5
and falls back to the original parallel-iterators-as-leading-
dimensions convention. We can control the loop order by first
converting the named op into linalg.generic and then performing
interchange.

Reviewed By: nicolasvasilache, asaadaldien

Differential Revision: https://reviews.llvm.org/D91796
The file was modifiedmlir/test/Dialect/Linalg/tile-conv.mlir
The file was modifiedmlir/test/Dialect/Linalg/generalize-named-ops.mlir
The file was modifiedmlir/test/Dialect/Linalg/loops.mlir
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
The file was modifiedmlir/test/Dialect/Linalg/affine.mlir
Commit 1ac9b548310c22ee558f04dd49d08ace0ccfb568 by fraser
[RISCV] Lower GREVI and GORCI as custom nodes

This moves the recognition of GREVI and GORCI from TableGen patterns
into a DAGCombine. This is done primarily to match "deeper" patterns in
the future, like (grevi (grevi x, 1) 2) -> (grevi x, 3).

TableGen is not best suited to matching patterns such as these as the compile
time of the DAG matchers quickly gets out of hand due to the expansion of
commutative permutations.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D91259
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rv64Zbp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoB.td
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
Commit 617e8e5ee3bb3316baae7a69d74b5ff95031d571 by n.james93
[clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved

Consider this code:
```
if (Cond) {
#ifdef X_SUPPORTED
  X();
#else
  return;
#endif
} else {
  Y();
}
Z();```

In this example, if `X_SUPPORTED` is not defined, currently we'll get a warning from the else-after-return check. However If we apply that fix, and then the code is recompiled with `X_SUPPORTED` defined, we have inadvertently changed the behaviour of the if statement due to the else being removed. Code flow when `Cond` is `true` will be:
```
X();
Y();
Z();```
where as before the fix it was:
```
X();
Z();```

This patch adds checks that guard against `#endif` directives appearing between the control flow interrupter and the else and not applying the fix if they are detected.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D91485
The file was modifiedclang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
The file was addedclang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-pp-no-crash.cpp
The file was modifiedclang-tools-extra/test/clang-tidy/checkers/readability-else-after-return.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h
Commit a75b2e87e6cbfabdfdd0d72c6962acf9d7756dd7 by tejohnson
[MemProf] Add interface to dump profile

Add an interface so that the profile can be dumped on demand.

Differential Revision: https://reviews.llvm.org/D91768
The file was addedcompiler-rt/test/memprof/TestCases/memprof_profile_dump.cpp
The file was modifiedcompiler-rt/test/memprof/TestCases/log_path_test.cpp
The file was modifiedcompiler-rt/lib/memprof/memprof_allocator.cpp
The file was modifiedcompiler-rt/include/sanitizer/memprof_interface.h
The file was modifiedcompiler-rt/lib/memprof/memprof_interface_internal.h
Commit c77aefb0ff36277c97f52e22cec3ffcc5db43064 by Raphael Isemann
[lldb] Fix another Python2/3 string<->bytes type error in patch-crashlog.py
The file was modifiedlldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
Commit 2f3adc54b57356cd207ded2ec2d7f4e1273da0ff by antiagainst
[MLIR][SPIRV] Rename `spv._module_end` to `spv.mlir.endmodule`

This commit does the renaming mentioned in the title in order to bring
'spv' dialect closer to the MLIR naming conventions.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D91792
The file was modifiedmlir/docs/Dialects/SPIR-V.md
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVStructureOps.td
The file was modifiedmlir/test/Conversion/SPIRVToLLVM/module-ops-to-llvm.mlir
The file was modifiedmlir/test/Dialect/SPIRV/structure-ops.mlir
The file was modifiedmlir/docs/SPIRVToLLVMDialectConversion.md
Commit a97f62837f59620a60b3ed9f29568440c7d0553a by leonardchan
[llvm][IR] Add dso_local_equivalent Constant

The `dso_local_equivalent` constant is a wrapper for functions that represents a
value which is functionally equivalent to the global passed to this. That is, if
this accepts a function, calling this constant should have the same effects as
calling the function directly. This could be a direct reference to the function,
the `@plt` modifier on X86/AArch64, a thunk, or anything that's equivalent to the
resolved function as a call target.

When lowered, the returned address must have a constant offset at link time from
some other symbol defined within the same binary. The address of this value is
also insignificant. The name is leveraged from `dso_local` where use of a function
or variable is resolved to a symbol in the same linkage unit.

In this patch:
- Addition of `dso_local_equivalent` and handling it
- Update Constant::needsRelocation() to strip constant inbound GEPs and take
  advantage of `dso_local_equivalent` for relative references

This is useful for the [Relative VTables C++ ABI](https://reviews.llvm.org/D72959)
which makes vtables readonly. This works by replacing the dynamic relocations for
function pointers in them with static relocations that represent the offset between
the vtable and virtual functions. If a function is externally defined,
`dso_local_equivalent` can be used as a generic wrapper for the function to still
allow for this static offset calculation to be done.

See [RFC](http://lists.llvm.org/pipermail/llvm-dev/2020-August/144469.html) for more details.

Differential Revision: https://reviews.llvm.org/D77248
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/lib/AsmParser/LLToken.h
The file was modifiedllvm/lib/IR/AsmWriter.cpp
The file was modifiedllvm/include/llvm/Target/TargetLoweringObjectFile.h
The file was addedllvm/test/CodeGen/X86/dso_local_equivalent.ll
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/lib/AsmParser/LLLexer.cpp
The file was modifiedllvm/lib/IR/Core.cpp
The file was modifiedllvm/docs/LangRef.rst
The file was modifiedllvm/include/llvm/IR/Value.def
The file was modifiedllvm/include/llvm/IR/Constants.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/test/CodeGen/X86/relptr-rodata.ll
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/lib/IR/LLVMContextImpl.h
The file was modifiedllvm/include/llvm/Analysis/ConstantFolding.h
The file was modifiedllvm/lib/AsmParser/LLParser.cpp
Commit 332710e70428d7a587d32de9fda833748d408944 by stilis
[mlir] Add a missing dependency to LinalgToLLVM

Generate passes.h before trying to use it

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D91750
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/CMakeLists.txt
Commit 9a465057a64dba8a8614424d26136f5c0452bcc3 by tra
[CUDA] Unbreak CUDA compilation with -std=c++20

Standard libc++ headers in stdc++ mode include <new> which picks up
cuda_wrappers/new before any of the CUDA macros have been defined.

We can not include CUDA headers that early, so the work-around is to define
__device__ in the wrapper header itself.

Differential Revision: https://reviews.llvm.org/D91807
The file was modifiedclang/lib/Headers/cuda_wrappers/new
Commit 5911e6a8857f146fb5a8f23af1d768aba25e7c3e by Louis Dionne
[libc++] Mark a few tests as unsupported on older Clangs to fix bots
The file was modifiedlibcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/construct.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/allocate_hint.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/destroy.pass.cpp
Commit b14ea01f3bfa819b039924f7d5beeed85051d94e by fraser
[RISCV] Add test cases for missed grevi/greviw opportunities. NFC
The file was modifiedllvm/test/CodeGen/RISCV/rv32Zbp.ll
The file was modifiedllvm/test/CodeGen/RISCV/rv64Zbp.ll
Commit 9cfad5f9c5bfd985f1bc8b0954f58013c5236e58 by Andrey.Churbanov
[OpenMP] Add support for Intel's umonitor/umwait

Patch by tlwilmar (Terry Wilmarth)

Differential Revision: https://reviews.llvm.org/D91189
The file was modifiedopenmp/runtime/src/kmp_wait_release.h
The file was modifiedopenmp/runtime/src/z_Linux_util.cpp
The file was modifiedopenmp/runtime/src/kmp_tasking.cpp
The file was modifiedopenmp/runtime/src/kmp_taskdeps.cpp
The file was modifiedopenmp/runtime/src/kmp_wait_release.cpp
The file was modifiedopenmp/runtime/src/kmp_settings.cpp
The file was modifiedopenmp/runtime/src/kmp_global.cpp
The file was modifiedopenmp/runtime/src/kmp_barrier.cpp
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
The file was modifiedopenmp/runtime/src/i18n/en_US.txt
The file was modifiedopenmp/runtime/src/kmp_os.h
The file was modifiedopenmp/runtime/src/kmp.h
The file was modifiedopenmp/runtime/src/kmp_stats.h
The file was modifiedopenmp/runtime/src/z_Windows_NT_util.cpp
Commit d7747dacba8e4a7784ea8ef20abbff87d5681b81 by sam.mccall
[clangd] Also detect corrupt stri table size.

Differential Revision: https://reviews.llvm.org/D91299
The file was modifiedclang-tools-extra/clangd/unittests/SerializationTests.cpp
The file was modifiedclang-tools-extra/clangd/index/Serialization.cpp
Commit 65fcddff24d68e2b75a5fa820b6664b6ea78b1de by riddleriver
[mlir][BuiltinDialect] Resolve comments from D91571

* Move ops to a BuiltinOps.h
* Add file comments
The file was modifiedmlir/include/mlir/Reducer/Tester.h
The file was modifiedmlir/test/lib/IR/TestMatchers.cpp
The file was modifiedmlir/examples/toy/Ch6/toyc.cpp
The file was modifiedmlir/lib/Conversion/AVX512ToLLVM/ConvertAVX512ToLLVM.cpp
The file was modifiedmlir/examples/toy/Ch3/mlir/MLIRGen.cpp
The file was modifiedmlir/include/mlir/IR/Function.h
The file was modifiedmlir/lib/Dialect/SPIRV/Transforms/RewriteInsertsPass.cpp
The file was modifiedmlir/test/lib/IR/TestSlicing.cpp
The file was modifiedmlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp
The file was modifiedflang/include/flang/Lower/FIRBuilder.h
The file was modifiedmlir/lib/Analysis/SliceAnalysis.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinDialect.h
The file was modifiedmlir/examples/toy/Ch2/include/toy/Dialect.h
The file was modifiedmlir/test/lib/IR/TestPrintNesting.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp
The file was modifiedmlir/include/mlir/IR/BuiltinOps.td
The file was modifiedmlir/test/lib/IR/TestFunc.cpp
The file was modifiedmlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.h
The file was modifiedflang/tools/tco/tco.cpp
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestAvailability.cpp
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp
The file was modifiedmlir/lib/Transforms/Utils/Utils.cpp
The file was modifiedmlir/test/lib/Pass/TestPassManager.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
The file was modifiedmlir/test/lib/Transforms/TestInlining.cpp
The file was modifiedmlir/lib/IR/Builders.cpp
The file was modifiedmlir/lib/Dialect/StandardOps/IR/Ops.cpp
The file was modifiedmlir/test/lib/Transforms/TestConstantFold.cpp
The file was modifiedmlir/test/lib/IR/TestPrintDefUse.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgOps.h
The file was modifiedmlir/examples/toy/Ch5/include/toy/Dialect.h
The file was modifiedmlir/include/mlir/Analysis/NestedMatcher.h
The file was modifiedflang/include/flang/Lower/Bridge.h
The file was modifiedmlir/examples/toy/Ch3/toyc.cpp
The file was modifiedmlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp
The file was addedmlir/include/mlir/IR/BuiltinOps.h
The file was modifiedmlir/lib/Analysis/AffineAnalysis.cpp
The file was modifiedmlir/lib/Support/MlirOptMain.cpp
The file was modifiedmlir/examples/toy/Ch4/mlir/MLIRGen.cpp
The file was modifiedmlir/lib/IR/BuiltinDialect.cpp
The file was modifiedmlir/include/mlir/CAPI/IR.h
The file was modifiedmlir/include/mlir/IR/Module.h
The file was modifiedmlir/lib/Dialect/GPU/IR/GPUDialect.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
The file was modifiedmlir/test/lib/Dialect/SPIRV/TestModuleCombiner.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/IR/LinalgTraits.h
The file was modifiedmlir/lib/Dialect/Vector/VectorOps.cpp
The file was modifiedmlir/include/mlir/Transforms/Bufferize.h
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
The file was modifiedmlir/lib/Dialect/LLVMIR/Transforms/LegalizeForExport.cpp
The file was modifiedmlir/lib/IR/MLIRContext.cpp
The file was modifiedmlir/examples/toy/Ch2/toyc.cpp
The file was modifiedmlir/lib/Conversion/LinalgToLLVM/LinalgToLLVM.cpp
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVOps.h
The file was modifiedmlir/lib/Pass/IRPrinting.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToROCDLIR.cpp
The file was modifiedmlir/lib/Transforms/Utils/InliningUtils.cpp
The file was modifiedmlir/include/mlir/Dialect/LLVMIR/LLVMDialect.h
The file was modifiedmlir/unittests/Pass/AnalysisManagerTest.cpp
The file was modifiedmlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Bufferize.cpp
The file was modifiedmlir/lib/Transforms/StripDebugInfo.cpp
The file was modifiedmlir/lib/Parser/Parser.cpp
The file was modifiedmlir/examples/toy/Ch5/toyc.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
The file was modifiedmlir/lib/Dialect/Affine/IR/AffineOps.cpp
The file was modifiedmlir/lib/Dialect/Affine/Utils/Utils.cpp
The file was modifiedmlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
The file was modifiedmlir/examples/toy/Ch5/mlir/MLIRGen.cpp
The file was modifiedmlir/unittests/Pass/PassManagerTest.cpp
The file was modifiedmlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
The file was modifiedmlir/lib/IR/Attributes.cpp
The file was modifiedmlir/lib/Translation/Translation.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp
The file was modifiedmlir/examples/toy/Ch3/include/toy/Dialect.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Hoisting.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestDialect.cpp
The file was modifiedmlir/examples/toy/Ch7/toyc.cpp
The file was modifiedmlir/lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp
The file was modifiedmlir/examples/toy/Ch6/mlir/MLIRGen.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopFusionUtils.cpp
The file was modifiedmlir/lib/Transforms/Utils/LoopUtils.cpp
The file was modifiedmlir/lib/Transforms/LoopInvariantCodeMotion.cpp
The file was modifiedmlir/examples/toy/Ch7/include/toy/Dialect.h
The file was modifiedmlir/examples/toy/Ch4/toyc.cpp
The file was modifiedmlir/lib/Transforms/OpStats.cpp
The file was modifiedmlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ConvertToNVVMIR.cpp
The file was modifiedmlir/lib/Conversion/SPIRVToLLVM/ConvertLaunchFuncToLLVMCalls.cpp
The file was modifiedmlir/include/mlir/Pass/Pass.h
The file was modifiedmlir/lib/Dialect/Vector/VectorTransforms.cpp
The file was modifiedmlir/lib/Dialect/SCF/Transforms/Utils.cpp
The file was modifiedmlir/include/mlir/Pass/AnalysisManager.h
The file was modifiedmlir/lib/ExecutionEngine/ExecutionEngine.cpp
The file was modifiedmlir/lib/Conversion/SCFToStandard/SCFToStandard.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
The file was modifiedmlir/lib/IR/AsmPrinter.cpp
The file was modifiedmlir/lib/Target/LLVMIR/ModuleTranslation.cpp
The file was modifiedmlir/lib/Pass/Pass.cpp
The file was modifiedflang/include/flang/Lower/AbstractConverter.h
The file was modifiedmlir/include/mlir/Dialect/Vector/VectorTransforms.h
The file was modifiedmlir/examples/toy/Ch4/include/toy/Dialect.h
The file was modifiedflang/lib/Optimizer/Dialect/FIROps.cpp
The file was modifiedmlir/examples/toy/Ch7/mlir/MLIRGen.cpp
The file was modifiedmlir/examples/toy/Ch6/include/toy/Dialect.h
The file was modifiedmlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp
The file was modifiedmlir/examples/toy/Ch2/mlir/MLIRGen.cpp
The file was modifiedmlir/test/EDSC/builder-api-test.cpp
The file was modifiedmlir/test/lib/IR/TestSymbolUses.cpp
Commit ad5a195ae510fbfaf7885549e4899c85f0593fa5 by sam.mccall
[clangd] Express ASAN interactions of tests more clearly. NFC
The file was modifiedclang-tools-extra/clangd/unittests/SerializationTests.cpp
Commit 314a0d73a8444e3b0c1a0d0de7d615d9448af1c9 by jgorbe
Fix crash after looking up dwo_id=0 in CU index.

In the current state, if getFromHash(0) is called and there's no CU with
dwo_id=0, the lookup will stop at an empty slot, then the check
`Rows[H].getSignature() != S` won't cause the lookup to fail and return
a nullptr (as it should), because the empty slot has a 0 in the
signature field, and a pointer to the empty slot will be incorrectly
returned.

This patch fixes this by using the index field in the hash entry to
check for empty slots: signature = 0 can match a valid hash but
according to the spec the index for an occupied slot will always be
non-zero.

Differential Revision: https://reviews.llvm.org/D91670
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp
The file was addedllvm/test/tools/llvm-symbolizer/split-dwarf-zero-signature-not-found.s
Commit 72badbcdccd11c12555147d48dee4a776f5da87d by aeubanks
[NPM] Move more O0 pass building into PassBuilder

This moves handling of alwaysinline, coroutines, matrix lowering, PGO,
and LTO-required passes into PassBuilder. Much of this is replicated
between Clang and opt. Other out-of-tree users also replicate some of
this, such as Rust [1] replicating the alwaysinline, LTO, and PGO
passes.

The LTO passes are also now run in
build(Thin)LTOPreLinkDefaultPipeline() since they are semantically
required for (Thin)LTO.

[1]: https://github.com/rust-lang/rust/blob/f5230fbf76bafd86ee4376a0e26e551df8d17fec/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp#L896

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D91585
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was addedllvm/test/Other/new-pm-O0-defaults.ll
The file was modifiedllvm/test/Other/new-pm-defaults.ll
The file was modifiedllvm/test/Other/new-pm-pgo-O0.ll
The file was modifiedllvm/test/Other/new-pass-manager.ll
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h
The file was modifiedllvm/test/Transforms/CanonicalizeAliases/canonicalize.ll
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
The file was modifiedllvm/test/Transforms/NameAnonGlobals/rename.ll
The file was modifiedllvm/test/Other/new-pm-thinlto-defaults.ll
Commit a8d9d0bd8a7ba07043f2af280fb5cc02b20a9ab5 by thakis
[gn build] (manually) merge 1fb91fcf9cfe849
The file was modifiedllvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
Commit eb995e93321622fff99d4fac7ec32d5efd14b337 by nikita.ppv
[Polly] Use LocationSize::unknown() (NFC)

Avoid MemoryLocation::UnknownSize when we're initializing a
LocationSize.
The file was modifiedpolly/lib/Analysis/ScopDetection.cpp
Commit 389ef79a07850373e2a1f5653d33ce5924bcfe19 by Louis Dionne
[libc++] Add documentation for setting up new CI jobs
The file was addedlibcxx/docs/AddingNewCIJobs.rst
The file was modifiedlibcxx/docs/index.rst
Commit 22ec72f803d67d173ca3733836763d7b981bb84f by nikita.ppv
[Lint] Use MemoryLocation

Instead of separately passing pointer and size, make use of
MemoryLocation. This allows us to also reuse all the existing
logic for determining the MemoryLocation correponding to an
instruction or call argument.

Not quite NFC because used locations may be more precise in some
cases.
The file was modifiedllvm/lib/Analysis/Lint.cpp
Commit beb889c1ffe68aee8d42c0ddbcd85d021963fb62 by unknown
Make array pointers in the CAPI const

These pointers do not need to be mutable. This has an affect that generated function signatures in the Swift bindings now use `UnsafePointer` instead of `UnsafeMutablePointer`.

Reviewed By: ftynse, mehdi_amini

Differential Revision: https://reviews.llvm.org/D91740
The file was modifiedmlir/lib/CAPI/IR/IR.cpp
The file was modifiedmlir/include/mlir-c/StandardTypes.h
The file was modifiedmlir/include/mlir-c/StandardAttributes.h
The file was modifiedmlir/include/mlir-c/IR.h
The file was modifiedmlir/lib/CAPI/IR/StandardTypes.cpp
The file was modifiedmlir/lib/CAPI/IR/StandardAttributes.cpp
Commit 887c7660bdf3f300bd1997dcfd7ace91787c0584 by apilipenko
[BasicAA] Deoptimize intrinsics don't modify memory

Similarly to assumes and guards deoptimize intrinsics are
marked as writing to ensure proper control dependencies
but they never modify any particular memory location.

Differential Revision: https://reviews.llvm.org/D91658
The file was addedllvm/test/Analysis/BasicAA/deoptimize.ll
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit b4ac05d76378aed7122d195b987c4b7c583c2cc6 by jianzhouzh
Replace the equivalent code by UnionTableAddr

UnionTableAddr is always inlined.

Reviewed-by: morehouse

Differential Revision: https://reviews.llvm.org/DD91758
The file was modifiedcompiler-rt/lib/dfsan/dfsan.cpp
Commit b0750e2df6e4d5251c67f74265edbc753c76afc2 by tpopp
Fix rollback of first block erasure in a region.

Differential Revision: https://reviews.llvm.org/D91788
The file was modifiedmlir/lib/Transforms/Utils/DialectConversion.cpp
The file was modifiedmlir/test/lib/Dialect/Test/TestPatterns.cpp
The file was modifiedmlir/test/Transforms/test-legalizer-full.mlir
Commit 393b9e9db31a3f83bc8b813ee24b56bc8ed93a49 by nikita.ppv
[MemLoc] Require LocationSize argument (NFC)

When constructing a MemoryLocation by hand, require that a
LocationSize is explicitly specified. D91649 will split up
LocationSize::unknown() into two different states, and callers
should make an explicit choice regarding the kind of MemoryLocation
they want to have.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/include/llvm/Analysis/MemoryLocation.h
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp
The file was modifiedllvm/include/llvm/Analysis/AliasAnalysis.h
The file was modifiedllvm/lib/Analysis/AliasAnalysis.cpp
The file was modifiedllvm/lib/Analysis/ObjCARCAliasAnalysis.cpp
The file was modifiedllvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
The file was modifiedllvm/lib/Analysis/GlobalsModRef.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
The file was modifiedllvm/lib/Analysis/MemoryDependenceAnalysis.cpp
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp
Commit d8eb99810dc32e5803d363ddc9dc30b79a5fefa7 by nikita.ppv
[MemLoc] Specify LocationSize in unit test

Followup to 393b9e9db31a3f83bc8b813ee24b56bc8ed93a49,
where I missed updating one MemoryLocation use inside a unit test.
The file was modifiedllvm/unittests/Analysis/MemorySSATest.cpp
Commit 7de7c40898a8f815d661781c92757f93fa4c6e5b by nikita.ppv
[MemLoc] Use hasValue() method (NFC)

Instead of comparing to LocationSize::unknown(), prefer calling
the hasValue() method instead, which is less reliant on
implementation details.
The file was modifiedllvm/lib/Analysis/CFLAndersAliasAnalysis.cpp
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit 7f2ebde7357a93103f9d64f7c109f8cab27de98d by silvasean
[mlir] Split BufferUtils.h out of Bufferize.h

These utilities are more closely associated with the buffer
optimizations and buffer deallocation than with the dialect conversion
stuff in Bufferize.h. So move them out.

This makes Bufferize.h very easy to understand and completely focused on
dialect conversion.

Differential Revision: https://reviews.llvm.org/D91563
The file was modifiedmlir/lib/Transforms/BufferDeallocation.cpp
The file was addedmlir/lib/Transforms/BufferUtils.cpp
The file was modifiedmlir/include/mlir/Transforms/Bufferize.h
The file was modifiedmlir/lib/Transforms/BufferOptimizations.cpp
The file was addedmlir/include/mlir/Transforms/BufferUtils.h
The file was modifiedmlir/lib/Transforms/CMakeLists.txt
Commit 6c1c308c0e170e86da4a06bb4e95cb9038494b90 by jianzhouzh
Remove deadcode from DFSanFunction::get*TLS*()

clean more deadcode after D84704

Reviewed-by: morehouse

Differential Revision: https://reviews.llvm.org/D91762
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Commit 9bb5bff570140d4fc5b1750ca7352b840dd58ed7 by zinenko
[mlir] Add an assertion on creating an Operation with null result types

Null types are commonly used as an error marker. Catch them in the constructor
of Operation if they are present in the result type list, as otherwise this
could lead to further surprising behavior when querying op result types.

Fix AsyncToLLVM and StandardToLLVM that were using null types when constructing
operations.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D91770
The file was modifiedmlir/lib/Conversion/AsyncToLLVM/AsyncToLLVM.cpp
The file was modifiedmlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
The file was modifiedmlir/lib/IR/Operation.cpp
The file was modifiedmlir/lib/IR/TypeRange.cpp
The file was modifiedmlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
Commit e8dc6e9a3242a5c07eb614d0d0de9a1dab6385b1 by nikita.ppv
[MemLoc] Use hasValue() method more (NFC)

Followup to 7de7c40898a8f815d661781c92757f93fa4c6e5b. I previously
removed a number of == comparisons to LocationSize::unknown(), but
missed these != comparisons.
The file was modifiedllvm/lib/Analysis/BasicAliasAnalysis.cpp
Commit bcd469a9912b63ae912af4e693ad5c9d317fbdbb by lebedev.ri
[NFC][InstCombine] Add test coverage for `and (sext %x), SIGNMASK`-like pattern
The file was addedllvm/test/Transforms/InstCombine/signmask-of-sext-vs-of-shl-of-zext.ll
Commit a91e96702a3b8ef19afc5b7d2e51ce6b6a7fded9 by lebedev.ri
[InstCombine] Fold `and(shl(zext(x), width(SIGNMASK) - width(%x)), SIGNMASK)` to `and(sext(%x), SIGNMASK)`

One less instruction and reducing use count of zext.
As alive2 confirms, we're fine with all the weird combinations of
undef elts in constants, but unless the shift amount was undef
for a lane, we must sanitize undef mask to zero, since sign bits
are no longer zeros.

https://rise4fun.com/Alive/d7r
```
----------------------------------------
Optimization: zz
Precondition: ((C1 == (width(%r) - width(%x))) && isSignBit(C2))
  %o0 = zext %x
  %o1 = shl %o0, C1
  %r = and %o1, C2
=>
  %n0 = sext %x
  %r = and %n0, C2

Done: 2016
Optimization is correct!
```
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
The file was modifiedllvm/test/Transforms/InstCombine/signmask-of-sext-vs-of-shl-of-zext.ll
Commit b156514f8d9951176e768e6078162dbaacccccdf by gcmn
Remove unused private fields

Unused since https://reviews.llvm.org/D91762 and triggering
-Wunused-private-field

```
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:365:13: error: private field 'GetArgTLS' is not used [-Werror,-Wunused-private-field]
  Constant *GetArgTLS;
            ^
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:366:13: error: private field 'GetRetvalTLS' is not used [-Werror,-Wunused-private-field]
  Constant *GetRetvalTLS;
```

Reviewed By: stephan.yichao.zhao

Differential Revision: https://reviews.llvm.org/D91820
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Commit 3ded927cf80ac519f9f9c4664fef08787f7c537d by tpopp
[mlir] Add missing const * updates in StandardAttributes

This add missing updates to the header file that caused linking issues.
Original change at https://reviews.llvm.org/D91740

Differential Revision: https://reviews.llvm.org/D91822
The file was modifiedmlir/include/mlir-c/StandardAttributes.h
Commit 7cce6212a4a21d3bc9639b867defb0ff5a7641a6 by aeubanks
[test] Fix pr39282.ll under NPM

Already has a NPM RUN line
The file was modifiedllvm/test/Transforms/PhaseOrdering/pr39282.ll
Commit dfe67f450ef60ce7bd3528b3e2d4326e6ac598ea by aeubanks
[test] Fix globalaa-retained.ll under NPM

Just '-O2' didn't run the full AA pipeline under NPM.
The file was modifiedllvm/test/Transforms/PhaseOrdering/globalaa-retained.ll
Commit 7fa14a7c690e8789d964c0d8246e2b3763c4d080 by flo
[ConstraintElimination] Decompose GEP with arbitrary offsets.

This patch decomposes `GEP %x, %offset` as  0 + 1 * %x + 1 * %off.
The file was modifiedllvm/lib/Transforms/Scalar/ConstraintElimination.cpp
The file was modifiedllvm/test/Transforms/ConstraintElimination/geps.ll
Commit 1a7d7f423e756922042753f8a2fdc0418b87381a by aeubanks
[test] Fix split-vfunc.ll under NPM

We need an AA pipeline under NPM.
This is a no-op if we are still using the legacy PM.
The file was modifiedllvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc.ll
Commit 8adc4d1ec76471bc283d888f3077f7d8f591d6ad by sam.mccall
[clangd] Add textDocument/ast extension method to dump the AST

This is a mass-market version of the "dump AST" tweak we have behind
-hidden-features.
I think in this friendlier form it'll be useful for people outside clang
developers, which would justify making it a real feature.
It could be useful as a step towards lightweight clang-AST tooling in clangd
itself (like matcher-based search).

Advantages over the tweak:
- simplified information makes it more accessible, likely somewhat useful
   without learning too much clang internals
- can be shown in a tree view
- structured information gives some options for presentation (e.g.
   icon + two text colors + tooltip in vscode)
- clickable nodes jump to the corresponding code
Disadvantages:
- a bunch of code to handle different node types
- likely missing some important info vs dump-ast due to brevity/oversight
- may end up chasing/maintaining support for the long tail of nodes

Demo with VSCode support: https://imgur.com/a/6gKfyIV

Differential Revision: https://reviews.llvm.org/D89571
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h
The file was addedclang-tools-extra/clangd/DumpAST.h
The file was addedclang-tools-extra/clangd/test/ast.test
The file was modifiedclang-tools-extra/clangd/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/unittests/CMakeLists.txt
The file was modifiedclang-tools-extra/clangd/Protocol.h
The file was addedclang-tools-extra/clangd/DumpAST.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
The file was modifiedclang-tools-extra/clangd/test/initialize-params.test
The file was addedclang-tools-extra/clangd/unittests/DumpASTTests.cpp
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
The file was modifiedclang-tools-extra/clangd/Protocol.cpp
Commit d730e611e67fc14a725450dc95deac737a188d48 by llvmgnsyncbot
[gn build] Port 8adc4d1ec76
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clangd/BUILD.gn
Commit 0fd04337a17138174adf9e6d408cf9c885dea086 by shafik
[LLDB] Fixing lldb/test/Shell/Register/x86-fp-write.test

D91497 changed lldb/test/Shell/Register/x86-fp-write.test and added target-x86_64 to the REQUIRES clause.
It looks this test does not pass on this platform so removing it since it one of tests failing on the
green dragon build bot.
The file was modifiedlldb/test/Shell/Register/x86-fp-write.test
Commit f7f0fe6184807a7085fee9e57ae47bc3e2617cdc by sbc
[lld][WebAssembly] Convert more tests to asm format. NFC.

Differential Revision: https://reviews.llvm.org/D91681
The file was removedlld/test/wasm/weak-symbols.ll
The file was removedlld/test/wasm/undefined-weak-call.ll
The file was addedlld/test/wasm/undefined-weak-call.s
The file was removedlld/test/wasm/weak-undefined.ll
The file was addedlld/test/wasm/undefined-data.s
The file was addedlld/test/wasm/weak-undefined.s
The file was addedllvm/test/CodeGen/WebAssembly/weak.ll
The file was removedlld/test/wasm/undefined-data.ll
The file was addedlld/test/wasm/weak-symbols.s
Commit 40e877264dc5bd9a025bc1fc0f01fb69a3f3cdc2 by Duncan P. N. Exon Smith
ADT: Weaken SmallVector::resize assertion from 5abf76fbe37380874a88cc9aa02164800e4e10f3

There's no need to check for reference invalidation when
`SmallVector::resize` is shrinking; the parameter isn't accessed.

Differential Revision: https://reviews.llvm.org/D91832
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
The file was modifiedllvm/unittests/ADT/SmallVectorTest.cpp
Commit 91fe3e309c7c4b2c7c906353e4b658ee704fe0bf by Duncan P. N. Exon Smith
ADT: Use early returns in SmallVector::resize, NFC

Just a simple cleanup, no functionality change here.
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
Commit 513d165b80eec6187ba88dcbe8bfe38baaa2fb01 by aeubanks
Port -lower-matrix-intrinsics-minimal to NPM

This reuses the existing lower-matrix-intrinsics pass rather than going
the legacy pass route of creating a new pass.

Use this new variant in the NPM -O0 pipeline.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D91811
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-minimal.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/lib/Passes/PassRegistry.def
The file was modifiedllvm/include/llvm/Transforms/Scalar/LowerMatrixIntrinsics.h
The file was modifiedllvm/test/Other/new-pm-O0-defaults.ll
The file was modifiedllvm/lib/Transforms/Scalar/LowerMatrixIntrinsics.cpp
Commit 1fe24a640c2837fbbfb03add122cb3b045914416 by Duncan P. N. Exon Smith
ADT: Split out isSafeToReferenceAfterResize helper to use early returns, NFC

The assertion logic in SmallVector::assertSafeToReferenceAfterResize is
hard to follow; split out SmallVector::isSafeToReferenceAfterResize and
add early returns and comments. No functionality change here.
The file was modifiedllvm/include/llvm/ADT/SmallVector.h
Commit 8d5673ffd88fae399419da09806614fcae00fedb by aeubanks
[test] Fix multiply-minimal.ll
The file was modifiedllvm/test/Transforms/LowerMatrixIntrinsics/multiply-minimal.ll
Commit b2f663073917babb84f5ba9129451e8d564cba1a by isanbard
[PowerPC] Allow a '%' prefix for registers in CFI directives

Clang generates a '%' prefix for some registers in CFI directives. E.g.
".cfi_register lr, r12" becomes ".cfi_register lr, %r12" after
processing.

Differential Revision: https://reviews.llvm.org/D91735
The file was addedllvm/test/MC/PowerPC/cfi-register-directive-parse.s
The file was modifiedllvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
Commit 8b525c9c19f8c4cf3d7df0ec93e4935fae087e7a by ravishankarm
[mlir][Linalg] Add utility function that return static loop bounds of Linalg ops

Differential Revision: https://reviews.llvm.org/D91749
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Utils/Utils.cpp
Commit f8284d21a8e294d58a0acd4b8b2e906d7a9f110c by ravishankarm
[mlir][Linalg] Fuse sequence of Linalg operation (on buffers)

Enhance the tile+fuse logic to allow fusing a sequence of operations.

Differential Revision: https://reviews.llvm.org/D90991
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/test/Dialect/Linalg/fusion-pattern.mlir
The file was addedmlir/test/Dialect/Linalg/fusion-sequence.mlir
The file was modifiedmlir/tools/mlir-opt/mlir-opt.cpp
The file was modifiedmlir/test/lib/Transforms/TestLinalgFusionTransforms.cpp
Commit 0c59f51592ef5c014352994369f5216c6376fae1 by ravishankarm
[mlir][Linalg] NFC: Expose some utility functions used for promotion.

Exposing some utility functions from Linalg to allow for promotion of
fused views outside of the core tile+fuse logic.
This is an alternative to patch D91322 which adds the promotion logic
to the tileAndFuse method. Downside with that approach is that it is
not easily customizable based on needs.

Differential Revision: https://reviews.llvm.org/D91503
The file was modifiedmlir/include/mlir/Dialect/Linalg/Utils/Utils.h
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
The file was modifiedmlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
Commit 0f9f0a4046e11c2b4c130640f343e3b2b5db08c1 by gcmn
Remove unused isZero function

Unused since https://reviews.llvm.org/D91503 and triggering
-Wunused-function

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D91838
The file was modifiedmlir/lib/Dialect/Linalg/Transforms/Fusion.cpp
Commit fbfbfa5c713f4b98f174f9ff3416eaf42d133bc0 by joker.eph
[mlir] Support big-endian systems in DenseElementsAttr (multiple word)

D78076 supports big endian in DenseElementsAttr, but does not work when
APInt has multiple words(the number of bits > 64). This patch updates
D78076 to support it.
This patch removed the fix in D78076 and re-implemented to support multiple words.

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D80272
The file was modifiedmlir/lib/IR/Attributes.cpp
Commit 2583d8eb08073d3c1e06b21b1c4216d0ab7a0909 by kazu
[CodeGen] Use llvm::is_contained (NFC)
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
The file was modifiedllvm/lib/CodeGen/MIRCanonicalizerPass.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp