[PATCH] D27327: [InstCombine] Fix to switch narrowing

Gerolf Hoflehner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 24 20:48:58 PST 2017


Gerolf added a comment.

Hans, you were right. The computeKnowBits etc parts should have been moved also. Sanjay committed the fix proper in r289442. I only kept the regression test in narrow-switch.ll (r293018).

-Gerolf


https://reviews.llvm.org/D27327





More information about the llvm-commits mailing list