[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)
commit8985b32e76f5e92d32705edb2cef58f9b747af38
tree3b2bbd68e34810024751464d1dfe1cfe729b11d8
parentc65d43e64926c9f868213f453bb4cdc3d4ab7879
[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.

llvm-svn: 240040
llvm/lib/CodeGen/BranchFolding.cpp