Most casts have zero performance cost and will not interfere with alias analysis. The exception for alias analysis is that inttoptr&#x2F;ptrtoint is discouraged for address calculation, but the analysis can reason about that. Performance wise, I can see casts between float&#x2F;int to not be free since they may appear in the final output.