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

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Apr 29 02:48:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30fa4153a556f51143b1145af8c603581c80369a
      https://github.com/llvm/llvm-project/commit/30fa4153a556f51143b1145af8c603581c80369a
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-04-29 (Wed, 29 Apr 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.



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