[PATCH] D75505: [InstCombine] Enhance cast-of-load->load-of-bitcast fold to handle multiple identical casts

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 9 06:24:45 PDT 2020


lebedev.ri added a comment.

In D75505#1910122 <https://reviews.llvm.org/D75505#1910122>, @lebedev.ri wrote:

> In D75505#1910065 <https://reviews.llvm.org/D75505#1910065>, @jfb wrote:
>
> > Can you add a few tests for this specifically, both with identical subsequent bitcasts as well as with mixed ones?
>
>
> I'm not sure i'm following.
>  There are negative tests for this in `llvm/test/Transforms/InstCombine/multi-use-load-casts.ll`.
>  On top of those, what other tests would you like to see?


up


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