[all-commits] [llvm/llvm-project] 19b9e6: [AArch64][SME] Fix chain for arm_locally_streaming...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Oct 25 01:15:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 19b9e6204a9e4a19bb988b8697c6492fe0609898
      https://github.com/llvm/llvm-project/commit/19b9e6204a9e4a19bb988b8697c6492fe0609898
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/sme-streaming-body.ll

  Log Message:
  -----------
  [AArch64][SME] Fix chain for arm_locally_streaming functions.

The Chain wasn't set correctly in the DAG for functions marked
with aarch64_pstate_sm_body, which meant that SelectionDAG would
dead-code some of the CopyToReg's. This didn't show up in the
existing tests because all uses were in the same block, but when
adding some control-flow, suddenly things would break.

Reviewed By: kmclaughlin

Differential Revision: https://reviews.llvm.org/D136579




More information about the All-commits mailing list