[PATCH] D12965: [InstCombine] shrink switch conditions better (PR24766)

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Mon May 16 07:28:05 PDT 2016


spatel added a comment.

In http://reviews.llvm.org/D12965#429864, @spatel wrote:

> Note that we still don't catch the '9999' case that Nick mentioned in https://llvm.org/bugs/show_bug.cgi?id=24766#c2 ; I think there must be a hole in SimplifyCFG's EliminateDeadSwitchCases() or computeKnownBits() itself. I'll investigate that next.


A possible fix for that problem: http://reviews.llvm.org/D20275


http://reviews.llvm.org/D12965





More information about the llvm-commits mailing list