[PATCH] D52964: [x86] use demanded bits to simplify masked store codegen

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 6 07:38:39 PDT 2018


RKSimon added inline comments.


================
Comment at: test/CodeGen/X86/masked_memop.ll:1282
 ; TODO: SimplifyDemandedBits should eliminate an ashr here.
+; It works for AVX2, but not the more complicated pattern for AVX1.
 
----------------
We're going to have to add SimplifyDemandedBitsForTargetNode to handle this properly - @craig.topper didn't you have a patch that was going to add that at some point?


https://reviews.llvm.org/D52964





More information about the llvm-commits mailing list