[PATCH] D34087: [X86] EltsFromConsecutiveLoads - detect split loads without a common load base (PR32940)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 08:06:27 PDT 2017
RKSimon added a comment.
In https://reviews.llvm.org/D34087#777942, @niravd wrote:
> Also, popping up a level, do you know if there's a reason why this is done as an X86-specific pass? It seems entirely generic.
It's done here as we're trying to match various x86 specific load patterns - basic consecutive loads, 'masked' loads with undef/zeros that get blended out, loads with all upper vector elements set to zero. I'm also hoping to add broadcast/vector_broadcast soon (possibly ZERO_EXTEND_VECTOR_INREG as well).
More information about the llvm-commits