[ValueTracking] Remove unused matchSelectPattern optional argument. NFCI.
commit5a1b329567bd722ccc26567b7c3cbe6efdf1f881
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 13:20:47 +0000 (23 13:20 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 13:20:47 +0000 (23 13:20 +0000)
treed3af7da9c4d391e8a3133bea05169321ba5a9c41
parent439983d2918a96c5fe9b1f3158ac8b96da9a449b
[ValueTracking] Remove unused matchSelectPattern optional argument. NFCI.

The matchSelectPattern const wrapper is never explicitly called with the optional Instruction::CastOps argument, and it turns out that it wasn't being forwarded to matchSelectPattern anyway!

Noticed while investigating clang static analyzer warnings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372604 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h