SuccessChanges

Summary

  1. [AArch64][SVE] Add lowering for llvm frecpx (details)
  2. Allow init_priority values <= 100 and > 65535 within system headers. (details)
  3. [lldb] Normalize paths in new test (details)
  4. [LoopTerminology][NFC] Fix formatting typo (details)
  5. Clean up test file, NFC (details)
  6. [PowerPC] Implement Vector signed/unsigned __int128 overloads for the comparison builtins (details)
  7. [PowerPC] Implement the 128-bit vec_[all|any]_[eq | ne | lt | gt | le | ge] builtins in Clang/LLVM (details)
  8. Recommit [NFC] Refactor DiagnosticBuilder and PartialDiagnostic (details)
  9. [AArch64] Expand some vector of i64 reductions on NEON (details)
  10. [SelectionDAG][GISel] Make LegalizeDAG lower FNEG using integer ops. (details)
  11. [JSON] Allow emitting comments in json::OStream (details)
  12. [lld-macho] cleanup unimplemented-option warnings (details)
  13. [X86] Add a memory clobber to the bittest intrinsic inline asm. Get default clobbers from the target (details)
  14. [lld-macho] handle options -search_paths_first, -search_dylibs_first (details)
  15. [JSON] Facility to track position within an object and report errors. (details)
  16. [NewPM][MSSA] Fix failures under NPM due to -enable-mssa-loop-dependency (details)
  17. [NewPM][CGSCC] Handle newly added functions in updateCGAndAnalysisManagerForPass (details)
  18. [NewPM] Add callbacks to PassBuilder to run before/after parsing a pass (details)
  19. [JSON] Display errors associated with Paths in context (details)
  20. [libunwind] Combine dl_iterate_phdr codepaths for DWARF and EHABI (details)
  21. [libunwind] Optimize dl_iterate_phdr's findUnwindSectionsByPhdr (details)
  22. [JSON] Add error reporting to fromJSON and ObjectMapper (details)
  23. Fix LLDB tweak in 62a47e994fcf5b73e29547d26cd9676b30cb69a3 (details)
  24. [libc++] Fix spurious test failure in -fno-exceptions (details)
  25. [clangd] Improve bad-RPC-payload error messages slightly (details)
  26. [CGProfile] don't emit cgprofile entry if called function is dllimport (details)
  27. Explicitly specify CMAKE_AR in WinMsvc.cmake (details)
  28. Utility: ignore OS version on non-Darwin targets in `ArchSpec` (details)
  29. [X86] Add TDX instructions. (details)
  30. [X86] Parse data32 call in .code16 as CALLpcrel32 (details)
  31. Revert "[NewPM] Add callbacks to PassBuilder to run before/after parsing a pass" (details)
Commit 3a76de42753e351311193ec1f729117b96a7bd9a by muhammad.asif.manzoor
[AArch64][SVE] Add lowering for llvm frecpx

