diff options
-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 4f40ae0b86..8c448fcad3 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 4f40ae0b86..8c448fcad3 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 (); +} |