The wrong relocation was being emitted for several SSSE3 instructions.
[oota-llvm.git] / lib / Target / X86 / X86InstrSSE.td
index f9330dc7d38fd07abdd9d742374c780c05400bc3..4a8b76651102f8dd416c6bcaf5006453a4f1356a 100644 (file)
@@ -4851,7 +4851,7 @@ multiclass SS3I_binop_rm_int<bits<8> opc, string OpcodeStr,
           (bitconvert (memopv16i8 addr:$src2))))]>, OpSize;
 }
 
-let Predicates = [HasAVX] in {
+let ImmT = NoImm, Predicates = [HasAVX] in {
 let isCommutable = 0 in {
   defm VPHADDW    : SS3I_binop_rm_int<0x01, "vphaddw", memopv8i16,
                                       int_x86_ssse3_phadd_w_128, 0>, VEX_4V;