[all-commits] [llvm/llvm-project] 932756: [X86][FastISel] Restore support for struct returns...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Apr 30 21:01:12 PDT 2026


  Branch: refs/heads/release/22.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 932756ad6c645d40013a6122c6a97141b17f5890
      https://github.com/llvm/llvm-project/commit/932756ad6c645d40013a6122c6a97141b17f5890
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-05-01 (Fri, 01 May 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86FastISel.cpp
    M llvm/test/CodeGen/X86/bf16-fast-isel.ll
    A llvm/test/CodeGen/X86/fast-isel-struct-ret.ll

  Log Message:
  -----------
  [X86][FastISel] Restore support for struct returns (#194586)

After #180322, X86 FastISel forces SDAG fallback for any call with a
struct return. This caused major compile-time regressions for debug
builds in Rust, where struct returns are very common.

The type legality check should work on the de-aggregated types, not on
the return type directly.

(cherry picked from commit 30fa4153a556f51143b1145af8c603581c80369a)



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