[PATCH] D22122: [SCCP] Teach the pass about bitcasts

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 18:50:46 PDT 2016


eli.friedman added a comment.

I guess it's a good idea to try to fold constants as we build them... it's slightly more efficient, and it could avoid spurious "overdefined" markings in some cases.  Might as well make a pass over the whole file while you're at it to find other places where we do something similar.

That said, I doubt it makes much of a difference in practice.


http://reviews.llvm.org/D22122





More information about the llvm-commits mailing list