mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-28 15:41:58 +00:00
Fix vector sign extend to put the source and destination types in the
correct places. llvm-svn: 124601
This commit is contained in:
parent
1d534245fc
commit
0db8e64017
@ -1167,10 +1167,10 @@ class XSHWRegInst<RegisterClass rclass>:
|
||||
[(set rclass:$rDest, (sext R16C:$rSrc))]>;
|
||||
|
||||
multiclass ExtendHalfwordWord {
|
||||
def v4i32: XSHWVecInst<v4i32, v8i16>;
|
||||
|
||||
def v4i32: XSHWVecInst<v8i16, v4i32>;
|
||||
|
||||
def r16: XSHWRegInst<R32C>;
|
||||
|
||||
|
||||
def r32: XSHWInRegInst<R32C,
|
||||
[(set R32C:$rDest, (sext_inreg R32C:$rSrc, i16))]>;
|
||||
def r64: XSHWInRegInst<R64C, [/* no pattern */]>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user