aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-11-19 19:21:34 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-11-19 19:21:34 +0000
commit2f95ed65e032f66016c55149b2178d61d400c15c (patch)
tree76c79a1b82de23219f0d3468aff8a2ba1f52c312 /lib/Target/Sparc
parent9e672a2d1ba82c6038823ad2463ce561643b8a60 (diff)
downloadexternal_llvm-2f95ed65e032f66016c55149b2178d61d400c15c.zip
external_llvm-2f95ed65e032f66016c55149b2178d61d400c15c.tar.gz
external_llvm-2f95ed65e032f66016c55149b2178d61d400c15c.tar.bz2
va_end can safely be codegen'd to nothing on v8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcV8ISelSimple.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcV8ISelSimple.cpp b/lib/Target/Sparc/SparcV8ISelSimple.cpp
index 47a2d01..f596669 100644
--- a/lib/Target/Sparc/SparcV8ISelSimple.cpp
+++ b/lib/Target/Sparc/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 ();