From: David Greene Date: Mon, 31 Jan 2011 20:39:01 +0000 (+0000) Subject: Fix vector sign extend to put the source and destination types in the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9f08f60993a3a51db317a87dd6e8040af81ed306;p=oota-llvm.git Fix vector sign extend to put the source and destination types in the correct places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124601 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/CellSPU/SPUInstrInfo.td b/lib/Target/CellSPU/SPUInstrInfo.td index 6e6874c1400..25f6fd000b8 100644 --- a/lib/Target/CellSPU/SPUInstrInfo.td +++ b/lib/Target/CellSPU/SPUInstrInfo.td @@ -1167,10 +1167,10 @@ class XSHWRegInst: [(set rclass:$rDest, (sext R16C:$rSrc))]>; multiclass ExtendHalfwordWord { - def v4i32: XSHWVecInst; - + def v4i32: XSHWVecInst; + def r16: XSHWRegInst; - + def r32: XSHWInRegInst; def r64: XSHWInRegInst;