PowerPC: Fix for rldcl/rldicl/rldicr MC emission
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 26 Oct 2012 12:09:58 +0000 (12:09 +0000)
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>
Fri, 26 Oct 2012 12:09:58 +0000 (12:09 +0000)
commitedf5e9a1d5f0cb4cfe747c761c73a2e303f365c4
treeb3520a160a5f0109e38cb69a3df1b9d4bdaf14a8
parent6f20194cdbe4f0884e96dbb8829f0bf87fc90871
PowerPC: Fix for rldcl/rldicl/rldicr MC emission

This patch fixes the rldcl/rldicl/rldicr instruction emission. The issue is
the MDForm_1 instruction defines the PowerISA MB field from 'rldicl'
with the name MBE, but RLDCL/RLDICL/RLDICR definition uses as 'MB'.

It end up by generatint the 'rldicl' enconding at
'lib/Target/PowerPC/PPCGenMCCodeEmitter.inc' to use the fourth argument as the
third. The patch changes it by adjusting to use the fourth argument as
intended.

Fixes PR14180.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166770 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td