Changes

Summary

  1. [libc++] NFC: Move unwrap_iter to its own header (details)
  2. [LoopDeletion] Add test with potentially infinite sub-loop. (details)
  3. [PhaseOrdering] add test for late simplifycfg with LTO; NFC (details)
  4. [PassManager] unify late simplifycfg options between regular and LTO pipelines (details)
  5. Revert "[NFCI][LoopDeletion] Do not call complex analysis for known non-zero BTC" (details)
  6. Revert "[NFC] Reuse existing variables instead of re-requesting successors" (details)
  7. Revert "[NFC] Formatting fix" (details)
  8. Revert "[NFCI][LoopDeletion] Only query SCEV about loop successor if another successor is also in loop" (details)
  9. Revert "Return "[LoopDeletion] Break backedge if we can prove that the loop is exited on 1st iteration" (try 2)" (details)
  10. [VectorCombine] Add variants of multi-extract tests with assumes. (details)
  11. [VectorCombine] Check indices for all extracts we scalarize. (details)
  12. [SelectionDAG] Fix typo in assert. NFC (details)
  13. [VP] Make getMaskParamPos/getVectorLengthParamPos return unsigned. Lowercase function names. (details)
  14. Revert "[clang][Parse] Add parsing support for C++ attributes on using-declarations" (details)
  15. [RISCV] Add octuple to LMULInfo tablegen class, remove octuple_from_str. NFCI (details)
  16. [gn build] Port 9968896cd62a (details)
Commit 9968896cd62a62b11ac61085534dd598c4bd3c60 by Louis Dionne
[libc++] NFC: Move unwrap_iter to its own header
The file was modifiedlibcxx/include/CMakeLists.txt
The file was addedlibcxx/include/__algorithm/unwrap_iter.h
The file was modifiedlibcxx/include/algorithm
Commit 2ee59f75fea87968087f2bb32a0e7e25573a4f76 by flo
[LoopDeletion] Add test with potentially infinite sub-loop.

Tests for PR50511.
The file was modifiedllvm/test/Transforms/LoopDeletion/noop-loops-with-subloops.ll
Commit a279550cde3b582daea0e927af894846d5245c9c by spatel
[PhaseOrdering] add test for late simplifycfg with LTO; NFC

Part of D102002
The file was addedllvm/test/Transforms/PhaseOrdering/X86/simplifycfg-late.ll
Commit 403cfe5d707d0965218418b8e1e21caf5288fd65 by spatel
[PassManager] unify late simplifycfg options between regular and LTO pipelines

This is split off from D102002, and I think it is clear that
the difference in behavior was not intended. Options were
added to SimplifyCFG over time, but different chunks of
the pass pipelines were not kept in sync.
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/PhaseOrdering/X86/simplifycfg-late.ll
The file was modifiedllvm/lib/Transforms/IPO/PassManagerBuilder.cpp
Commit dd226803c220f02a5987f0ee9f9ac3ffe2b35c09 by stefanp
Revert "[NFCI][LoopDeletion] Do not call complex analysis for known non-zero BTC"

This reverts commit 7d418dadf6b1e6fd9bcccf7c5b5e1db74992ee70.
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
Commit 807fc7cdc97fc172b4967707a7718e7333351bff by stefanp
Revert "[NFC] Reuse existing variables instead of re-requesting successors"

This reverts commit c467585682dcdda75e645ef3ab47c8b48440db12.
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
Commit fd553312031c7d8085fa6ee0755a957796eadf05 by stefanp
Revert "[NFC] Formatting fix"

This reverts commit 59d938e649e62db0cef4903d495e838fbc6a6eb8.
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
Commit 24bd657202379595b514ee17241f019294e86bc9 by stefanp
Revert "[NFCI][LoopDeletion] Only query SCEV about loop successor if another successor is also in loop"

This reverts commit b0b2bf3b5da950679db1431aae431a6dedea2245.
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
Commit 0159652058ca555b05db6a209fe9cf660c3bf8e6 by stefanp
Revert "Return "[LoopDeletion] Break backedge if we can prove that the loop is exited on 1st iteration" (try 2)"

This reverts commit be1a23203b1de655b8c7dac7549818d975a0cbbf.
The file was modifiedllvm/test/Transforms/LoopDeletion/eval_first_iteration.ll
The file was modifiedllvm/lib/Transforms/Scalar/LoopDeletion.cpp
The file was modifiedllvm/test/Transforms/LoopDeletion/zero-btc.ll
Commit f01df9805ce2f81a04550799aae9b2d2a24fce7c by flo
[VectorCombine] Add variants of multi-extract tests with assumes.
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll
Commit 007f268c35fcd9428ba13f3a9f288b997278c1a4 by flo
[VectorCombine] Check indices for all extracts we scalarize.

We need to make sure that the indices of all extracts we scalarize are
valid.
The file was modifiedllvm/test/Transforms/VectorCombine/AArch64/load-extractelement-scalarization.ll
The file was modifiedllvm/lib/Transforms/Vectorize/VectorCombine.cpp
Commit d24d2447cd228330d233f8e7710f11a802eaf681 by craig.topper
[SelectionDAG] Fix typo in assert. NFC
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Commit 2830d924b0873b33413320650806376dbf6ee9d1 by craig.topper
[VP] Make getMaskParamPos/getVectorLengthParamPos return unsigned. Lowercase function names.

Parameter positions seem like they should be unsigned.

While there, make function names lowercase per coding standards.

Reviewed By: frasercrmck

Differential Revision: https://reviews.llvm.org/D103224
The file was modifiedllvm/unittests/IR/VPIntrinsicTest.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
The file was modifiedllvm/include/llvm/IR/IntrinsicInst.h
The file was modifiedllvm/lib/IR/IntrinsicInst.cpp
Commit f63adf5b67f7a25b15f81d3a1a207aba4f226dc4 by thakis
Revert "[clang][Parse] Add parsing support for C++ attributes on using-declarations"

This reverts commit dc672999a9b12a156991891dc400308b52d569ba.
Breaks check-clang everywhere, see https://reviews.llvm.org/D91630
The file was modifiedclang/include/clang/Basic/Features.def
The file was removedclang/test/SemaCXX/cxx11-attributes-on-using-declaration.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticParseKinds.td
The file was modifiedclang/lib/Sema/SemaDeclCXX.cpp
The file was modifiedclang/docs/LanguageExtensions.rst
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/test/Parser/cxx0x-attributes.cpp
The file was modifiedclang/lib/Parse/ParseDeclCXX.cpp
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Parse/ParseDecl.cpp
Commit 58cb64921280d1a0c07e6f69f741f57df7a4b68a by craig.topper
[RISCV] Add octuple to LMULInfo tablegen class, remove octuple_from_str. NFCI

octuple_from_str was always used with the MX field from an
LMULInfo. Might as well just precompute it and put it in the class.
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Commit b6afdbac134beac3f4e3acb16cc03ce4de90ef5d by llvmgnsyncbot
[gn build] Port 9968896cd62a
The file was modifiedllvm/utils/gn/secondary/libcxx/include/BUILD.gn