[X86][XOP] Add a reversed reg/reg form for VPROT instructions.
authorCraig Topper <craig.topper@gmail.com>
Sat, 26 Nov 2016 02:14:00 +0000 (02:14 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 26 Nov 2016 02:14:00 +0000 (02:14 +0000)
commit7f76c23781fa15458949ee2ea807b6e896788fc6
tree50fb6d6ed20245000c84edbfa01305e2ab89a990
parent516fd7abfe8a8eb770e59e0f668d5a58ed4b66b6
[X86][XOP] Add a reversed reg/reg form for VPROT instructions.

The W bit distinquishes which operand is the memory operand. But if the mod bits are 3 then the memory operand is a register and there are two possible encodings. We already did this correctly for several other XOP instructions.

llvm-svn: 287961
llvm/lib/Target/X86/X86InstrXOP.td