diff options
-rw-r--r-- | lib/Target/X86/X86InstrInfo.td | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index d891a4e399..826ea41214 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... // |