diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-11-19 21:08:18 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-11-19 21:08:18 +0000 |
commit | b6c409a13d5219c05e3ffd25f87e8500518aaf43 (patch) | |
tree | 36e29c5ce986db0c5f79a1334ce49190ac92b049 | |
parent | d90282db12db037fa2c0fbe855563225fe568a0a (diff) | |
download | external_llvm-b6c409a13d5219c05e3ffd25f87e8500518aaf43.zip external_llvm-b6c409a13d5219c05e3ffd25f87e8500518aaf43.tar.gz external_llvm-b6c409a13d5219c05e3ffd25f87e8500518aaf43.tar.bz2 |
Add VANext and VAArg stubs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18012 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Sparc/SparcV8ISelSimple.cpp | 11 | ||||
-rw-r--r-- | lib/Target/SparcV8/SparcV8ISelSimple.cpp | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcV8ISelSimple.cpp b/lib/Target/Sparc/SparcV8ISelSimple.cpp index 4f40ae0..8c448fc 100644 --- a/lib/Target/Sparc/SparcV8ISelSimple.cpp +++ b/lib/Target/Sparc/SparcV8ISelSimple.cpp @@ -94,6 +94,8 @@ namespace { void visitBranchInst(BranchInst &I); void visitUnreachableInst(UnreachableInst &I) {} void visitCastInst(CastInst &I); + void visitVANextInst(VANextInst &I); + void visitVAArgInst(VAArgInst &I); void visitLoadInst(LoadInst &I); void visitStoreInst(StoreInst &I); void visitPHINode(PHINode &I) {} // PHI nodes handled by second pass @@ -590,7 +592,6 @@ void V8ISel::visitCastInst(CastInst &I) { emitCastOperation(BB, MI, Op, I.getType(), DestReg); } - unsigned V8ISel::emitIntegerCast (MachineBasicBlock *BB, MachineBasicBlock::iterator IP, const Type *oldTy, unsigned SrcReg, const Type *newTy, @@ -1385,3 +1386,11 @@ void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) { std::cerr << "Sorry, va_copy intrinsic still unsupported:\n" << CI; abort (); } } + +void V8ISel::visitVANextInst (VANextInst &I) { + std::cerr << "Sorry, vanext instruction still unsupported:\n" << I; abort (); +} + +void V8ISel::visitVAArgInst (VAArgInst &I) { + std::cerr << "Sorry, vaarg instruction still unsupported:\n" << I; abort (); +} diff --git a/lib/Target/SparcV8/SparcV8ISelSimple.cpp b/lib/Target/SparcV8/SparcV8ISelSimple.cpp index 4f40ae0..8c448fc 100644 --- a/lib/Target/SparcV8/SparcV8ISelSimple.cpp +++ b/lib/Target/SparcV8/SparcV8ISelSimple.cpp @@ -94,6 +94,8 @@ namespace { void visitBranchInst(BranchInst &I); void visitUnreachableInst(UnreachableInst &I) {} void visitCastInst(CastInst &I); + void visitVANextInst(VANextInst &I); + void visitVAArgInst(VAArgInst &I); void visitLoadInst(LoadInst &I); void visitStoreInst(StoreInst &I); void visitPHINode(PHINode &I) {} // PHI nodes handled by second pass @@ -590,7 +592,6 @@ void V8ISel::visitCastInst(CastInst &I) { emitCastOperation(BB, MI, Op, I.getType(), DestReg); } - unsigned V8ISel::emitIntegerCast (MachineBasicBlock *BB, MachineBasicBlock::iterator IP, const Type *oldTy, unsigned SrcReg, const Type *newTy, @@ -1385,3 +1386,11 @@ void V8ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) { std::cerr << "Sorry, va_copy intrinsic still unsupported:\n" << CI; abort (); } } + +void V8ISel::visitVANextInst (VANextInst &I) { + std::cerr << "Sorry, vanext instruction still unsupported:\n" << I; abort (); +} + +void V8ISel::visitVAArgInst (VAArgInst &I) { + std::cerr << "Sorry, vaarg instruction still unsupported:\n" << I; abort (); +} |