[PATCH] D32285: [InstCombineCasts] Fix checks in sext->lshr->trunc pattern.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 15:51:10 PDT 2017


spatel added a comment.

I couldn't tell what was happening in all these cases from the code or tests, so I added the tests with their current output here:
https://reviews.llvm.org/rL302475

I think there are 3 or more problems/opportunities here, so I want to separate these if possible. Can you make this patch just about fixing the miscompile in test91()? Is there a bug report for that case?


https://reviews.llvm.org/D32285





More information about the llvm-commits mailing list