[BranchFolding] Replace custom MachineInstr with MachineInstrExpressionTrait
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 18 Jun 2015 20:00:03 +0000 (20:00 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 18 Jun 2015 20:00:03 +0000 (20:00 +0000)
commitec7aa02d9f29078c4a0b9aec922891014e882df4
treeb3139a57325294ea77903f3cced32edf233db5e6
parentaabacb67c3dab68c75d9eef390d6eb08aa62c8ac
[BranchFolding] Replace custom MachineInstr with MachineInstrExpressionTrait

While the hash functions are subtly different it shouldn't have an
impact. Instructions are checked with isIdenticalTo later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240040 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/BranchFolding.cpp