[PATCH] D21190: [InstCombine] allow more than one use for vector cast folding with selects

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 13:19:26 PDT 2016


spatel added a comment.

In http://reviews.llvm.org/D21190#460029, @eli.friedman wrote:

> This patch doesn't only apply to bitcasts, which can lead to gigantic codegen changes in some cases.


...

> Feel free to just file a bug for this, but I'm pretty sure we need some sort of target-hook for this.


Thanks:
https://llvm.org/bugs/show_bug.cgi?id=28160

I think I should limit this patch to only bitcasts to make it safer?


http://reviews.llvm.org/D21190





More information about the llvm-commits mailing list