Changes

Summary

  1. Revert "Store OptTable::Info::Name as a StringRef" (details)
  2. [OMPT][test] Fix mismatch error between the current address and the return address for LoongArch (details)
  3. [llvm] Don't include STLForwardCompat.h (NFC) (details)
  4. [ADT] Don't including None.h (NFC) (details)
  5. [VP][RISCV] Add vp.fshl/fshr and RISC-V support. (details)
  6. [mlir][spirv] Fix integer dot product format attr validation (details)
  7. [llvm-profdata] Drop profile symbol list during merging AutoFDO profiles. (details)
  8. [RISCV] Remove trailing whitespace. NFC (details)
Commit 4857b6f8fff614c89ed35031c298df81394459af by douglas.yung
Revert "Store OptTable::Info::Name as a StringRef"

This reverts commit 5951b0bb23f3265bea16f28c2af9d278b9d829c6.

This is causing 24 test failures on the PS4 linux bot: https://lab.llvm.org/buildbot/#/builders/139/builds/32263
The file was modifiedllvm/utils/TableGen/OptParserEmitter.cpp (diff)
The file was modifiedllvm/include/llvm/Option/OptTable.h (diff)
The file was modifiedllvm/include/llvm/ADT/StringRef.h (diff)
The file was modifiedclang/lib/Driver/ToolChains/Gnu.cpp (diff)
The file was modifiedllvm/lib/Option/OptTable.cpp (diff)
The file was modifiedllvm/unittests/Option/OptionMarshallingTest.cpp (diff)
The file was modifiedlldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp (diff)
Commit 600c2b0f1e2eea7038e7e64d473bd4942b6440bd by luweining
[OMPT][test] Fix mismatch error between the current address and the return address for LoongArch

This patch fixes tests masked.c and master.c on LoongArch.

Reviewed By: SixWeining, protze.joachim

Differential Revision: https://reviews.llvm.org/D138785
The file was modifiedopenmp/runtime/test/ompt/callback.h (diff)
Commit d8c00c4f63c2719702d71277cda174146a9cd364 by kazu
[llvm] Don't include STLForwardCompat.h (NFC)

STLForwardCompat.h defines remove_cvref and remove_cvref_t.  These
source files use neither one of those.
The file was modifiedllvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp (diff)
The file was modifiedllvm/unittests/ADT/CombinationGeneratorTest.cpp (diff)
The file was modifiedllvm/lib/CodeGen/RegAllocScore.cpp (diff)
Commit 405fc404bf84fcc13e10bfac754d398199f69b7d by kazu
[ADT] Don't including None.h (NFC)

These source files no longer use None, so they do not need to include
None.h.

This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
The file was modifiedllvm/lib/CodeGen/MachineInstr.cpp (diff)
The file was modifiedllvm/lib/MC/MCAsmBackend.cpp (diff)
The file was modifiedllvm/lib/Analysis/CFLAndersAliasAnalysis.cpp (diff)
The file was modifiedllvm/lib/IR/Type.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/ValueMapper.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp (diff)
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/Local.cpp (diff)
The file was modifiedllvm/lib/CodeGen/MIRParser/MILexer.cpp (diff)
The file was modifiedllvm/lib/XRay/InstrumentationMap.cpp (diff)
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp (diff)
The file was modifiedllvm/lib/CodeGen/InlineSpiller.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstructionCombining.cpp (diff)
The file was modifiedllvm/lib/Analysis/MemorySSA.cpp (diff)
The file was modifiedllvm/lib/Support/LockFileManager.cpp (diff)
The file was modifiedllvm/lib/TableGen/TGParser.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/Symbolize/MarkupFilter.cpp (diff)
The file was modifiedllvm/lib/Option/ArgList.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp (diff)
The file was modifiedllvm/lib/Transforms/Scalar/ConstantHoisting.cpp (diff)
The file was modifiedllvm/lib/Analysis/BlockFrequencyInfoImpl.cpp (diff)
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineNegator.cpp (diff)
The file was modifiedllvm/lib/Support/YAMLParser.cpp (diff)
The file was modifiedllvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/BypassSlowDivision.cpp (diff)
The file was modifiedllvm/lib/Support/RISCVISAInfo.cpp (diff)
The file was modifiedllvm/lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp (diff)
The file was modifiedllvm/lib/IR/Metadata.cpp (diff)
The file was modifiedllvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp (diff)
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp (diff)
Commit 70de0e014013b4d97febe6704881a9a8c893d078 by yeting.kuo
[VP][RISCV] Add vp.fshl/fshr and RISC-V support.

The patch made VectorLegalizer expand ISD::VP_FSHL and ISD::VP_FSHR to
achieve the codegen.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D138379
The file was addedllvm/test/CodeGen/RISCV/rvv/fshr-fshl-vp.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp (diff)
The file was modifiedllvm/include/llvm/IR/VPIntrinsics.def (diff)
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp (diff)
The file was modifiedllvm/unittests/IR/VPIntrinsicTest.cpp (diff)
The file was modifiedllvm/include/llvm/IR/Intrinsics.td (diff)
The file was modifiedllvm/docs/LangRef.rst (diff)
The file was modifiedllvm/test/Analysis/CostModel/RISCV/rvv-intrinsics.ll (diff)
The file was addedllvm/test/CodeGen/RISCV/rvv/fixed-vectors-fshr-fshl-vp.ll
Commit 0d691ac4472b5a2e9f9ed3d4a7b91460791efb90 by kubak
[mlir][spirv] Fix integer dot product format attr validation

Do not allow formats for non-scalar vector operands.

Reviewed By: antiagainst

Differential Revision: https://reviews.llvm.org/D139495
The file was modifiedmlir/test/Dialect/SPIRV/IR/integer-dot-product-ops.mlir (diff)
The file was modifiedmlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp (diff)
Commit ad03f4079289697fa201e191e9995c35ac7bf180 by hoy
[llvm-profdata] Drop profile symbol list during merging AutoFDO profiles.

Adding a switch to drop profile symbol list during merging AutoFDO profiles. This is needed to minimize the impact on default profiles when the profile symbol list is enabled for the source input profiles. The symbol list is quite large and could potentially slow down the compiler.

Reviewed By: davidxl, wenlei

Differential Revision: https://reviews.llvm.org/D139486
The file was modifiedllvm/test/tools/llvm-profdata/profile-symbol-list.test (diff)
The file was modifiedllvm/tools/llvm-profdata/llvm-profdata.cpp (diff)
Commit d42c76aba0f4465cd4ae4ed0c0cc64d141cdf476 by craig.topper
[RISCV] Remove trailing whitespace. NFC
The file was modifiedllvm/lib/Target/RISCV/RISCV.td (diff)