[PowerPC] Don't generate mfocrf on the e500mc
authorHal Finkel <hfinkel@anl.gov>
Wed, 25 Nov 2015 10:14:31 +0000 (10:14 +0000)
committerHal Finkel <hfinkel@anl.gov>
Wed, 25 Nov 2015 10:14:31 +0000 (10:14 +0000)
commitc585d3fb48f669cce389a468daf3e1a66424b6eb
treec125d02ee8c6da23fd6de92dc755325eab3901ff
parent3ae358fb22d11f4c9595d529d7227c1334496bc0
[PowerPC] Don't generate mfocrf on the e500mc

The e500mc does not actually support the mfocrf instruction; update the
processor definitions to reflect that fact.

Patch by Tom Rix (with some test-case cleanup by me).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254064 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPC.td
test/CodeGen/PowerPC/e500-1.ll [new file with mode: 0644]