InstCombine: Simplify FoldICmpCstShrCst
This function was complicated by the fact that it tried to perform canonicalizations that were already preformed by InstSimplify. Remove this extra code and move the tests over to InstSimplify. Add asserts to make sure our preconditions hold before we make any assumptions. llvm-svn: 220314
parent
9d35e2e7
Please register or sign in to comment