[all-commits] [llvm/llvm-project] 84ef72: [clang] Fix wrong ABI of AVRTiny.

Ben Shi via All-commits all-commits at lists.llvm.org
Wed Nov 16 16:39:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84ef7235732896530564289c8db59291a7d5413e
      https://github.com/llvm/llvm-project/commit/84ef7235732896530564289c8db59291a7d5413e
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2022-11-17 (Thu, 17 Nov 2022)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    A clang/test/CodeGen/avr/return-value.c
    R clang/test/CodeGen/avr/struct.c

  Log Message:
  -----------
  [clang] Fix wrong ABI of AVRTiny.

A scalar which exceeds 4 bytes should be returned via a stack slot,
on an AVRTiny device.

Reviewed By: aykevl

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




More information about the All-commits mailing list