[LLVMdev] Hoisting elements of array argument into registers
Duncan Sands
baldrick at free.fr
Fri Nov 12 06:41:26 PST 2010
> However, it turns out that if you just run "opt -O3" twice then all of this
> stuff gets eliminated and you get truly optimal code - pretty awesome!
Yes, if I pipe the output from "dragonegg -O3" into "opt -O3" then the loop
is eliminated in "wf". It would be interesting to find out why, and improve
the current list of passes.
Ciao,
Duncan.
More information about the llvm-dev
mailing list