[PATCH] D18867: [IndVarSimplify] Eliminate zext of a signed IV when the IV is known to be non-negative

Li Huang via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 10:15:49 PDT 2016


lihuang added a comment.

Actually, adding -loop-rotate just happens to work for this case, it doesn't solve the fundamental problem. For example, adding -loop-rotate or other loop pass sequences doesn't help with the case in https://reviews.llvm.org/D21773


https://reviews.llvm.org/D18867





More information about the llvm-commits mailing list