Merge PPC instructions FMRS and FMRD into a single FMR instruction.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 26 Feb 2010 21:53:24 +0000 (21:53 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Fri, 26 Feb 2010 21:53:24 +0000 (21:53 +0000)
commitbaafcbb4dbbda50d5b811b6888c77fd64d073865
treeeaf73a74b34139f67e10cc739084f12e39ab09c3
parentf34ff01a7a92d20d3c0c118fbf557caceb764797
Merge PPC instructions FMRS and FMRD into a single FMR instruction.

This is possible because F8RC is a subclass of F4RC. We keep FMRSD around so
fextend has a pattern.

Also allow folding of memory operands on FMRSD.

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