[all-commits] [llvm/llvm-project] 77af9d: [AArch64][GlobalISel] Implement selectVaStartAAPCS...

Him188 via All-commits all-commits at lists.llvm.org
Wed Sep 18 23:18:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77af9d10237fef194eb275f33a11daea88e304a4
      https://github.com/llvm/llvm-project/commit/77af9d10237fef194eb275f33a11daea88e304a4
  Author: Him188 <tguan at nvidia.com>
  Date:   2024-09-19 (Thu, 19 Sep 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/vararg.mir
    A llvm/test/CodeGen/AArch64/vararg.ll

  Log Message:
  -----------
  [AArch64][GlobalISel] Implement selectVaStartAAPCS (#106979)

This commit adds the missing support for varargs in the instruction
selection pass for AAPCS. Previously we only implemented this for
Darwin.

The implementation was according to AAPCS and SelectionDAG's
LowerAAPCS_VASTART.

It resolves all VA_START fallbacks in RAJAperf, llvm-test-suite, and
SPEC CPU2017. These benchmarks now compile and pass without fallbacks
due to varargs.

---------

Co-authored-by: Madhur Amilkanthwar <madhura at nvidia.com>



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