[all-commits] [llvm/llvm-project] 0ad92c: [StatepointLowering] Take return attributes of `gc...

Markus Böck via All-commits all-commits at lists.llvm.org
Sat Oct 14 09:38:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ad92c0cbb34a6e24a9a32f03f3ddeb2114b378e
      https://github.com/llvm/llvm-project/commit/0ad92c0cbb34a6e24a9a32f03f3ddeb2114b378e
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2023-10-14 (Sat, 14 Oct 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/test/CodeGen/AArch64/statepoint-call-lowering.ll
    M llvm/test/CodeGen/X86/statepoint-call-lowering.ll

  Log Message:
  -----------
  [StatepointLowering] Take return attributes of `gc.result` into account (#68439)

The current lowering of statepoints does not take into account return
attributes present on the `gc.result` leading to different code being
generated than if one were to not use statepoints. These return
attributes can affect the ABI which is why it is important that they are
applied in the lowering.




More information about the All-commits mailing list