> ...(3) having gcc add one.  For C, (3) involves adding one to a
> constant, which does not involve any heavy operations like memory
> allocation, just a two word integer plus operation.

This is wrong: adding one of course requires allocating a tree node in
general (i.e. unless a previously constructed constant can be recycled).

Ciao,

Duncan.
_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to