Clean up assume intrinsic pattern matching, no need to check that the argument is...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 25 Oct 2014 18:09:01 +0000 (18:09 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 25 Oct 2014 18:09:01 +0000 (18:09 +0000)
commit63207bc9c3beddc3caf5162a9a2b9614908cb4ec
tree62e0f95c26b5f9d8ead730ffc1ae0be183ba08ce
parentb723152379709d4bc4e5d91a92c48b509880e9f2
Clean up assume intrinsic pattern matching, no need to check that the argument is a value.

Also make it const safe and remove superfluous casting. NFC.

llvm-svn: 220616
llvm/include/llvm/IR/PatternMatch.h
llvm/lib/Analysis/AssumptionTracker.cpp
llvm/lib/Transforms/InstCombine/InstCombine.h