[CGP] Rewrite pattern match for splitBranchCondition to work with Values instead.
authorJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 17:50:10 +0000 (17:50 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 9 Dec 2014 17:50:10 +0000 (17:50 +0000)
commit8bda738221074ad5ba84b5a1d2f182ef4d630961
tree224dd377dada3c20fa21453bc88c5e7e28d2efdd
parent9cceddd074ffd48dcc612d49f7b55fe6e32a3a41
[CGP] Rewrite pattern match for splitBranchCondition to work with Values instead.

Rewrite the pattern match code to work also with Values instead with
Instructions only. Also remove the no longer need matcher (m_Instruction).

llvm-svn: 223797
llvm/include/llvm/IR/PatternMatch.h
llvm/lib/CodeGen/CodeGenPrepare.cpp