[LLVMdev] Inlined call properly optimized, but not function itself

Duncan Sands baldrick at free.fr
Sun Jul 14 09:39:23 PDT 2013


Hi edA-qa mort-ora-y,
> define i64 @eval_expr() uwtable {
> entry:
>    %0 = extractvalue %0 { i1 true, i64 3 }, 0

it does seem odd that this has not been turned into "i1 true".  The instcombine
pass, which is run many times in the standard optimization pipeline, will get
this.  Are you running it?

Ciao, Duncan.



More information about the llvm-dev mailing list