mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Remove the last traces of the NOT instruction
llvm-svn: 3346
This commit is contained in:
parent
54a8a632ea
commit
aac33658b1
@ -25,20 +25,6 @@
|
||||
#define LAST_TERM_INST(num)
|
||||
#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
|
||||
#define FIRST_BINARY_INST(num)
|
||||
#endif
|
||||
@ -93,11 +79,6 @@ HANDLE_TERM_INST ( 3, Switch, SwitchInst)
|
||||
HANDLE_TERM_INST ( 4, Invoke, InvokeInst)
|
||||
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...
|
||||
FIRST_BINARY_INST( 6)
|
||||
HANDLE_BINARY_INST( 6, Add , GenericBinaryInst)
|
||||
@ -147,10 +128,6 @@ HANDLE_OTHER_INST(32, UserOp2, Instruction)
|
||||
#undef HANDLE_TERM_INST
|
||||
#undef LAST_TERM_INST
|
||||
|
||||
#undef FIRST_UNARY_INST
|
||||
#undef HANDLE_UNARY_INST
|
||||
#undef LAST_UNARY_INST
|
||||
|
||||
#undef FIRST_BINARY_INST
|
||||
#undef HANDLE_BINARY_INST
|
||||
#undef LAST_BINARY_INST
|
||||
|
@ -90,13 +90,6 @@ public:
|
||||
#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 {
|
||||
#define FIRST_BINARY_INST(N) FirstBinaryOp = N,
|
||||
#define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N,
|
||||
|
Loading…
x
Reference in New Issue
Block a user