SuccessChanges

Summary

  1. [X86] Add HRESET instruction. (details)
  2. [gn build] Port 412cdcf2edf (details)
  3. [WebAssembly] GC constructor functions in otherwise unused archive objects (details)
  4. [llvm-readobj] Don't print out section names for STABS symbols (details)
  5. Ensure that InheritedAttrs are properly inherited along a redeclaration (details)
  6. Canonicalize declaration pointers when forming APValues. (details)
  7. [mlir] Add async.await operation to async dialect (details)
  8. [lld][WebAssembly] Don't GC library objects under `--whole-archive` (details)
  9. Reland "[WebAssembly] Emulate v128.const efficiently"" (details)
Commit 412cdcf2edf2344632e01d5f71da4bbd9838ab7d by pengfei.wang
[X86] Add HRESET instruction.

For more details about these instructions, please refer to the latest ISE document: https://software.intel.com/en-us/download/intel-architecture-instruction-set-extensions-programming-reference.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D89102
The file was modifiedllvm/docs/ReleaseNotes.rst
The file was modifiedclang/test/Driver/x86-target-features.c
The file was addedclang/lib/Headers/x86gprintrin.h
The file was modifiedclang/lib/Basic/Targets/X86.h
The file was modifiedllvm/lib/Target/X86/X86.td
The file was addedclang/lib/Headers/hresetintrin.h
The file was modifiedllvm/test/MC/X86/x86-64.s
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.td
The file was modifiedllvm/test/MC/Disassembler/X86/x86-64.txt
The file was modifiedclang/lib/Headers/cpuid.h
The file was addedclang/test/CodeGen/x86-hreset-intrin.c
The file was modifiedllvm/test/MC/Disassembler/X86/x86-32.txt
The file was modifiedclang/test/Preprocessor/x86_target_features.c
The file was modifiedllvm/lib/Support/X86TargetParser.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrFormats.td
The file was modifiedllvm/include/llvm/Support/X86TargetParser.def
The file was modifiedllvm/test/MC/X86/x86-32-coverage.s
The file was modifiedclang/include/clang/Driver/Options.td
The file was modifiedllvm/lib/Support/Host.cpp
The file was modifiedllvm/lib/Target/X86/X86Subtarget.h
The file was modifiedclang/docs/ClangCommandLineReference.rst
The file was modifiedclang/lib/Basic/Targets/X86.cpp
The file was modifiedclang/lib/Headers/CMakeLists.txt
The file was modifiedclang/lib/Headers/immintrin.h
Commit d938e6e3c24aab46b2d1578012acd11c41ff0d5d by llvmgnsyncbot
[gn build] Port 412cdcf2edf
The file was modifiedllvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
Commit 950ae43091121ea357f735790f4042264cf40728 by Dev
[WebAssembly] GC constructor functions in otherwise unused archive objects

This allows `__wasilibc_populate_libpreopen` to be GC'd in more cases
where it isn't needed, including when linked from Rust's libstd.

Differential Revision: https://reviews.llvm.org/D85062
The file was modifiedlld/wasm/Symbols.cpp
The file was addedlld/test/wasm/Inputs/ctor-ctor.s
The file was modifiedlld/wasm/MarkLive.cpp
The file was addedlld/test/wasm/Inputs/ctor-start.s
The file was addedlld/test/wasm/ctor-gc-setup.test
The file was addedlld/test/wasm/Inputs/ctor-setup.s
The file was addedlld/test/wasm/Inputs/ctor-setup-call-def.s
The file was addedlld/test/wasm/ctor-no-gc.test
The file was addedlld/test/wasm/Inputs/ctor-lib.s
The file was modifiedlld/wasm/InputFiles.h
The file was addedlld/test/wasm/ctor-gc.test
The file was modifiedlld/wasm/Writer.cpp
Commit 84cc39c329f8d4910b8f558971d715f949ce1e94 by jezng
[llvm-readobj] Don't print out section names for STABS symbols

This diff is similar to what D71394 did for `llvm-objdump` -- it avoids
trying to look up a section name for STABS symbols, since some STABS
symbol types (like `N_OSO`) use the `n_sect` field to store other data
instead of a section index.

Differential Revision: https://reviews.llvm.org/D88468
The file was modifiedllvm/tools/llvm-readobj/MachODumper.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/MachO/symbol-table.test
The file was addedllvm/test/tools/llvm-readobj/MachO/stabs.yaml
Commit e2d4174e9c66251d1b408234b53f53d0903c0285 by richard
Ensure that InheritedAttrs are properly inherited along a redeclaration
chain for ObjCInterfaceDecls.

Only one such declaration can actually have attributes (the definition,
if any), but generally we assume that we can look for InheritedAttrs on
the most recent declaration.
The file was modifiedclang/test/CodeGenObjC/attr-availability.m
The file was modifiedclang/lib/Sema/SemaDeclObjC.cpp
Commit 913f6005669cfb590c99865a90bc51ed0983d09d by richard
Canonicalize declaration pointers when forming APValues.

References to different declarations of the same entity aren't different
values, so shouldn't have different representations.

Recommit of e6393ee813178e9d3306b8e3c6949a4f32f8a2cb, most recently
reverted in 9a33f027ac7d73e14ae287e78ab554142d1cbc8f due to a bug caused
by ObjCInterfaceDecls not propagating availability attributes along
their redeclaration chains; that bug was fixed in
e2d4174e9c66251d1b408234b53f53d0903c0285.
The file was modifiedclang/lib/AST/DeclBase.cpp
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/test/OpenMP/ordered_messages.cpp
The file was modifiedclang/lib/CodeGen/CGExprConstant.cpp
The file was modifiedclang/test/CodeGenCXX/weak-external.cpp
The file was modifiedclang/lib/AST/APValue.cpp
The file was modifiedclang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp
The file was modifiedclang/include/clang/AST/APValue.h
The file was modifiedclang/lib/AST/ExprConstant.cpp
Commit 61dce0f308e35df1edbd3061af339a3aff8d1f35 by ezhulenev
[mlir] Add async.await operation to async dialect

Add async.await operation to "unwrap" async.values

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D89137
The file was modifiedmlir/test/Dialect/Async/ops.mlir
The file was addedmlir/test/Dialect/Async/verify.mlir
The file was modifiedmlir/include/mlir/Dialect/Async/IR/AsyncOps.td
The file was modifiedmlir/lib/Dialect/Async/IR/Async.cpp
Commit b3b4cda104068e92b77f18c4e3fc0e0b8f3650e0 by sbc
[lld][WebAssembly] Don't GC library objects under `--whole-archive`

Followup on https://reviews.llvm.org/D85062 which ignores
entire library objects when no symbols are used within them.
This is shouldn't apply with `--whole-archive` since this
is specified to treat them like direct object inputs.

Differential Revision: https://reviews.llvm.org/D89290
The file was modifiedlld/wasm/InputFiles.cpp
The file was modifiedlld/wasm/Driver.cpp
The file was modifiedlld/test/wasm/ctor-gc.test
Commit 72c628e83580625ebd9e8521bab03abec4569d14 by tlively
Reland "[WebAssembly] Emulate v128.const efficiently""

This reverts commit 432e4e56d3d2, which reverted 542523a61a21. Two issues from
the original commit have been fixed. First, MSVC does not like when std::array
is initialized with only single braces, so this commit switches to using the
more portable double braces. Second, there was a subtle endianness bug that
prevented the original commit from working correctly on big-endian machines,
which has been fixed by switching to using endianness-agnostic bit twiddling
instead of type punning.

Differential Revision: https://reviews.llvm.org/D88773
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd-build-vector.ll