[PATCH] D40649: [InstCombine] Don't crash on out of bounds shifts

Igor Laevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 1 08:25:14 PST 2017


igor-laevsky added a comment.

I see your point. Unfortunately I can't find any good place to common this out. Problem is that code is structured as a consecutive matching of unrelated patterns which may sometimes contain invalid shift operations. But I don't know the code base enough so maybe I'm missing something. Any advice?


https://reviews.llvm.org/D40649





More information about the llvm-commits mailing list