[PATCH] D36384: [InstCombine] Support (X | C1) & C2 --> (X & C2^(C1&C2)) | (C1&C2) for vector splats

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 17:13:15 PDT 2017


craig.topper added inline comments.


================
Comment at: test/Transforms/InstCombine/or.ll:284
+  ret <2 x i32> %E
 }
 
----------------
There's obviously still something missing here that keeps this from matching the non vector case.


https://reviews.llvm.org/D36384





More information about the llvm-commits mailing list