fix compilation error with llvm 9.0
MODIFY
llvm_mode/compare-transform-pass.so.cc
llvm_mode/compare-transform-pass.so.cc
@@ -82,7 +82,11 @@ bool CompareTransform::transformCmps(Module &M, const bool processStrcmp, const
, nullptr
#endif
);
+#if LLVM_VERSION_MAJOR < 9
Function* tolowerFn = cast<Function>(c);
+#else
+ FunctionCallee tolowerFn = c;
+#endif
/* iterate over all functions, bbs and instruction and add suitable calls to strcmp/memcmp/strncmp/strcasecmp/strncasecmp */
for (auto &F : M) {

fix compilation error with llvm 9.0