[SLP] remove unnecessary use of 'OperationData'
authorSanjay Patel <spatel@rotateright.com>
Sat, 16 Jan 2021 16:56:36 +0000 (11:56 -0500)
committerSanjay Patel <spatel@rotateright.com>
Sat, 16 Jan 2021 18:55:52 +0000 (13:55 -0500)
commit48dbac5b6b0bc7a03e9af42cb99176abba8d0467
tree484d4ae691634a27add0ea315f1047d560f22065
parent63bedc80da36cf5eb71b06b453c186e057607bf4
[SLP] remove unnecessary use of 'OperationData'

This is another NFC-intended patch to allow matching
intrinsics (example: maxnum) as candidates for reductions.

It's possible that the loop/if logic can be reduced now,
but it's still difficult to understand how this all works.
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp