[LLVMdev] TargetLowering vs. TargetTransform
Renato Golin
renato.golin at linaro.org
Fri Jan 25 08:21:04 PST 2013
Hi all,
I'm looking for a place where to put the costs of vector (and scalar) cast
operations for ARM, but I noticed the TargetTransform methods call the
TargetLowering ones when unsure.
Now, I'm not sure...
Many casts on ARM are free, and I could build a list of cases where it is
true, but should I put this on the lowering or the transform? My main
motivation is to get the costs right for the vectorization pass, but I
think this should be generally available to any pass that needs it.
What are the uses of each and, is there a general rule of thumb for using
them?
cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130125/a7b8afcc/attachment.html>
More information about the llvm-dev
mailing list