Displaying 1 result from an estimated 1 matches for "99f3cab4".
2015 Mar 19
2
[LLVMdev] Clang flag to either print/omit nop instruction in llvm backend
I have created custom Clang flag -no_nop_optimise which can be passes with
clang on command line.
I am planning to implement someting like:
when -no_nop_optimise flag is passed on the command line do not emit a nop
instruction.
i.e. inside SelLowering class
if ( !OPT_no_nop_optimise)
{
BuildMI(*BB, MI, DL, TII->get(Mips::NOP));
}
Any clues on how can I pass the flag to the LLVM backend