[PATCH] D42032: [LLVM][PASSES][InstCombine] Fix (a + a + ...) / a cases

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 18 11:13:00 PST 2018


spatel added inline comments.


================
Comment at: test/Transforms/InstSimplify/reassociate.ll:161
 
+define i32 @sdiv6(i32 %x, i32 %y) {
+; CHECK-LABEL: @sdiv6(
----------------
The 'y' param is unused here and the other tests. Please remove.
Make one of the positive tests use a vector type, so we know case that works correctly too.


https://reviews.llvm.org/D42032





More information about the llvm-commits mailing list