Minor optimization: when doing eq/ne comparions and RHS is a constant - swap operands...
authorAnton Korobeynikov <asl@math.spbu.ru>
Sun, 22 Nov 2009 01:14:08 +0000 (01:14 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Sun, 22 Nov 2009 01:14:08 +0000 (01:14 +0000)
commit1722f061a3e7c2f6ef8be9f2f0f7c81ab763c7be
tree9f101b816ce6e8cc901c599883112207bea9a271
parentef4e604603cf8301e8d30571304578cd2b19b5c3
Minor optimization: when doing eq/ne comparions and RHS is a constant - swap operands, this will allow us to fold imm into comparison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89574 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/MSP430/MSP430ISelLowering.cpp