X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FSPARC%2Fsetjmp.ll;h=17519c516273679d77b18237bc43b84503c6b61f;hb=1b1bacb118b2ef4060026308488f43f92a53be50;hp=a31cd7016731b09ffbd775a814c6e13b125c9b63;hpb=1f21e0dd0d67b080fa5a9e9eae23f4cd4561c8b2;p=oota-llvm.git diff --git a/test/CodeGen/SPARC/setjmp.ll b/test/CodeGen/SPARC/setjmp.ll index a31cd701673..17519c51627 100644 --- a/test/CodeGen/SPARC/setjmp.ll +++ b/test/CodeGen/SPARC/setjmp.ll @@ -26,16 +26,16 @@ ; Function Attrs: nounwind define i32 @foo(%struct.jmpbuf_env* byval %inbuf) #0 { entry: - %0 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 0 + %0 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 0 store i32 0, i32* %0, align 4, !tbaa !4 - %1 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 1 + %1 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 1 store i32 1, i32* %1, align 4, !tbaa !4 - %2 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 2, i32 0 + %2 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 2, i32 0 %3 = call i32 @_setjmp(%struct.__jmp_buf_tag* %2) #2 - %4 = getelementptr inbounds %struct.jmpbuf_env* %inbuf, i32 0, i32 3 + %4 = getelementptr inbounds %struct.jmpbuf_env, %struct.jmpbuf_env* %inbuf, i32 0, i32 3 store i32 %3, i32* %4, align 4, !tbaa !4 store %struct.jmpbuf_env* %inbuf, %struct.jmpbuf_env** @jenv, align 4, !tbaa !3 - %5 = load i32* %1, align 4, !tbaa !4 + %5 = load i32, i32* %1, align 4, !tbaa !4 %6 = icmp eq i32 %5, 1 %7 = icmp eq i32 %3, 0 %or.cond = and i1 %6, %7 @@ -46,8 +46,8 @@ entry: unreachable bar.exit: ; preds = %entry - %8 = load i32* %0, align 4, !tbaa !4 - %9 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([30 x i8]* @.cst, i32 0, i32 0), i32 %8) #0 + %8 = load i32, i32* %0, align 4, !tbaa !4 + %9 = call i32 (i8*, ...) @printf(i8* noalias getelementptr inbounds ([30 x i8], [30 x i8]* @.cst, i32 0, i32 0), i32 %8) #0 ret i32 0 } @@ -65,8 +65,8 @@ attributes #0 = { nounwind } attributes #1 = { noreturn nounwind } attributes #2 = { nounwind returns_twice } -!0 = metadata !{metadata !"alias set 6: struct.jmpbuf_env*", metadata !1} -!1 = metadata !{metadata !1} -!2 = metadata !{metadata !"alias set 3: int", metadata !1} -!3 = metadata !{metadata !0, metadata !0, i64 0} -!4 = metadata !{metadata !2, metadata !2, i64 0} +!0 = !{!"alias set 6: struct.jmpbuf_env*", !1} +!1 = !{!1} +!2 = !{!"alias set 3: int", !1} +!3 = !{!0, !0, i64 0} +!4 = !{!2, !2, i64 0}