X86ISD::PEXTRW 3rd operand type is always target pointer type.
authorEvan Cheng <evan.cheng@apple.com>
Wed, 25 Oct 2006 21:35:05 +0000 (21:35 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 25 Oct 2006 21:35:05 +0000 (21:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31185 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td

index 43965dda7900fe5c74ffbfe70f8973ea2c0b460a..c2fe9acb5b8c14583b7daa1e1d864d10f310053e 100644 (file)
@@ -1580,7 +1580,7 @@ def PEXTRWri : PDIi8<0xC5, MRMSrcReg,
                     (ops GR32:$dst, VR128:$src1, i32i8imm:$src2),
                     "pextrw {$src2, $src1, $dst|$dst, $src1, $src2}",
                     [(set GR32:$dst, (X86pextrw (v8i16 VR128:$src1),
-                                     (i32 imm:$src2)))]>;
+                                     (iPTR imm:$src2)))]>;
 let isTwoAddress = 1 in {
 def PINSRWrri : PDIi8<0xC4, MRMSrcReg,
                      (ops VR128:$dst, VR128:$src1, GR32:$src2, i32i8imm:$src3),