Fix order of operands for crc8_l4r
authorRichard Osborne <richard@xmos.com>
Fri, 25 Jan 2013 21:20:28 +0000 (21:20 +0000)
committerRichard Osborne <richard@xmos.com>
Fri, 25 Jan 2013 21:20:28 +0000 (21:20 +0000)
commit9a228a13c64959359e072b92c17e16ed778c748e
tree572a912f81828041bc538fe1b30a8024bff17c17
parent6c7fc7ef7c21460af28ad7e49a96d399d476937c
Fix order of operands for crc8_l4r

The order in which operands appear in the encoded instruction is different
to order in which they appear in assembly. This changes the XCore backend to
use the instruction encoding order.

llvm-svn: 173493
llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp
llvm/lib/Target/XCore/XCoreISelLowering.cpp
llvm/lib/Target/XCore/XCoreISelLowering.h
llvm/lib/Target/XCore/XCoreInstrInfo.td