[all-commits] [llvm/llvm-project] 899739: Revert "[AArch64][GlobalISel] Lower formal argumen...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Dec 13 01:37:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 899739cdbd6646fa48b4b7ad251eb52143d909ba
      https://github.com/llvm/llvm-project/commit/899739cdbd6646fa48b4b7ad251eb52143d909ba
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-12-13 (Tue, 13 Dec 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.h
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    R llvm/test/CodeGen/AArch64/GlobalISel/aapcs_vararg_frame.ll
    M llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll

  Log Message:
  -----------
  Revert "[AArch64][GlobalISel] Lower formal arguments of AAPCS & ms_abi variadic functions."

This reverts commit 56fd846f370adf16bea333b12637038ea2f3c225.

This commit regressed handling of functions with floats as arguments,
reproducible e.g. like this:

$ cat test.c
double func(double f) {
    return f;
}
$ clang -target aarch64-windows -S -o - test.c -fno-asynchronous-unwind-tables
func:
	sub	sp, sp, #16
	str	x0, [sp, #8]
	ldr	d0, [sp, #8]
	add	sp, sp, #16
	ret




More information about the All-commits mailing list