mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 21:41:43 +00:00

There's no need to do this if the user doesn't call va_start. In the future, we're going to have thunks that forward these register parameters with musttail calls, and they won't need these spills for handling va_start. Most of the test suite changes are adding va_start calls to existing tests to keep things working. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216294 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
215 B
LLVM
10 lines
215 B
LLVM
; RUN: llc -mtriple=x86_64-linux < %s | FileCheck %s
|
|
; RUN: llc -mtriple=x86_64-windows-msvc < %s | FileCheck %s
|
|
|
|
define void @foo(i8*, ...) {
|
|
ret void
|
|
}
|
|
; CHECK-LABEL: {{^_?}}foo:
|
|
; CHECK-NOT: movq
|
|
; CHECK: retq
|