[LLVMdev] Optimization of calls to functions without side effects (from Kaleidoscope example)

Duncan Sands baldrick at free.fr
Mon Nov 15 06:56:30 PST 2010


Hi Rob,

> Hmm ... I tried setting that right after Function::Create but I still get the same result (though flagged with "readonly")

did you run the gvn pass (preceded by basic-aa)?

Ciao,

Duncan.



More information about the llvm-dev mailing list