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

Daniel Neilson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 29 06:29:11 PDT 2018


dneilson added a comment.

In https://reviews.llvm.org/D44997#1051341, @mkazantsev wrote:

> Ah, I see the type mismatch, but still. What prevents us from doing the same for less, greater etc. comparisons? Arithmetics?


Nothing prevents us from doing so. I'll relax the restriction.


Repository:
  rL LLVM

https://reviews.llvm.org/D44997





More information about the llvm-commits mailing list