#include "llvm/Module.h"
#include "llvm/iTerminators.h"
#include "llvm/iMemory.h"
+#include "llvm/iOperators.h"
#include "llvm/iPHINode.h"
#include "Support/STLExtras.h"
#include "Support/DepthFirstIterator.h"
delete $2;
}
| SetCondOps Types ValueRef ',' ValueRef {
- $$ = BinaryOperator::create($1, getVal(*$2, $3), getVal(*$2, $5));
+ $$ = new SetCondInst($1, getVal(*$2, $3), getVal(*$2, $5));
if ($$ == 0)
ThrowException("binary operator returned null!");
delete $2;