Fix cmp emission on msp430: we definitely should turn stuff like
authorAnton Korobeynikov <asl@math.spbu.ru>
Fri, 15 Jan 2010 01:29:49 +0000 (01:29 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Fri, 15 Jan 2010 01:29:49 +0000 (01:29 +0000)
commitf7ed979257726fe1566c243a3174da76a18c4f19
tree02a2231ffd775fcacc7bd0f38c2b6dbc277e8575
parentc9b16cc10887d270aa2a43a5a8c78e0ed3177dea
Fix cmp emission on msp430: we definitely should turn stuff like
"icmp lhs, rhs" into "cmp rhs, lhs". This should fix PR5979.

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