Displaying 2 results from an estimated 2 matches for "sellow".
Did you mean:
fellow
2011 Jun 23
2
[LLVMdev] type promotion i16 -> i32
Hello,
I'm developing a llvm backend. It seems that, if i16 is not a legal type
(no register can hold i16 types in RegisterInfo.td and as a RegisterClass in
SelLowering.cpp), i16 should be promoted to i32.
Nonotheless, this simple program:
int main(){
volatile short a;
a= 3;
return 0;
}
which is trasformed in this IR:
define i32 @main() nounwind readnone {
entry:
%a = alloca i16, align 2 ; <i16*> [#uses=1]
volatile st...
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 from clang?
Thanks,
Ambuj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm...