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

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 17:48:36 PDT 2016

davide added a comment.

In http://reviews.llvm.org/D22122#477611, @eli.friedman wrote:

> SCCPSolver::visitCastInst already handles bitcasts... what are you trying to do?

Thanks for your review, Eli. I clearly didn't get this right :(.
To give you some more context, In the test attached to this patch the bitcast is not folded, while `-constprop` folds it. My question is: should `-sccp/-ipcsccp` be able to fold it?


More information about the llvm-commits mailing list