Remove the last traces of the NOT instruction

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3346 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-08-15 16:14:49 +00:00
parent 8decbcbbfe
commit c5b74477c0
2 changed files with 0 additions and 30 deletions

View File

@ -25,20 +25,6 @@
#define LAST_TERM_INST(num) #define LAST_TERM_INST(num)
#endif #endif
#ifndef FIRST_UNARY_INST
#define FIRST_UNARY_INST(num)
#endif
#ifndef HANDLE_UNARY_INST
#ifndef HANDLE_INST
#define HANDLE_UNARY_INST(num, opcode, Class)
#else
#define HANDLE_UNARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
#endif
#endif
#ifndef LAST_UNARY_INST
#define LAST_UNARY_INST(num)
#endif
#ifndef FIRST_BINARY_INST #ifndef FIRST_BINARY_INST
#define FIRST_BINARY_INST(num) #define FIRST_BINARY_INST(num)
#endif #endif
@ -93,11 +79,6 @@ HANDLE_TERM_INST ( 3, Switch, SwitchInst)
HANDLE_TERM_INST ( 4, Invoke, InvokeInst) HANDLE_TERM_INST ( 4, Invoke, InvokeInst)
LAST_TERM_INST ( 4) LAST_TERM_INST ( 4)
// The single unary instruction... a binary inverse.
FIRST_UNARY_INST ( 5)
HANDLE_UNARY_INST ( 5, Not , GenericBinaryInst) // THIS IS WRONG. *REMOVEME*
LAST_UNARY_INST ( 5)
// Standard binary operators... // Standard binary operators...
FIRST_BINARY_INST( 6) FIRST_BINARY_INST( 6)
HANDLE_BINARY_INST( 6, Add , GenericBinaryInst) HANDLE_BINARY_INST( 6, Add , GenericBinaryInst)
@ -147,10 +128,6 @@ HANDLE_OTHER_INST(32, UserOp2, Instruction)
#undef HANDLE_TERM_INST #undef HANDLE_TERM_INST
#undef LAST_TERM_INST #undef LAST_TERM_INST
#undef FIRST_UNARY_INST
#undef HANDLE_UNARY_INST
#undef LAST_UNARY_INST
#undef FIRST_BINARY_INST #undef FIRST_BINARY_INST
#undef HANDLE_BINARY_INST #undef HANDLE_BINARY_INST
#undef LAST_BINARY_INST #undef LAST_BINARY_INST

View File

@ -90,13 +90,6 @@ public:
#include "llvm/Instruction.def" #include "llvm/Instruction.def"
}; };
enum UnaryOps {
#define FIRST_UNARY_INST(N) FirstUnaryOp = N,
#define HANDLE_UNARY_INST(N, OPC, CLASS) OPC = N,
#define LAST_UNARY_INST(N) NumUnaryOps = N+1,
#include "llvm/Instruction.def"
};
enum BinaryOps { enum BinaryOps {
#define FIRST_BINARY_INST(N) FirstBinaryOp = N, #define FIRST_BINARY_INST(N) FirstBinaryOp = N,
#define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N, #define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N,