[ValueTracking] Remove unused matchSelectPattern optional argument. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 13:20:47 +0000 (13:20 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 23 Sep 2019 13:20:47 +0000 (13:20 +0000)
commit31acfe5c2c68420367241db4b0f23e56c2ccbe8c
tree93123f9c7d4fa2407a1baef1edd071cb2e7fdee5
parentf62293e8fe9d389dbb606a69c307b75571a08d07
[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.

llvm-svn: 372604
llvm/include/llvm/Analysis/ValueTracking.h