<div dir="ltr">Hi all,<div><br></div><div style>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.</div>
<div style><br></div><div style>Now, I'm not sure...</div><div style><br></div><div style>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.</div>
<div style><br></div><div style>What are the uses of each and, is there a general rule of thumb for using them?</div><div style><br></div><div style>cheers,</div><div style>--renato</div></div>