[PATCH] D42948: [SelectionDAG] Support some SimplifySetCC cases for comparing against vector splats of constants.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 08:57:48 PST 2018


spatel added inline comments.


================
Comment at: test/CodeGen/X86/vector-compare-simplify.ll:78-80
-; CHECK-NEXT:    movdqa {{.*#+}} xmm1 = [2147483647,2147483647,2147483647,2147483647]
-; CHECK-NEXT:    pcmpgtd %xmm0, %xmm1
-; CHECK-NEXT:    movdqa %xmm1, %xmm0
----------------
spatel wrote:
> Do we know why this didn't load-fold like the sgt_max test?
Disregard...this is less-than, so we can't commute the memop. But this might still be viewed as a regression.


Repository:
  rL LLVM

https://reviews.llvm.org/D42948





More information about the llvm-commits mailing list