diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index d891a4e3992..826ea412141 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -431,6 +431,9 @@ def MOV32mr : I<0x89, MRMDestMem, (ops i32mem:$dst, R32:$src), "mov{l} {$src, $dst|$dst, $src}", [(store R32:$src, addr:$dst)]>; +// Handling 1 bit load +def : Pat<(i1 (load addr:$src)), (MOV8rm addr:$src)>; + //===----------------------------------------------------------------------===// // Fixed-Register Multiplication and Division Instructions... //