llvm plugin: reject fneg with fast-math flags (not implemented)
MODIFY
llvm_util/utils.cpp
llvm_util/utils.cpp
@@ -237,6 +237,11 @@ public:
default:
return error(i);
}
+
+ // TODO: support FP fast-math stuff
+ if (isa<llvm::FPMathOperator>(i) && i.getFastMathFlags().any())
+ return error(i);
+
RETURN_IDENTIFIER(make_unique<UnaryOp>(*ty, value_name(i), *val, op));
}

llvm plugin: reject fneg with fast-math flags (not implemented)