[all-commits] [llvm/llvm-project] 785dc7: [llvm][SelectionDAG] Fix up chains in lowerInvokea...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Thu Jun 13 18:06:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 785dc76c6667d0ea81c8b877dbff9c1e843918d6
      https://github.com/llvm/llvm-project/commit/785dc76c6667d0ea81c8b877dbff9c1e843918d6
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2024-06-13 (Thu, 13 Jun 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    A llvm/test/CodeGen/X86/issue64826-switferror-eh.ll
    M llvm/test/CodeGen/X86/statepoint-invoke.ll
    M llvm/test/CodeGen/X86/statepoint-spill-lowering.ll

  Log Message:
  -----------
  [llvm][SelectionDAG] Fix up chains in lowerInvokeable. rdar://113994760 (#94004)

lowerInvokeable wasn't updating the returned chain after emitting the
lowerEndEH, which caused SwiftErrorVal-handling code to re-set the DAG
root, and thus accidentally skip the EH_LABEL node it was supposed to
have addeed. After fixing that, a few places needed to be adjusted that
assume the specific shape of the returned DAG.

Fixes: #64826
Fixes: rdar://113994760



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