[all-commits] [llvm/llvm-project] 48545a: [ThinLTO] Do not duplicate import a function that ...

YunQiang Su via All-commits all-commits at lists.llvm.org
Thu Oct 10 17:54:27 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/main.nfcsanitizerasan-promote-stack_id-into-threadcontextbase
  Home:   https://github.com/llvm/llvm-project
  Commit: 48545a955c4e61f42833af7417032d816482bdfc
      https://github.com/llvm/llvm-project/commit/48545a955c4e61f42833af7417032d816482bdfc
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    A llvm/test/ThinLTO/X86/Inputs/ditemplatevalueparameter-remap.ll
    A llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll

  Log Message:
  -----------
  [ThinLTO] Do not duplicate import a function that is actually defined in the current module (#110064)

Doing so could cause a bug where the linker tries to remap a function
"reimported" from the current module when materializing it, causing a
lookup assert in the type mappings.


  Commit: f02252e1fd2965db007cf7be74c448b7a119c321
      https://github.com/llvm/llvm-project/commit/f02252e1fd2965db007cf7be74c448b7a119c321
  Author: Augusto Noronha <anoronha at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

  Log Message:
  -----------
  Revert "[lldb] SetErrorStringWithFormatv -> FromErrorStringWithFormatv (NFC)"

This reverts commit b77fdf5799be6b29869f2f7969851709e03938ba.


  Commit: 2ff4c25b7efff64b3b662d0bedcfe7edebcf20b9
      https://github.com/llvm/llvm-project/commit/2ff4c25b7efff64b3b662d0bedcfe7edebcf20b9
  Author: Augusto Noronha <anoronha at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/include/lldb/API/SBProcess.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/StopInfo.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/packages/Python/lldbsuite/test/gdbclientutils.py
    R lldb/packages/Python/lldbsuite/test/lldbgdbproxy.py
    R lldb/packages/Python/lldbsuite/test/lldbreverse.py
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/API/SBProcess.cpp
    M lldb/source/API/SBThread.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/StopInfo.cpp
    M lldb/source/Target/Thread.cpp
    R lldb/test/API/functionalities/reverse-execution/Makefile
    R lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py
    R lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py
    R lldb/test/API/functionalities/reverse-execution/main.c
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/LLDBUtils.cpp

  Log Message:
  -----------
  Revert "[lldb] Implement basic support for reverse-continue (#99736)"

This reverts commit d5e1de6da96c1ab3b8cae68447e8ed3696a7006e.


  Commit: e9c8f75d45ababe7f805078bbf7bda2e7425f1b7
      https://github.com/llvm/llvm-project/commit/e9c8f75d45ababe7f805078bbf7bda2e7425f1b7
  Author: Jacob Lalonde <jalalonde at fb.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/include/lldb/Target/DynamicLoader.h
    M lldb/source/Core/DynamicLoader.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
    M lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
    M lldb/source/Plugins/Process/minidump/ProcessMinidump.h
    M lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.cpp
    M lldb/source/Target/Process.cpp
    M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
    M lldb/test/API/functionalities/process_save_core_minidump/main.cpp

  Log Message:
  -----------
  [LLDB][Minidump] Have Minidumps save off and properly read TLS data (#109477)

This patch adds the support to `Process.cpp` to automatically save off
TLS sections, either via loading the memory region for the module, or
via reading `fs_base` via generic register. Then when Minidumps are
loaded, we now specify we want the dynamic loader to be the `POSIXDYLD`
so we can leverage the same TLS accessor code as `ProcessELFCore`. Being
able to access TLS Data is an important step for LLDB generated
minidumps to have feature parity with ELF Core dumps.


  Commit: 4f297566b3150097de26c6a23a987d2bd5fc19c5
      https://github.com/llvm/llvm-project/commit/4f297566b3150097de26c6a23a987d2bd5fc19c5
  Author: Robert O'Callahan <robert at ocallahan.org>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/include/lldb/API/SBProcess.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/StopInfo.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/packages/Python/lldbsuite/test/gdbclientutils.py
    A lldb/packages/Python/lldbsuite/test/lldbgdbproxy.py
    A lldb/packages/Python/lldbsuite/test/lldbreverse.py
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/API/SBProcess.cpp
    M lldb/source/API/SBThread.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/StopInfo.cpp
    M lldb/source/Target/Thread.cpp
    A lldb/test/API/functionalities/reverse-execution/Makefile
    A lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py
    A lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py
    A lldb/test/API/functionalities/reverse-execution/main.c
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/LLDBUtils.cpp

  Log Message:
  -----------
  [lldb] Implement basic support for reverse-continue (#99736)

This commit only adds support for the
`SBProcess::ReverseContinue()` API. A user-accessible command for this
will follow in a later commit.

This feature depends on a gdbserver implementation (e.g. `rr`) providing
support for the `bc` and `bs` packets. `lldb-server` does not support
those packets, and there is no plan to change that. So, for testing
purposes, `lldbreverse.py` wraps `lldb-server` with a Python
implementation of *very limited* record-and-replay functionality for use
by *tests only*.

The majority of this PR is test infrastructure (about 700 of the 950
lines added).


  Commit: fae7d6848bbb59fc2bad17adbdb34bd6a11a0651
      https://github.com/llvm/llvm-project/commit/fae7d6848bbb59fc2bad17adbdb34bd6a11a0651
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

  Log Message:
  -----------
  [lldb] SetErrorStringWithFormatv -> FromErrorStringWithFormatv (NFC)


  Commit: c686eeb7fcc89673909e7e1f0a0a09a0da269d28
      https://github.com/llvm/llvm-project/commit/c686eeb7fcc89673909e7e1f0a0a09a0da269d28
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py
    M lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py

  Log Message:
  -----------
  [lldb] skip ReverseContinue tests on Darwin

This uses lldb-server in gdbserver mode, which requires a ProcessNative
plugin.  Darwin does not have a ProcessNative plugin; it uses
debugserver instead of lldb-server.  Skip these tests.


  Commit: 1bf271d5a7de58faf525c3b90ef4a4a8ff47e688
      https://github.com/llvm/llvm-project/commit/1bf271d5a7de58faf525c3b90ef4a4a8ff47e688
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    R llvm/test/ThinLTO/X86/Inputs/ditemplatevalueparameter-remap.ll
    R llvm/test/ThinLTO/X86/ditemplatevalueparameter-remap.ll

  Log Message:
  -----------
  Revert "[ThinLTO] Do not duplicate import a function that is actually defined in the current module" (#111919)

Reverts llvm/llvm-project#110064


  Commit: 45cc74357130190b9aef9fab77646c17f2cf2a5e
      https://github.com/llvm/llvm-project/commit/45cc74357130190b9aef9fab77646c17f2cf2a5e
  Author: vporpo <vporpodas at google.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h

  Log Message:
  -----------
  [SandboxVec][DAG][NFC] Add comment about duplicate notes in deps() (#111915)


  Commit: cc20dd285ab72292a1d383d0779aecbe5e1ccf81
      https://github.com/llvm/llvm-project/commit/cc20dd285ab72292a1d383d0779aecbe5e1ccf81
  Author: Lang Hames <lhames at gmail.com>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
    M llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [ORC][ELF] Remove the ExecutionSession& argument to ELFNixPlatform::Create.

We can get a reference to the ExecutionSession from the ObjectLinkingLayer
argument, so there's no need to pass it in separately.


  Commit: 4f320778148ba481881eb53ba065ed2a9d9bbc03
      https://github.com/llvm/llvm-project/commit/4f320778148ba481881eb53ba065ed2a9d9bbc03
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py
    M lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py

  Log Message:
  -----------
  Revert "[lldb] skip ReverseContinue tests on Darwin"

This reverts commit c686eeb7fcc89673909e7e1f0a0a09a0da269d28.


  Commit: a28e7ce378d717e6aacbdc3089974b93b6b62948
      https://github.com/llvm/llvm-project/commit/a28e7ce378d717e6aacbdc3089974b93b6b62948
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp

  Log Message:
  -----------
  Revert "[lldb] SetErrorStringWithFormatv -> FromErrorStringWithFormatv (NFC)"

This reverts commit fae7d6848bbb59fc2bad17adbdb34bd6a11a0651.


  Commit: 3bef742559f1556569423ec63c70b97dff1d426e
      https://github.com/llvm/llvm-project/commit/3bef742559f1556569423ec63c70b97dff1d426e
  Author: Jason Molenda <jmolenda at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lldb/include/lldb/API/SBProcess.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/StopInfo.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/packages/Python/lldbsuite/test/gdbclientutils.py
    R lldb/packages/Python/lldbsuite/test/lldbgdbproxy.py
    R lldb/packages/Python/lldbsuite/test/lldbreverse.py
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/API/SBProcess.cpp
    M lldb/source/API/SBThread.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/StopInfo.cpp
    M lldb/source/Target/Thread.cpp
    R lldb/test/API/functionalities/reverse-execution/Makefile
    R lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py
    R lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py
    R lldb/test/API/functionalities/reverse-execution/main.c
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/LLDBUtils.cpp

  Log Message:
  -----------
  Revert "[lldb] Implement basic support for reverse-continue (#99736)"

Reverting this again; I added a commit which added @skipIfDarwin
markers to the TestReverseContinueBreakpoints.py and
TestReverseContinueNotSupported.py API tests, which use lldb-server
in gdbserver mode which does not work on Darwin.  But the aarch64 ubuntu
bot reported a failure on TestReverseContinueBreakpoints.py,
https://lab.llvm.org/buildbot/#/builders/59/builds/6397

  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py", line 63, in test_reverse_continue_skip_breakpoint
    self.reverse_continue_skip_breakpoint_internal(async_mode=False)
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py", line 81, in reverse_continue_skip_breakpoint_internal
    self.expect(
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2372, in expect
    self.runCmd(
  File "/home/tcwg-buildbot/worker/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1002, in runCmd
    self.assertTrue(self.res.Succeeded(), msg + output)
AssertionError: False is not true : Process should be stopped due to history boundary
Error output:
error: Process must be launched.

This reverts commit 4f297566b3150097de26c6a23a987d2bd5fc19c5.


  Commit: 2647505027d8c01fc920b04aced8cec742a4b2ed
      https://github.com/llvm/llvm-project/commit/2647505027d8c01fc920b04aced8cec742a4b2ed
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaHLSL.cpp
    A clang/test/CodeGenHLSL/builtins/degrees.hlsl
    A clang/test/SemaHLSL/BuiltIns/degrees-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/DirectX/degrees.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll
    A llvm/test/CodeGen/SPIRV/opencl/degrees.ll

  Log Message:
  -----------
  [HLSL] Implement the `degrees` intrinsic (#111209)

- add degrees builtin
    - link degrees api in hlsl_intrinsics.h
    - add degrees intrinsic to IntrinsicsDirectX.td
    - add degrees intrinsic to IntrinsicsSPIRV.td
- add lowering from clang builtin to dx/spv intrinsics in CGBuiltin.cpp
    - add semantic checks to SemaHLSL.cpp
- add expansion of directx intrinsic to llvm fmul for DirectX in
DXILIntrinsicExpansion.cpp
    - add mapping to spir-v intrinsic in SPIRVInstructionSelector.cpp

    - add test coverage:
- degrees.hlsl -> check hlsl lowering to dx/spv degrees intrinsics
- degrees-errors.hlsl/half-float-only-errors -> check semantic warnings
- hlsl-intrinsics/degrees.ll -> check lowering of spir-v degrees
intrinsic to SPIR-V backend
- DirectX/degrees.ll -> check expansion and scalarization of directx
degrees intrinsic to fmul
      
Resolves #99104


  Commit: 6640dac22b567e5f6c328ca56cf9bf43d45509e6
      https://github.com/llvm/llvm-project/commit/6640dac22b567e5f6c328ca56cf9bf43d45509e6
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang-tools-extra/include-cleaner/BUILD.bazel

  Log Message:
  -----------
  [bazel] Add include-cleaner tests (#111924)


  Commit: 1037f577bd66ab03bc494120f024f2a52008e285
      https://github.com/llvm/llvm-project/commit/1037f577bd66ab03bc494120f024f2a52008e285
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M lld/ELF/SymbolTable.cpp
    M lld/test/ELF/version-script-reassign-glob.s
    A lld/test/ELF/version-script-warn.s

  Log Message:
  -----------
  [lld][elf] Warn if '*' pattern is used multiple times in version scripts (#102669)

If this pattern is used more than once in version script(s), only one
will have an effect, so it's probably a user error and can be diagnosed.


  Commit: 0add1741d58e4b8d6cbc5f50e1fac86296680e5b
      https://github.com/llvm/llvm-project/commit/0add1741d58e4b8d6cbc5f50e1fac86296680e5b
  Author: Keith Smiley <keithbsmiley at gmail.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel

  Log Message:
  -----------
  [bazel] Port e9c8f75d45ababe7f805078bbf7bda2e7425f1b7 (#111928)


  Commit: 774c953cf8f8ff2fe45b07f388a687748b775878
      https://github.com/llvm/llvm-project/commit/774c953cf8f8ff2fe45b07f388a687748b775878
  Author: yronglin <yronglin777 at gmail.com>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [NFC][clang] Fix typo in ReleaseNotes (#111930)

Fix a typo in ReleaseNotes that introduced by
https://github.com/llvm/llvm-project/pull/86960.

Signed-off-by: yronglin <yronglin777 at gmail.com>


  Commit: 9c81a2476566b068ef54fd51ab2540933542b2a6
      https://github.com/llvm/llvm-project/commit/9c81a2476566b068ef54fd51ab2540933542b2a6
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M compiler-rt/lib/asan/asan_descriptions.cpp

  Log Message:
  -----------
  [asan] Prevent printing invalid parent thread (#111916)

By default reuse can happend only after
`UINT32_MAX` threads, so it's almost NFC.


  Commit: 72fb37922577997f3666203dbdb2601f0fc97748
      https://github.com/llvm/llvm-project/commit/72fb37922577997f3666203dbdb2601f0fc97748
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    A llvm/test/CodeGen/AArch64/fp-fcanonicalize.ll
    M llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll

  Log Message:
  -----------
  AArch64: Select FCANONICALIZE (#104429)

FMINNM/FMAXNM instructions of AArch64 follow IEEE754-2008. We can use
them to canonicalize a floating point number. And
FMINNUM_IEEE/FMAXNUM_IEEE is used by something like expanding
FMINIMUMNUM/FMAXIMUMNUM, so let's define them.

---------

Co-authored-by: Your Name <you at example.com>


  Commit: 344061245236c55749e77e0ba16e9ac69b396191
      https://github.com/llvm/llvm-project/commit/344061245236c55749e77e0ba16e9ac69b396191
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Builtins.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CGHLSLRuntime.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaHLSL.cpp
    A clang/test/CodeGenHLSL/builtins/degrees.hlsl
    A clang/test/SemaHLSL/BuiltIns/degrees-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl
    M compiler-rt/lib/asan/asan_descriptions.cpp
    M lld/ELF/SymbolTable.cpp
    M lld/test/ELF/version-script-reassign-glob.s
    A lld/test/ELF/version-script-warn.s
    M lldb/include/lldb/API/SBProcess.h
    M lldb/include/lldb/Target/DynamicLoader.h
    M lldb/include/lldb/Target/Process.h
    M lldb/include/lldb/Target/StopInfo.h
    M lldb/include/lldb/lldb-enumerations.h
    M lldb/packages/Python/lldbsuite/test/gdbclientutils.py
    R lldb/packages/Python/lldbsuite/test/lldbgdbproxy.py
    R lldb/packages/Python/lldbsuite/test/lldbreverse.py
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/API/SBProcess.cpp
    M lldb/source/API/SBThread.cpp
    M lldb/source/Core/DynamicLoader.cpp
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
    M lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.h
    M lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.h
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.cpp
    M lldb/source/Plugins/Process/Windows/Common/ProcessWindows.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.h
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.h
    M lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
    M lldb/source/Plugins/Process/minidump/ProcessMinidump.h
    M lldb/source/Plugins/Process/minidump/RegisterContextMinidump_x86_64.cpp
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
    M lldb/source/Plugins/Process/scripted/ScriptedProcess.h
    M lldb/source/Target/Process.cpp
    M lldb/source/Target/StopInfo.cpp
    M lldb/source/Target/Thread.cpp
    M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
    M lldb/test/API/functionalities/process_save_core_minidump/main.cpp
    R lldb/test/API/functionalities/reverse-execution/Makefile
    R lldb/test/API/functionalities/reverse-execution/TestReverseContinueBreakpoints.py
    R lldb/test/API/functionalities/reverse-execution/TestReverseContinueNotSupported.py
    R lldb/test/API/functionalities/reverse-execution/main.c
    M lldb/tools/lldb-dap/JSONUtils.cpp
    M lldb/tools/lldb-dap/LLDBUtils.cpp
    M llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
    M llvm/include/llvm/IR/IntrinsicsDirectX.td
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.h
    M llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/fp-fcanonicalize.ll
    M llvm/test/CodeGen/AArch64/fp-maximumnum-minimumnum.ll
    A llvm/test/CodeGen/DirectX/degrees.ll
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll
    A llvm/test/CodeGen/SPIRV/opencl/degrees.ll
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M utils/bazel/llvm-project-overlay/clang-tools-extra/include-cleaner/BUILD.bazel
    M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/744449313fff...344061245236

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list