Remove support for NOT instruction
authorChris Lattner <sabre@nondot.org>
Wed, 14 Aug 2002 18:00:52 +0000 (18:00 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 14 Aug 2002 18:00:52 +0000 (18:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3320 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp

index dd88653449cb3c17d30ee0efe144c8dfdaec877b..e83ea9bc71c2a1ce6f952c731181b80cd6f1eb61 100644 (file)
@@ -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<PointerType>(I.getType())) {
index dd88653449cb3c17d30ee0efe144c8dfdaec877b..e83ea9bc71c2a1ce6f952c731181b80cd6f1eb61 100644 (file)
@@ -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<PointerType>(I.getType())) {