From: Evan Cheng Date: Wed, 25 Oct 2006 21:35:05 +0000 (+0000) Subject: X86ISD::PEXTRW 3rd operand type is always target pointer type. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=009073d839b4d8b435d97aa95804eae43dddd844;p=oota-llvm.git X86ISD::PEXTRW 3rd operand type is always target pointer type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31185 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 43965dda790..c2fe9acb5b8 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -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),