Changes

Summary

  1. [InstCombine] Add test coverage for PR48683 (details)
  2. [libcxx][test] Make MSVC `<charconv>` test compile when testing MSVC (details)
  3. [Support] Simplify parallelForEach{,N} (details)
  4. [NewGVN][NFC] precommit tests for PR53277 (details)
  5. [llvm] Fix header guards (NFC) (details)
  6. [Commands] Remove redundant member initialization (NFC) (details)
  7. [Object] Remove a redundant return statement (NFC) (details)
  8. [MLIR][Presburger] Clean PresburgerSet identifier interface to match IntegerPolyhedron's interface (details)
  9. [RISCV] Adjust the header comment in RISCVInstrInfoZb.td to better integrate Zbk* extensions. (details)
  10. [X86] LowerFunnelShift - use supportedVectorShiftWithBaseAmnt to check for supported scalar shifts (details)
  11. [clang] Move the definition of ASTDiff (NFC) (details)
  12. [clang] Forward-declare DynTypedNode (NFC) (details)
  13. [clang] Remove unused forward declarations (NFC) (details)
  14. [X86] LowerFunnelShift - always lower vXi8 fshl by constant amounts as unpack(y,x) << zext(z) (details)
Commit f69379d0a43bbe14e58e45286de3ae1cf8a58147 by llvm-dev
[InstCombine] Add test coverage for PR48683

D108992 added self-multiply handling to KnownBits::mul but we don't use it yet..
The file was modifiedllvm/test/Transforms/InstCombine/mul-masked-bits.ll
Commit 818cfb10c57487cd9c8b57d8136d9e42b31a50aa by Casey
[libcxx][test] Make MSVC `<charconv>` test compile when testing MSVC

<meme>How many layers of irony are you on?</meme>

Differential Revision: https://reviews.llvm.org/D117967
The file was modifiedlibcxx/test/std/utilities/charconv/charconv.msvc/test.pass.cpp
Commit 8e382ae91b97161930a128e56774d6e1242b6514 by i
[Support] Simplify parallelForEach{,N}

* Merge parallel_for_each into parallelForEach (this removes 1 `Fn(...)` call)
* Change parallelForEach to use parallelForEachN
* Move parallelForEachN into Parallel.cpp

My x86-64 `lld` executable is 100KiB smaller.
No noticeable difference in performance.

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D117510
The file was modifiedllvm/lib/Support/Parallel.cpp
The file was modifiedllvm/include/llvm/Support/Parallel.h
Commit 1a5dea9e2b97a74a277e82bfe010d521f1690eea by nuno.lopes
[NewGVN][NFC] precommit tests for PR53277
The file was addedllvm/test/Transforms/NewGVN/phi-of-ops-loads.ll
Commit 7a29b0b58383e8ceb751144fe638c46cacc6fe40 by kazu
[llvm] Fix header guards (NFC)

Identified with llvm-header-guard.
The file was modifiedllvm/include/llvm/Analysis/NoInferenceModelRunner.h
The file was modifiedllvm/include/llvm/Analysis/ReleaseModeModelRunner.h
The file was modifiedllvm/include/llvm/Demangle/ItaniumDemangle.h
The file was modifiedllvm/include/llvm/Demangle/Utility.h
The file was modifiedllvm/include/llvm/Demangle/StringView.h
The file was modifiedllvm/include/llvm/ProfileData/MemProfData.inc
Commit abb0ed44957cb4ba1bc94d19202860f10369cea1 by kazu
[Commands] Remove redundant member initialization (NFC)

Identified with readability-redundant-member-init.
The file was modifiedlldb/source/Commands/CommandObjectExpression.cpp
The file was modifiedlldb/source/Commands/CommandObjectReproducer.cpp
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.cpp
The file was modifiedlldb/source/Commands/CommandObjectSource.cpp
The file was modifiedlldb/source/Commands/CommandObjectTrace.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp
The file was modifiedlldb/source/Commands/CommandObjectLog.cpp
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Commands/CommandObjectHelp.h
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
The file was modifiedlldb/source/Commands/CommandObjectStats.cpp
The file was modifiedlldb/source/Commands/CommandOptionsProcessLaunch.h
The file was modifiedlldb/source/Commands/CommandObjectScript.h
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/CommandObjectSession.cpp
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Commands/CommandObjectHelp.cpp
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp
The file was modifiedlldb/source/Commands/CommandObjectRegexCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectRegister.cpp
The file was modifiedlldb/source/Commands/CommandObjectMemoryTag.cpp
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
Commit f8ddcb4131256fcb1777cba617d3c5277024f9ec by kazu
[Object] Remove a redundant return statement (NFC)

Identified with readability-redundant-control-flow.
The file was modifiedllvm/lib/Object/Archive.cpp
Commit ad36f37ce2b4ab6b1aadf318456fb2b8bb141d71 by groverkss
[MLIR][Presburger] Clean PresburgerSet identifier interface to match IntegerPolyhedron's interface

This patch changes names of identifiers and their corresponding getters in
PresburgerSet to match those of IntegerPolyhedron.

Reviewed By: arjunp

Differential Revision: https://reviews.llvm.org/D117998
The file was modifiedmlir/include/mlir/Analysis/Presburger/PresburgerSet.h
The file was modifiedmlir/lib/Analysis/Presburger/PresburgerSet.cpp
Commit 413684313d9dd7c83ab0c40830cccbd31a94bd7c by craig.topper
[RISCV] Adjust the header comment in RISCVInstrInfoZb.td to better integrate Zbk* extensions.

The Zbk* extensions have some overlap with Zb so have been placed in this file.

Reviewed By: VincentWu

Differential Revision: https://reviews.llvm.org/D117958
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoZb.td
Commit 32dc14f876c4b196dccb5b8db56510e401fa91ab by llvm-dev
[X86] LowerFunnelShift - use supportedVectorShiftWithBaseAmnt to check for supported scalar shifts

Allows us to reuse the ISD shift opcode instead of a mixture of ISD/X86ISD variants
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit ab1add6adc444371268ddbcb169a509559abd9dc by kazu
[clang] Move the definition of ASTDiff (NFC)

This patch moves the definition of ASTDiff later within the header
file.

Without this patch, the header depends on the forward decalrations of
SyntaxTree and ComparisonOptions from another header file, which is
not desirable.  Since SyntaxTree and ComparisonOptions are defined in
ASTDiff.h, we can move the definition of ASTDiff later and stop
relying on the forward declarations from another header file.
The file was modifiedclang/include/clang/Tooling/ASTDiff/ASTDiff.h
Commit ee591a64a795995fad96d8c16484baa7cacce99f by kazu
[clang] Forward-declare DynTypedNode (NFC)

This patch adds a forward declaraiton of DynTypedNode.

DumpAST.h is relying on the forward declaration of DynTypedNode in
ASTContext.h, which is undesirable.
The file was modifiedclang-tools-extra/clangd/DumpAST.h
Commit e59964b67e026cde7a1438a8e91ca077a90810e0 by kazu
[clang] Remove unused forward declarations (NFC)
The file was modifiedclang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h
The file was modifiedclang/include/clang/AST/ASTContext.h
Commit 4762c077e7102326306c7788494e3ea16e0f4cec by llvm-dev
[X86] LowerFunnelShift - always lower vXi8 fshl by constant amounts as unpack(y,x) << zext(z)

This can always be lowered as PMULLW+PSRLWI+PACKUSWB
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-512.ll
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-128.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vector-fshl-256.ll