Commit: 148c941fb2732ae8cefa429ddc6dc0fc17be1427
Author: Jacques Lucke
Date: Sat Nov 27 13:48:15 2021 +0100
Branches: temp-llvm-testing
https://developer.blender.org/rB148c941fb2732ae8cefa429ddc6dc0fc17be1427
enable prints
===================================================================
M source/blender/functions/intern/llvm.cc
===================================================================
diff --git a/source/blender/functions/intern/llvm.cc
b/source/blender/functions/intern/llvm.cc
index bdbb982de6b..806e6aa9737 100644
--- a/source/blender/functions/intern/llvm.cc
+++ b/source/blender/functions/intern/llvm.cc
@@ -22,8 +22,8 @@
#include <llvm/IR/Type.h>
#include <llvm/IR/Verifier.h>
#include <llvm/Support/CommandLine.h>
-#include <llvm/Support/TargetSelect.h>
#include <llvm/Support/TargetRegistry.h>
+#include <llvm/Support/TargetSelect.h>
#include "FN_llvm.hh"
@@ -70,14 +70,13 @@ void playground()
const int result = generated_function(3, 5);
std::cout << result << "\n";
- /*
LLVMTargetMachineEmitToFile((LLVMTargetMachineRef)ee->getTargetMachine(),
llvm::wrap(module_ptr),
(char
*)"C:\\Users\\jacques\\Documents\\machine_code.txt",
LLVMAssemblyFile,
nullptr);
- */
- // function->dump();
+
+ function->dump();
}
} // namespace blender::fn
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs