[PATCH] D56450: [x86] fix horizontal binop matching for 256-bit vectors (PR40243)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 8 13:40:51 PST 2019


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


================
Comment at: lib/Target/X86/X86ISelLowering.cpp:7925
 
     if (i * 2 < NumElts) {
       if (V0.isUndef()) {
----------------
In case it's not clear (it took me a long time to spot this), this is the logic difference in the new matcher (along with nested loops). See line 8268 in this patch.


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

https://reviews.llvm.org/D56450





More information about the llvm-commits mailing list