[all-commits] [llvm/llvm-project] f99b4f: [X86] Extend varargs test

Harald van Dijk via All-commits all-commits at lists.llvm.org
Sun Dec 13 10:33:38 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f99b4f5241a3b3436b05355f5ea8588274254f8b
      https://github.com/llvm/llvm-project/commit/f99b4f5241a3b3436b05355f5ea8588274254f8b
  Author: Harald van Dijk <harald at gigawatt.nl>
  Date:   2020-12-13 (Sun, 13 Dec 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/x86-64-varargs.ll

  Log Message:
  -----------
  [X86] Extend varargs test

This extends the existing x86-64-varargs test by passing enough
arguments that they need to be passed in memory, and by passing them in
reverse order, using va_arg for each argument to retrieve them and
restoring them to the correct order, and by using va_copy to have two
va_lists to use with va_arg.




More information about the All-commits mailing list