[PATCH] "float2int": Add a new pass to demote from float to int where possible.
Philip Reames
listmail at philipreames.com
Tue Mar 3 09:40:29 PST 2015
On 02/26/2015 09:24 AM, James Molloy wrote:
> In this latest incarnation it's now a trivial loop, so I think using a utility isn't really required. Also, I know which nodes are dead; getting a utility to discover them isn't really required.
This wasn't quite what I was getting at. By deleting instructions, you
may be making other instructions dead (i.e. by removing the last use).
Using a utility function would cleanup all of those instructions in one
go. Minor win, probably not worth worrying about here.
More information about the llvm-commits
mailing list