HLS
HLS copied to clipboard
Turn off all performance optimizations
Hi,
I notice even if clang -O0 is selected and no LLVM_CUSTOM_OPT passes are used, Xilinx Vitis applies multiple optimizations when converting the user input llvm IR into a.g.ld.6.user.bc. Can you guide in detail how to turn off all optimizations to note the rtl synthesis of just the input llvm IR (without performance optimizations enforced)?
Hello,
Unfortunately, there is no such control, as the rest of the compilation process need those to function properly. You can access a.g.ld.0.bc if you absolutely need to look at the IR before any optimizations but it's extremely verbose due to how Clang function.