A very sorry stub implementation of varargs intrinsics...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18003 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2004-11-19 18:53:59 +00:00
parent 507bc71820
commit 9e672a2d1b
2 changed files with 22 additions and 4 deletions

View File

@ -1336,8 +1336,17 @@ void V8ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
unsigned TmpReg1, TmpReg2;
switch (ID) {
default: assert(0 && "Intrinsic not supported!");
default:
std::cerr << "Sorry, unknown intrinsic function call:\n" << CI; abort ();
case Intrinsic::vastart:
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 ();
case Intrinsic::vacopy:
std::cerr << "Sorry, va_copy intrinsic still unsupported:\n" << CI; abort ();
}
}

View File

@ -1336,8 +1336,17 @@ void V8ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
unsigned TmpReg1, TmpReg2;
switch (ID) {
default: assert(0 && "Intrinsic not supported!");
default:
std::cerr << "Sorry, unknown intrinsic function call:\n" << CI; abort ();
case Intrinsic::vastart:
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 ();
case Intrinsic::vacopy:
std::cerr << "Sorry, va_copy intrinsic still unsupported:\n" << CI; abort ();
}
}