From 20e8e01c5d193ba7a9b9ec780f36666516708573 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 14 Aug 2002 18:00:52 +0000 Subject: [PATCH] Remove support for NOT instruction git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3320 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/CBackend/CBackend.cpp | 6 ------ lib/Target/CBackend/Writer.cpp | 6 ------ 2 files changed, 12 deletions(-) diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index dd88653449c..e83ea9bc71c 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -256,7 +256,6 @@ namespace { void visitBranchInst(BranchInst &I); void visitPHINode(PHINode &I) {} - void visitNot(GenericUnaryInst &I); void visitBinaryOperator(Instruction &I); void visitCastInst (CastInst &I); @@ -637,11 +636,6 @@ void CWriter::visitBranchInst(BranchInst &I) { } -void CWriter::visitNot(GenericUnaryInst &I) { - Out << "~"; - writeOperand(I.getOperand(0)); -} - void CWriter::visitBinaryOperator(Instruction &I) { // binary instructions, shift instructions, setCond instructions. if (isa(I.getType())) { diff --git a/lib/Target/CBackend/Writer.cpp b/lib/Target/CBackend/Writer.cpp index dd88653449c..e83ea9bc71c 100644 --- a/lib/Target/CBackend/Writer.cpp +++ b/lib/Target/CBackend/Writer.cpp @@ -256,7 +256,6 @@ namespace { void visitBranchInst(BranchInst &I); void visitPHINode(PHINode &I) {} - void visitNot(GenericUnaryInst &I); void visitBinaryOperator(Instruction &I); void visitCastInst (CastInst &I); @@ -637,11 +636,6 @@ void CWriter::visitBranchInst(BranchInst &I) { } -void CWriter::visitNot(GenericUnaryInst &I) { - Out << "~"; - writeOperand(I.getOperand(0)); -} - void CWriter::visitBinaryOperator(Instruction &I) { // binary instructions, shift instructions, setCond instructions. if (isa(I.getType())) {