Add the functionality to lower frecpx for passthru variant

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D88032
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.h (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64SVEInstrInfo.td (diff)
The file was modifiedllvm/lib/Target/AArch64/SVEInstrFormats.td (diff)
Commit af1d3e655991e5f0c86df372b8583a60d20268e0 by aaron
Allow init_priority values <= 100 and > 65535 within system headers.

This also adds some bare-bones documentation for the attribute rather
than leaving it undocumented.
The file was modifiedclang/include/clang/Basic/AttrDocs.td (diff)
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp (diff)
The file was modifiedclang/test/SemaCXX/init-priority-attr.cpp (diff)
The file was modifiedclang/include/clang/Basic/Attr.td (diff)
Commit 4a55c98fa7bee1e5ab1504db20ca4d7c8a083111 by jotrem
[lldb] Normalize paths in new test

The minidump-sysroot test I added in commit 20f84257 compares two paths
using a string comparison.  This causes the Windows buildbot to fail
because of mismatched forward slashes and backslashes.  Use
os.path.normcase to normalize before comparing.
The file was modifiedlldb/test/API/functionalities/postmortem/minidump-new/TestMiniDumpNew.py (diff)
Commit 7aa982a57ce0dbf8fdbd276004615ddcf729c906 by sdi1600105
[LoopTerminology][NFC] Fix formatting typo
The file was modifiedllvm/docs/LoopTerminology.rst (diff)
Commit 57f097420d43adf3f38d66b31ed4ef49da62ae75 by kparzysz
Clean up test file, NFC
The file was modifiedllvm/test/Transforms/EarlyCSE/getmatchingvalue-crash.ll (diff)
Commit 88cdbeab417cc716d1da2de2a508d24622f4a4bc by conanap
[PowerPC] Implement Vector signed/unsigned __int128 overloads for the comparison builtins

This patch implements Vector signed/unsigned __int128 overloads for the comparison builtins.

Differential Revision: https://reviews.llvm.org/D87804
The file was modifiedclang/lib/Headers/altivec.h (diff)
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp (diff)
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def (diff)
The file was addedllvm/test/CodeGen/PowerPC/vec_cmpq.ll
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
Commit 2e7117f847708d2fd1ff2d2961c3439470532b80 by conanap
[PowerPC] Implement the 128-bit vec_[all|any]_[eq | ne | lt | gt | le | ge] builtins in Clang/LLVM

This patch implements the vec_[all|any]_[eq | ne | lt | gt | le | ge] builtins for vector signed/unsigned __int128.

Differential Revision: https://reviews.llvm.org/D87910
The file was modifiedclang/include/clang/Basic/BuiltinsPPC.def (diff)
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp (diff)
The file was modifiedllvm/include/llvm/IR/IntrinsicsPowerPC.td (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp (diff)
The file was modifiedclang/lib/Headers/altivec.h (diff)
The file was modifiedclang/test/CodeGen/builtins-ppc-p10vector.c (diff)
The file was modifiedllvm/test/CodeGen/PowerPC/vec_cmpq.ll (diff)
Commit 8e780a1653e6f87755a447e921b8f929d8b70996 by Yaxun.Liu
Recommit [NFC] Refactor DiagnosticBuilder and PartialDiagnostic

This recommits 829d14ee0a6aa79c89f7f3d9fcd9d27d3efd2b91.

The patch was reverted due to a regression in some CUDA app
which was thought to be caused by this patch. However, investigation
showed that the regression was due to some other issues, therefore
recommit this patch.
The file was modifiedclang/include/clang/AST/Type.h (diff)
The file was modifiedclang/include/clang/AST/DeclarationName.h (diff)
The file was modifiedclang/lib/AST/TemplateBase.cpp (diff)
The file was modifiedclang/include/clang/AST/CanonicalType.h (diff)
The file was modifiedclang/include/clang/Basic/PartialDiagnostic.h (diff)
The file was modifiedclang/include/clang/AST/Attr.h (diff)
The file was modifiedclang/include/clang/Basic/Diagnostic.h (diff)
The file was modifiedclang/include/clang/AST/Decl.h (diff)
The file was modifiedclang/include/clang/Sema/ParsedAttr.h (diff)
The file was modifiedclang/lib/AST/DeclCXX.cpp (diff)
The file was modifiedclang/include/clang/Sema/Sema.h (diff)
The file was modifiedclang/lib/AST/ASTContext.cpp (diff)
The file was modifiedclang/include/clang/AST/TemplateName.h (diff)
The file was modifiedclang/lib/Basic/Diagnostic.cpp (diff)
The file was modifiedclang/lib/AST/TemplateName.cpp (diff)
The file was modifiedclang/include/clang/AST/NestedNameSpecifier.h (diff)
The file was modifiedclang/include/clang/Sema/Ownership.h (diff)
The file was modifiedclang/include/clang/AST/DeclCXX.h (diff)
The file was modifiedclang/include/clang/AST/ASTContext.h (diff)
The file was modifiedclang/include/clang/AST/TemplateBase.h (diff)
Commit e8413ac97f6ca2b1897cc9555ad9b0194456629f by mcinally
[AArch64] Expand some vector of i64 reductions on NEON

With the exception of VECREDUCE_ADD, there are no NEON instructions to support vector of i64 reductions. This patch removes the Custom lowerings for those and adds some test coverage to confirm.

Differential Revision: https://reviews.llvm.org/D88161
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp (diff)
The file was modifiedllvm/test/CodeGen/AArch64/aarch64-addv.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/vecreduce-umax-legalization.ll (diff)
Commit 3f739f736b8fed6f4d63569f56c985ef04b21cd1 by efriedma
[SelectionDAG][GISel] Make LegalizeDAG lower FNEG using integer ops.

Previously, if a floating-point type was legal, but FNEG wasn't legal,
we would use FSUB.  Instead, we should use integer ops, to preserve the
semantics.  (Alternatively, there's a compiler-rt call we could use, but
there isn't much reason to use that.)

It turns out we actually are still using this obscure codepath in a few
cases: on some targets, we have "legal" floating-point types that don't
actually support any floating-point operations.  In particular, ARM and
AArch64 are using this path.

The implementation for SelectionDAG is pretty simple because we can
reuse the infrastructure from FCOPYSIGN.

See also 9a3dc3e, the corresponding change to type legalization.

Also includes a "bonus" change to STRICT_FSUB legalization, so we can
lower a STRICT_FSUB to a float libcall.

Includes the changes to both LegalizeDAG and GlobalISel so we don't have
inconsistent results in the future.

Fixes https://bugs.llvm.org/show_bug.cgi?id=46792 .

Differential Revision: https://reviews.llvm.org/D84287
The file was modifiedllvm/lib/Target/ARM/ARMLegalizerInfo.cpp (diff)
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-binops.mir (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (diff)
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp (diff)
The file was modifiedllvm/test/CodeGen/Thumb2/mve-fp-negabs.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-fneg.mir (diff)
The file was modifiedllvm/test/CodeGen/AArch64/arm64-fp128.ll (diff)
The file was modifiedllvm/test/CodeGen/ARM/GlobalISel/arm-legalize-fp.mir (diff)
Commit 140b7b6f09ca01f89701ccc86ddd8553cf42c311 by sam.mccall
[JSON] Allow emitting comments in json::OStream

This isn't standard JSON, but is a popular extension.
It will be used to show errors in context, rendering pseudo-json for humans.

Differential Revision: https://reviews.llvm.org/D88103
The file was modifiedllvm/unittests/Support/JSONTest.cpp (diff)
The file was modifiedllvm/lib/Support/JSON.cpp (diff)
The file was modifiedllvm/include/llvm/Support/JSON.h (diff)
Commit fa5f9452120cc1691d23e272697695a5a4331f9c by gkm
[lld-macho] cleanup unimplemented-option warnings

Remove all spurious `HelpHidden` flags from  `lld/MachO/Options.td`. Add test for `HelpHidden` to `warnIfUnimplementedOption()` so that the empty `// handled elsewhere` case is unnecessary.

Reviewed By: #lld-macho, int3, smeenai

Differential Revision: https://reviews.llvm.org/D88160
The file was modifiedlld/MachO/Driver.cpp (diff)
The file was modifiedlld/MachO/Options.td (diff)
Commit d9717d8ee7143f4f5b768dfb5e8629ecfa067e39 by craig.topper
[X86] Add a memory clobber to the bittest intrinsic inline asm. Get default clobbers from the target

I believe the inline asm emitted here should have a memory clobber since it writes to memory.

It was also missing the dirflag clobber that we use by default along with flags and fpsr. To avoid missing defaults in the future, get the default list from the target

Differential Revision: https://reviews.llvm.org/D88121
The file was modifiedclang/test/CodeGen/bittest-intrin.c (diff)
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp (diff)
Commit 8f2c31f22b974da2c0fbc5de0ce4dceffe8ed0b8 by gkm
[lld-macho] handle options -search_paths_first, -search_dylibs_first

Differential Revision: https://reviews.llvm.org/D88054
The file was modifiedlld/test/MachO/link-search-order.s (diff)
The file was modifiedlld/MachO/Config.h (diff)
The file was modifiedlld/MachO/Options.td (diff)
The file was modifiedlld/MachO/Driver.cpp (diff)
Commit 16619e7139bdcb0021598ba76cb5cf30ac669dbb by sam.mccall
[JSON] Facility to track position within an object and report errors.

This error model should be rich enough for most applications. It comprises:

- a name for the root object, so the user knows what we're parsing
- a path from the root object to the JSON node most associated with the error
- a local error message

This can be presented as an llvm::Error e.g.
  "expected string at ConfigFile.credentials[0].username"

It's designed to be cheap: Paths are a linked list of lightweight
objects on the stack. No heap allocations unless errors are encountered.

A subsequent commit will make use of this in the JSON-to-object
translation facilities: fromJSON and ObjectMapper.
However it's independent of these and can be used for e.g. validation alone.

Another subsequent commit will support showing the error in its context
within the parsed value.

Differential Revision: https://reviews.llvm.org/D88103
The file was modifiedllvm/include/llvm/Support/JSON.h (diff)
The file was modifiedllvm/unittests/Support/JSONTest.cpp (diff)
The file was modifiedllvm/lib/Support/JSON.cpp (diff)
Commit 6700b9de1637fd9888dfe9628157d2aeb6d9f526 by aeubanks
[NewPM][MSSA] Fix failures under NPM due to -enable-mssa-loop-dependency

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D88128
The file was modifiedllvm/test/Transforms/LICM/read-only-calls.ll (diff)
The file was modifiedllvm/test/Transforms/LICM/promote-order.ll (diff)
The file was modifiedllvm/test/Transforms/LICM/atomics.ll (diff)
The file was modifiedllvm/test/Analysis/BasicAA/store-promote.ll (diff)
The file was modifiedllvm/test/Transforms/LICM/argmemonly-call.ll (diff)
The file was modifiedllvm/test/Transforms/LICM/store-hoisting.ll (diff)
Commit 6b1ce83a1238815899cf18f69bbc0eb37679a410 by aeubanks
[NewPM][CGSCC] Handle newly added functions in updateCGAndAnalysisManagerForPass

This seems to fit the CGSCC updates model better than calling
addNewFunctionInto{Ref,}SCC() on newly created/outlined functions.
Now addNewFunctionInto{Ref,}SCC() are no longer necessary.

However, this doesn't work on newly outlined functions that aren't
referenced by the original function. e.g. if a() was outlined into b()
and c(), but c() is only referenced by b() and not by a(), this will
trigger an assert.

This also fixes an issue I was seeing with newly created functions not
having passes run on them.

Ran check-llvm with expensive checks.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D87798
The file was modifiedllvm/include/llvm/Analysis/LazyCallGraph.h (diff)
The file was modifiedllvm/lib/Analysis/LazyCallGraph.cpp (diff)
The file was modifiedllvm/lib/Analysis/CGSCCPassManager.cpp (diff)
The file was modifiedllvm/unittests/Analysis/CGSCCPassManagerTest.cpp (diff)
The file was modifiedllvm/lib/Transforms/Utils/CallGraphUpdater.cpp (diff)
The file was modifiedllvm/unittests/Analysis/LazyCallGraphTest.cpp (diff)
The file was modifiedllvm/lib/Transforms/Coroutines/CoroSplit.cpp (diff)
Commit 111aa4e36614d9a056cf5040d4d7bbfddeb9ebb2 by aeubanks
[NewPM] Add callbacks to PassBuilder to run before/after parsing a pass

This is in preparation for supporting -debugify-each, which adds a debug
info pass before and after each pass.

Switch VerifyEach to use this.

Reviewed By: ychen

Differential Revision: https://reviews.llvm.org/D88107
The file was modifiedllvm/unittests/IR/PassBuilderCallbacksTest.cpp (diff)
The file was modifiedllvm/tools/opt/NewPMDriver.cpp (diff)
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h (diff)
The file was modifiedpolly/lib/Support/RegisterPasses.cpp (diff)
The file was modifiedllvm/lib/Passes/PassBuilder.cpp (diff)
The file was modifiedllvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp (diff)
Commit 38de1c33a8374bb16abfb024a973d851c170bafc by sam.mccall
[JSON] Display errors associated with Paths in context

When an error occurs processing a JSON object, seeing the actual
surrounding data helps. Dumping just the node where the problem
was identified can be too much or too little information.

printErrorContext() shows the error message in its context, as a comment.
JSON values along the path to the broken place are shown in some detail,
the rest of the document is elided. For example:

```
{
  "credentials": [
    {
      "username": /* error: expected string */ 42,
      "password": "secret"
    },
    { ... }
  ]
  "backups": { ... }
}
```

Differential Revision: https://reviews.llvm.org/D88103
The file was modifiedllvm/lib/Support/JSON.cpp (diff)
The file was modifiedllvm/include/llvm/Support/JSON.h (diff)
The file was modifiedllvm/unittests/Support/JSONTest.cpp (diff)
Commit b16d6653c01cee37f51a98dd4092c4ef302c47a5 by rprichard
[libunwind] Combine dl_iterate_phdr codepaths for DWARF and EHABI

dl_iterate_phdr is used to search for unwind info provided by either
PT_GNU_EH_FRAME or PT_ARM_EXIDX. Most of the code between the two is
the same, so combine them, and factor out what's different into
checkForUnwindInfoSegment.

Details:
- The FrameHeaderCache can now be enabled for ARM EHABI.
- findUnwindSectionsByPhdr now finds the last PT_ARM_EXIDX rather than
   the first. There should only be one segment.
- The dso_base and text_segment_length fields of UnwindInfoSections
   are now needed for dl_iterate_phdr when using EHABI, to hold the
   low and high PC values for a cache entry.

Reviewed By: compnerd, danielkiss, #libunwind, saugustine

Differential Revision: https://reviews.llvm.org/D87880
The file was modifiedlibunwind/src/AddressSpace.hpp (diff)
The file was modifiedlibunwind/test/frameheadercache_test.pass.cpp (diff)
Commit 881aba7071c6e4cc2417e875ca5027ec7c0a92a3 by rprichard
[libunwind] Optimize dl_iterate_phdr's findUnwindSectionsByPhdr

Currently, findUnwindSectionsByPhdr is slightly micro-optimized for the
case where the first callback has the target address, and is otherwise
very inefficient -- it decodes .eh_frame_hdr even when no PT_LOAD
matches the PC. (If the FrameHeaderCache is enabled, then the
micro-optimization only helps the first time unwind info is looked up.)

Instead, it makes more sense to optimize for the case where the
callback *doesn't* find the target address, so search for a PT_LOAD
segment first, and only look for the unwind info section if a matching
PT_LOAD is found.

This change helps on an Android benchmark with 100 shared objects,
where the DSO at the end of the dl_iterate_phdr list throws 10000
exceptions. Assuming the frame cache is disabled, this change cuts
about 30-40% off the benchmark's runtime.

Reviewed By: compnerd, saugustine, #libunwind

Differential Revision: https://reviews.llvm.org/D87881
The file was modifiedlibunwind/src/AddressSpace.hpp (diff)
Commit fa69b608063eecba76fb35d167b063cbfe532c28 by sam.mccall
[JSON] Add error reporting to fromJSON and ObjectMapper

Translating between JSON objects and C++ strutctures is common.
From experience in clangd, fromJSON/ObjectMapper work well and save a lot of
code, but aren't adopted elsewhere at least partly due to total lack of error
reporting beyond "ok"/"bad".

The recently-added error model should be rich enough for most applications.
It requires tracking the path within the root object and reporting local
errors at appropriate places.
To do this, we exploit the fact that the call graph of recursive
parse functions mirror the structure of the JSON itself.
The current path is represented as a linked list of segments, each of which is
on the stack as a parameter. Concretely, fromJSON now looks like:
  bool fromJSON(const Value&, T&, Path);

Beyond the signature change, this is reasonably unobtrusive: building
the path segments is mostly handled by ObjectMapper and the vector<T> fromJSON.
However the root caller of fromJSON must now create a Root object to
store the errors, which is a little clunky.

I've added high-level parse<T>(StringRef) -> Expected<T>, but it's not
general enough to be the primary interface I think (at least, not usable in
clangd).

All existing users (mostly just clangd) are updated in this patch,
making this change backwards-compatible is a bit hairy.

Differential Revision: https://reviews.llvm.org/D88103
The file was modifiedllvm/unittests/Support/JSONTest.cpp (diff)
The file was modifiedclang-tools-extra/clangd/index/Index.h (diff)
The file was modifiedllvm/include/llvm/Support/JSON.h (diff)
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp (diff)
The file was modifiedclang-tools-extra/clangd/Protocol.h (diff)
The file was modifiedclang-tools-extra/clangd/index/Index.cpp (diff)
The file was modifiedclang-tools-extra/clangd/benchmarks/IndexBenchmark.cpp (diff)
The file was modifiedlldb/source/Utility/StructuredData.cpp (diff)
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h (diff)
The file was modifiedllvm/lib/Analysis/TFUtils.cpp (diff)
The file was modifiedclang-tools-extra/clangd/Protocol.cpp (diff)
Commit 751f5c81468966d921ad54827d27ff19aa43af8e by sam.mccall
Fix LLDB tweak in 62a47e994fcf5b73e29547d26cd9676b30cb69a3
The file was modifiedlldb/source/Utility/StructuredData.cpp (diff)
Commit 23291e8ec7e8f54db56ff77b61313e9d55a23861 by Louis Dionne
[libc++] Fix spurious test failure in -fno-exceptions
The file was modifiedlibcxx/test/std/containers/sequences/vector/vector.modifiers/resize_not_move_insertable.fail.cpp (diff)
Commit 2bd5e3fb3cc032f90447067d38c48c75b23f32c5 by sam.mccall
[clangd] Improve bad-RPC-payload error messages slightly
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.h (diff)
Commit f5435399e823746bbe1737b95c853d77a42e1ac3 by zequanwu
[CGProfile] don't emit cgprofile entry if called function is dllimport

Differential Revision: https://reviews.llvm.org/D88127
The file was modifiedllvm/lib/Transforms/Instrumentation/CGProfile.cpp (diff)
The file was modifiedllvm/test/Instrumentation/cgprofile.ll (diff)
Commit ee7ee71f40e904a8380d6439ac4741304b4a2dfd by smeenai
Explicitly specify CMAKE_AR in WinMsvc.cmake

As of cmake 3.18, cmake changes how it searches for compilers for
Windows (see
https://gitlab.kitware.com/cmake/cmake/-/commit/55196a1440e26917d40e6a7a3eb8d9fb323fa657)
and now finds llvm-ar instead of llvm-lib as CMAKE_AR. This explicitly
specifies CMAKE_AR as llvm-lib so the correct program is found.

Reviewed By: smeenai

Differential Revision: https://reviews.llvm.org/D88176
The file was modifiedllvm/cmake/platforms/WinMsvc.cmake (diff)
The file was modifiedllvm/cmake/modules/LLVMExternalProjectUtils.cmake (diff)
Commit 92d42b32a9b7a085fd200a56022724a77cf12a2d by Saleem Abdulrasool
Utility: ignore OS version on non-Darwin targets in `ArchSpec`

The OS version field is generally not very helpful for non-Darwin
targets.  On Linux, it identifies the kernel version which moves
out-of-sync with the userspace.  On Windows, this field actually ends up
corresponding to the Visual Studio toolset version instead of the OS
version.  Consider non-Darwin targets without an OS version to be fully
specified.

Differential Revision: https://reviews.llvm.org/D88181
Reviewed By: Jonas Devlieghere, Dave Lee
The file was modifiedlldb/source/Utility/ArchSpec.cpp (diff)
Commit bc7f6c6dd8252370e6b485b8193093004644a16d by freddy.ye
[X86] Add TDX instructions.

For more details about these instructions, please refer to the latest TDX document: https://software.intel.com/content/www/us/en/develop/articles/intel-trust-domain-extensions.html

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D88006
The file was modifiedllvm/test/MC/X86/x86-32-coverage.s (diff)
The file was addedllvm/lib/Target/X86/X86InstrTDX.td
The file was modifiedllvm/test/MC/Disassembler/X86/x86-32.txt (diff)
The file was modifiedllvm/test/MC/Disassembler/X86/x86-64.txt (diff)
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td (diff)
The file was modifiedllvm/test/MC/X86/x86-64.s (diff)
Commit 3d38a975d72c8711a123d1862e517bcbdab7d700 by i
[X86] Parse data32 call in .code16 as CALLpcrel32

Used by kexec-tools (PR46942)
In GNU as, tc-i386.c:output_jump uses 4-byte immediate if a data32 prefix is present.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D88137
The file was modifiedllvm/test/MC/X86/data-prefix-fail.s (diff)
The file was modifiedllvm/lib/Target/X86/AsmParser/X86AsmParser.cpp (diff)
The file was modifiedllvm/test/MC/X86/x86-16.s (diff)
Commit 29aaa188480e59f136330d77d255453e8d744b32 by aeubanks
Revert "[NewPM] Add callbacks to PassBuilder to run before/after parsing a pass"

This reverts commit 111aa4e36614d9a056cf5040d4d7bbfddeb9ebb2.
The file was modifiedllvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp (diff)
The file was modifiedllvm/unittests/IR/PassBuilderCallbacksTest.cpp (diff)
The file was modifiedllvm/include/llvm/Passes/PassBuilder.h (diff)
The file was modifiedpolly/lib/Support/RegisterPasses.cpp (diff)
The file was modifiedllvm/lib/Passes/PassBuilder.cpp (diff)
The file was modifiedllvm/tools/opt/NewPMDriver.cpp (diff)