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)
commit0f9cff1ab880893819fbdd5f80243d950ee92644
tree492063422b9602d9713544cff96e99d64a1b64b0
parentfd2cf7f9d9fa51540096ff5418cf652d0360cbbd
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.

llvm-svn: 166770
llvm/lib/Target/PowerPC/PPCInstr64Bit.td