[SimplifyLibCalls] Return Value from optimizeSinCosPi when making change
Or else InstCombine can incorrectly report that no change has been made. This optimization doesn't really fit into InstCombine since it optimizes multiple instructions at once; there's likely a more comprehensive fix. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D146064
Loading
Please sign in to comment