projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AVX512: VPMOVM2B/W/D/Q intrinsic implementation.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
fast-cc-callee-pops.ll
diff --git
a/test/CodeGen/X86/fast-cc-callee-pops.ll
b/test/CodeGen/X86/fast-cc-callee-pops.ll
index 9b03634b853b13a3fb66a2b1690f407c5224aa7b..2c5b80ac4af07528707718dc9192002845c61591 100644
(file)
--- a/
test/CodeGen/X86/fast-cc-callee-pops.ll
+++ b/
test/CodeGen/X86/fast-cc-callee-pops.ll
@@
-1,8
+1,13
@@
-; RUN: llvm-as < %s | \
-; RUN: llc -march=x86 -x86-asm-syntax=intel -mcpu=yonah | grep {ret 20}
+; RUN: llc < %s -march=x86 -x86-asm-syntax=intel -mcpu=yonah | FileCheck %s
; Check that a fastcc function pops its stack variables before returning.
; Check that a fastcc function pops its stack variables before returning.
-define x86_fastcallcc void @func(i64
%X, i64 %Y, float %G, double %Z)
{
+define x86_fastcallcc void @func(i64
inreg %X, i64 %Y, float %G, double %Z) nounwind
{
ret void
ret void
+; CHECK: ret{{.*}}20
+}
+
+define x86_thiscallcc void @func2(i32 inreg %X, i64 %Y, float %G, double %Z) nounwind {
+ ret void
+; CHECK: ret{{.*}}20
}
}