Displaying 1 result from an estimated 1 matches for "c217147f".
2015 Dec 29
2
Running DCE after my pass
Hi,
I wrote an IR pass and it adds some instructions that are not used.
For example:
%1 = call i64 @foo()
When %1 is not used at all.
I thought that running DCE (-dce) or DIE (-die) after my pass will remove
such instructions, but it didn't.
Why? And is there a way to do that?
Thanks,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...