diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 990faf677a2..7431a3c1748 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -2959,8 +2959,8 @@ def RDTSC : I<0x31, RawFrm, (ops), "rdtsc", [(X86rdtsc)]>, //===----------------------------------------------------------------------===// // GlobalAddress and ExternalSymbol -def : Pat<(i32 globaladdr:$dst), (MOV32ri globaladdr:$dst)>; -def : Pat<(i32 externalsym:$dst), (MOV32ri externalsym:$dst)>; +def : Pat<(i32 globaladdr:$dst), (MOV32ri tglobaladdr:$dst)>; +def : Pat<(i32 externalsym:$dst), (MOV32ri texternalsym:$dst)>; // Calls def : Pat<(X86call tglobaladdr:$dst),