[PATCH] D32973: [X86][SSE42] Lower v2i64/v4i64 ASHR(X, 63) as PCMPGTQ(0, X)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 12:09:11 PDT 2017


RKSimon marked an inline comment as done.
RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:21806
           }
           return DAG.getNode(X86ISD::PCMPGT, dl, VT, Zeros, R);
         }
----------------
delena wrote:
> The same code here ..
I looked at merging the vXi64/vXi8 paths for this but it didn't seem worth it - AVX512 always has PSRAQ so just SSE/AVX can be done as a single line.


Repository:
  rL LLVM

https://reviews.llvm.org/D32973





More information about the llvm-commits mailing list