mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-01 09:18:30 +00:00
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:
parent
507bc71820
commit
9e672a2d1b
@ -1336,8 +1336,17 @@ void V8ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
|
|||||||
|
|
||||||
|
|
||||||
void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
|
void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
|
||||||
unsigned TmpReg1, TmpReg2;
|
|
||||||
switch (ID) {
|
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 ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1336,8 +1336,17 @@ void V8ISel::LowerUnknownIntrinsicFunctionCalls(Function &F) {
|
|||||||
|
|
||||||
|
|
||||||
void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
|
void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
|
||||||
unsigned TmpReg1, TmpReg2;
|
|
||||||
switch (ID) {
|
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 ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user