[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)
commit0ff2059da636026ef484cc50dbfdef25f49ec916
treee03203546b8a31e781a27713df4e0a5aa93e5f74
parentf3ac16dcb4749fb8d75a0de24d4e6240f1bfdd77
[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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223797 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PatternMatch.h
lib/CodeGen/CodeGenPrepare.cpp