From 9c9427b62b1c4062974b6afbec535bd33a6749f8 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 19 Nov 2004 19:21:34 +0000 Subject: [PATCH] va_end can safely be codegen'd to nothing on v8. llvm-svn: 18004 --- lib/Target/SparcV8/SparcV8ISelSimple.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Target/SparcV8/SparcV8ISelSimple.cpp b/lib/Target/SparcV8/SparcV8ISelSimple.cpp index 47a2d010ef6..f5966695623 100644 --- a/lib/Target/SparcV8/SparcV8ISelSimple.cpp +++ b/lib/Target/SparcV8/SparcV8ISelSimple.cpp @@ -1344,7 +1344,8 @@ void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) { std::cerr << "Sorry, va_start intrinsic still unsupported:\n" << CI; abort (); case Intrinsic::vaend: - std::cerr << "Sorry, va_end intrinsic still unsupported:\n" << CI; abort (); + // va_end is a no-op on SparcV8. + return; case Intrinsic::vacopy: std::cerr << "Sorry, va_copy intrinsic still unsupported:\n" << CI; abort ();