projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DI/Verifier: Fix argument bitrot in DILocalVariable
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
byval7.ll
diff --git
a/test/CodeGen/X86/byval7.ll
b/test/CodeGen/X86/byval7.ll
index 54210c8036dcb240ed0829b30dfa9e125269d301..8d5dd8c5887e4c5a4004c75847c9af90555a5d5c 100644
(file)
--- a/
test/CodeGen/X86/byval7.ll
+++ b/
test/CodeGen/X86/byval7.ll
@@
-1,13
+1,20
@@
-; RUN: ll
vm-as < %s | llc -march=x86 | grep add | grep 16
+; RUN: ll
c < %s -march=x86 -mcpu=yonah | FileCheck %s
- %struct.S = type { <2 x i64> }
+ %struct.S = type { <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
+ <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
+ <2 x i64> }
define i32 @main() nounwind {
entry:
define i32 @main() nounwind {
entry:
+; CHECK-LABEL: main:
+; CHECK: leal 16(%esp), %edi
+; CHECK: leal 160(%esp), %esi
+; CHECK: rep;movsl
+; CHECK: movl $1, (%esp)
%s = alloca %struct.S ; <%struct.S*> [#uses=2]
%s = alloca %struct.S ; <%struct.S*> [#uses=2]
- %tmp15 = getelementptr %struct.S
* %s, i32 0, i32 0
; <<2 x i64>*> [#uses=1]
+ %tmp15 = getelementptr %struct.S
, %struct.S* %s, i32 0, i32 0
; <<2 x i64>*> [#uses=1]
store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16
store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16
- call void @t( i32 1, %struct.S* byval %s ) nounwind
+ call void @t( i32 1, %struct.S* byval %s ) nounwind
ret i32 0
}
ret i32 0
}