[TTI] add wrapper for matching vector reduction to reduce code duplication; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 23 Sep 2020 17:46:26 +0000 (13:46 -0400)
committerSanjay Patel <spatel@rotateright.com>
Wed, 23 Sep 2020 17:48:57 +0000 (13:48 -0400)
commit6189a8d9f56ac9434eac94d6c515d3e460fdecd0
treed70deac32adc1b90ade2a65acbaf5ed0608dcbfd
parent5dd1b6d612655c9006ba97a8b6487ded80719b48
[TTI] add wrapper for matching vector reduction to reduce code duplication; NFC

I'm not sure what this means, but the order in which we try
the matches makes a difference on at least 1 regression test...
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp