[PATCH] D75505: [InstCombine] Enhance cast-of-load->load-of-bitcast fold to handle multiple identical casts
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 13:14:10 PST 2020
spatel added a comment.
In D75505#1903785 <https://reviews.llvm.org/D75505#1903785>, @lebedev.ri wrote:
> Hm, why SimplifyCFG?
> I'm aware that we (still) don't have specialized hoisting/sinking pass..
Time to change that? :)
I was just grepping around in SimplifyCFG and saw that it has hoisting transforms gated by instruction costs, so I thought maybe there's a way to squeeze this into the existing code, but I know that's a stretch too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75505/new/
https://reviews.llvm.org/D75505
More information about the llvm-commits
mailing list