[all-commits] [llvm/llvm-project] 0d1308: [AArch64][GlobalISel] Support returned argument wi...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jan 24 01:59:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d1308a7b77c9ed87386c22a728a6c97e2fb4887
      https://github.com/llvm/llvm-project/commit/0d1308a7b77c9ed87386c22a728a6c97e2fb4887
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    A llvm/test/CodeGen/AArch64/pr53315-returned-i128.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Support returned argument with multiple registers

The call lowering code assumed that a returned argument could only
consist of one register. Pass an ArrayRef<Register> instead of
Register to make sure that all parts get assigned.

Fixes https://github.com/llvm/llvm-project/issues/53315.

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




More information about the All-commits mailing list