aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/fastcc-byval.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/fastcc-byval.ll')
-rw-r--r--test/CodeGen/X86/fastcc-byval.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/fastcc-byval.ll b/test/CodeGen/X86/fastcc-byval.ll
index e6828e4..1706de4 100644
--- a/test/CodeGen/X86/fastcc-byval.ll
+++ b/test/CodeGen/X86/fastcc-byval.ll
@@ -14,10 +14,10 @@ target triple = "i386-apple-darwin9.5"
define fastcc i32 @bar() nounwind {
%V = alloca %struct.MVT
- %a = getelementptr %struct.MVT* %V, i32 0, i32 0
+ %a = getelementptr %struct.MVT, %struct.MVT* %V, i32 0, i32 0
store i32 1, i32* %a
call fastcc void @foo(%struct.MVT* byval %V) nounwind
- %t = load i32* %a
+ %t = load i32, i32* %a
ret i32 %t
}