[PATCH] D87502: [DAGCombiner] Use known bits to fold extract_vector_elt with const index

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 09:05:57 PDT 2020


foad added inline comments.


================
Comment at: llvm/test/CodeGen/X86/vector-trunc-math.ll:2713
 ; SSE-NEXT:    packuswb %xmm1, %xmm0
+; SSE-NEXT:    pand {{.*}}(%rip), %xmm0
 ; SSE-NEXT:    retq
----------------
foad wrote:
> Regression. Perhaps we need better known bits analysis.
D87912 is my attempt at fixing this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87502/new/

https://reviews.llvm.org/D87502



More information about the llvm-commits mailing list