[PATCH] D44997: [InstCombine] Fold compare of int constant against an integer vector splat

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 02:40:10 PDT 2018


mkazantsev added a comment.

I don't get why we need the last comparison. Can we just replace `%cast` with `%val` in your example?


Repository:
  rL LLVM

https://reviews.llvm.org/D44997





More information about the llvm-commits mailing list