Remove unnecessary extra version of isValidAssumeForContext. NFC.
authorPete Cooper <peter_cooper@apple.com>
Thu, 11 Aug 2016 22:23:07 +0000 (22:23 +0000)
committerPete Cooper <peter_cooper@apple.com>
Thu, 11 Aug 2016 22:23:07 +0000 (22:23 +0000)
commitfa7ae4f3b6316e60de4e3d9f4dd1f355889f970c
tree1047fbbcb432950a0e3e7c61bbe0d5c46d6f7b04
parent0d955d0bf5cbbd50061309ad2c08c0dcf8f62039
Remove unnecessary extra version of isValidAssumeForContext.  NFC.

There were 2 versions of this method.  A public one which takes a
const Instruction* and a private implementation which takes a mutable
Value* and casts to an Instruction*.

There was no need for the 2 versions as all callers pass a const Instruction*
and there was no need for a mutable pointer as we only do analysis here.

llvm-svn: 278434
llvm/lib/Analysis/ValueTracking.cpp