From 0db8e640174c440d11884888536d5e622d05bc1e Mon Sep 17 00:00:00 2001 From: David Greene Date: Mon, 31 Jan 2011 20:39:01 +0000 Subject: [PATCH] Fix vector sign extend to put the source and destination types in the correct places. llvm-svn: 124601 --- lib/Target/CellSPU/SPUInstrInfo.td | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;