SuccessChanges

Summary

  1. Add a test for debugserver handling threads suspended from within a program. (details)
  2. [AArch64][NFC] Update test checks. (details)
  3. Reland D74436 "Change clang option -ffp-model=precise to select ffp-contract=on" (details)
  4. [WebAssembly] Make stack pointer args inhibit tail calls (details)
  5. [AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction (details)
  6. [mlir][DeclarativeParser] Add support for formatting enum attributes in the string form. (details)
  7. Reinstate llvm-go to test the go bindings. (details)
  8. Remove unused lambda argument. (details)
  9. [X86] Fix the bug that _mm_mask_cvtsepi64_epi32 generates result without (details)
  10. [dsymutil] Fix double relocation of DW_AT_call_return_pc (details)
Commit 4570f2c7cf35388d8b3ab9cc5cdcad4971e31cf2 by jingham
Add a test for debugserver handling threads suspended from within a program.

Mach allows you to suspend and resume other threads within a program, so
debugserver has to be careful not to interfere with this when it goes to supend and
resume threads while stepping over breakpoints and calling functions.  Even
trickier, if you call a function on a suspended thread, it has to resume the
thread to get the expression to run, and then suspend it properly when done.

This all works already, but there wasn't a test for it.  Adding that here.

This same test could be written for a unix that supports pthread_{suspend,resume}_np, but
macOS doesn't support these calls, only the mach version.  It doesn't look like
a lot of Linux'es support this (AIX does apparently...)  And IIUC Windows allows
you to suspend and resume other threads, but the code for that would look pretty
different than this main.c.  So for simplicity's sake I wrote this test for Darwin-only.
The file was addedlldb/test/API/macosx/thread_suspend/TestInternalThreadSuspension.py
The file was addedlldb/test/API/macosx/thread_suspend/main.c
The file was addedlldb/test/API/macosx/thread_suspend/Makefile
Commit b23ec439738a0480eaf57a22ee52f136babaaa66 by Pavel.Iliin
[AArch64][NFC] Update test checks.
This NFC commit updates several llc tests checks by automatically generated ones.
The file was modifiedllvm/test/CodeGen/AArch64/arm64-neon-select_cc.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/fp16-vector-shuffle.ll (diff)
The file was modifiedllvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll (diff)
Commit 0a1123eb43f945593b26dd037490e0c909fa3c4f by maskray
Reland D74436 "Change clang option -ffp-model=precise to select ffp-contract=on"

Buildbot are failing with the current revert status. So reland with a
fix to fp-model.c
The file was modifiedclang/test/CodeGen/ppc-emmintrin.c (diff)
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp (diff)
The file was modifiedclang/docs/UsersManual.rst (diff)
The file was modifiedclang/test/CodeGen/ppc-xmmintrin.c (diff)
The file was modifiedclang/test/Driver/fp-model.c (diff)
Commit 918e90559b08adebff26c342080c65e79cc223ec by tlively
[WebAssembly] Make stack pointer args inhibit tail calls

Summary:
Also make return calls terminator instructions so epilogues are
inserted before them rather than after them. Together, these changes
make WebAssembly's tail call optimization more stack-safe.

Reviewers: aheejin, dschuff

Subscribers: sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73943
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td (diff)
The file was modifiedllvm/test/CodeGen/WebAssembly/tailcall.ll (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp (diff)
Commit 1d49eb00d97a8e920ae34ff433419d0cd61641fd by maskray
[AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction

Similar to rL328848.
The file was modifiedclang/lib/CodeGen/CodeGenFunction.cpp (diff)
The file was modifiedllvm/lib/Target/Mips/Mips16HardFloat.cpp (diff)
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.h (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/WinException.cpp (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/SystemZ/SystemZAsmPrinter.h (diff)
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.h (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/ARM/ARMAsmPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h (diff)
The file was modifiedclang/lib/CodeGen/CGBuiltin.cpp (diff)
The file was modifiedllvm/lib/ExecutionEngine/ExecutionEngine.cpp (diff)
The file was modifiedllvm/lib/Target/XCore/XCoreAsmPrinter.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/Mips/MipsAsmPrinter.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGExprScalar.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/ARMException.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp (diff)
The file was modifiedllvm/lib/Target/X86/X86AsmPrinter.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp (diff)
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGCall.cpp (diff)
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp (diff)
The file was modifiedclang/lib/CodeGen/CGStmtOpenMP.cpp (diff)
The file was modifiedllvm/lib/Target/AArch64/AArch64AsmPrinter.cpp (diff)
The file was modifiedllvm/docs/GarbageCollection.rst (diff)
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h (diff)
The file was modifiedllvm/include/llvm/ExecutionEngine/ExecutionEngine.h (diff)
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (diff)
The file was modifiedclang/lib/CodeGen/CodeGenFunction.h (diff)
Commit 5756bc4382a6023c8dcc25f39243a49ac413f9bf by riddleriver
[mlir][DeclarativeParser] Add support for formatting enum attributes in the string form.

Summary: This revision adds support to the declarative parser for formatting enum attributes in the symbolized form. It uses this new functionality to port several of the SPIRV parsers over to the declarative form.

Differential Revision: https://reviews.llvm.org/D74525
The file was modifiedmlir/lib/Dialect/SPIRV/SPIRVOps.cpp (diff)
The file was modifiedmlir/tools/mlir-tblgen/OpFormatGen.cpp (diff)
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVOps.td (diff)
The file was modifiedmlir/test/Dialect/SPIRV/ops.mlir (diff)
The file was modifiedmlir/include/mlir/Dialect/SPIRV/SPIRVNonUniformOps.td (diff)
Commit e635e48020adbe1139f2de8d2db0d4875d6d75a8 by echristo
Reinstate llvm-go to test the go bindings.

This partially reverts commit 102814b4d36ad004a2e37cd2a1e84bd2c3593d29.
The file was addedllvm/tools/llvm-go/llvm-go.go
The file was addedllvm/tools/llvm-go/CMakeLists.txt
Commit f3b933266a0d1b7e8219f3383ed0c5a664e4d3df by echristo
Remove unused lambda argument.
The file was modifiedmlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp (diff)
Commit ec89335c47bf316b6a43055343ea55a0a72a1953 by chen3.liu
[X86] Fix the bug that _mm_mask_cvtsepi64_epi32 generates result without
zero the upper 64bit.

Differential Revision : https://reviews.llvm.org/D74552
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics.ll (diff)
The file was modifiedllvm/lib/Target/X86/X86IntrinsicsInfo.h (diff)
Commit 5feb80e748924606531ba28c97fe65145c65372e by Jonas Devlieghere
[dsymutil] Fix double relocation of DW_AT_call_return_pc

When the DW_AT_call_return_pc matches a relocation, the call return pc
would get relocated twice, once because of the relocation in the object
file and once because of dsymutil. The same problem exists for the low
and high PC and the fix is the same. We remember the low, high and
return pc of the original DIE and relocate that, rather than the
potentially already relocated value.

Reviewed offline by Fred Riss.
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/call_return_pc/call
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/call_return_pc/call.o
The file was modifiedllvm/lib/DWARFLinker/DWARFLinker.cpp (diff)
The file was addedllvm/test/tools/dsymutil/X86/call-site-entry-reloc.test
The file was modifiedllvm/include/llvm/DWARFLinker/DWARFLinker.h (diff)