[all-commits] [llvm/llvm-project] 76c83e: [GlobalISel] Add big endian support in CallLowering

Sheng via All-commits all-commits at lists.llvm.org
Tue Feb 8 06:44:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 76c83e747f28db2c4746bdb02b6728514142c732
      https://github.com/llvm/llvm-project/commit/76c83e747f28db2c4746bdb02b6728514142c732
  Author: Sheng <ox59616e at gmail.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
    M llvm/test/CodeGen/M68k/GlobalISel/irtranslator-ret.ll

  Log Message:
  -----------
  [GlobalISel] Add big endian support in CallLowering

When splitting values, CallLowering assumes Lo part goes first. But in big endian ISA such as M68k, Hi part goes first.

This patch fixes this.

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




More information about the All-commits mailing list